Template for Roblox projects.
Find a file Use this template
marked efd2da8ece
All checks were successful
CI / Lint (push) Successful in 13s
CI / Styling (push) Successful in 10s
CI / Analyze (push) Successful in 18s
chore: Update README.md with features and usage.
2024-11-11 21:04:44 +01:00
.forgejo/workflows fix: Manually run stylua, stylua-action is broken when trying to use on forgejo actions 2024-11-11 20:08:42 +01:00
.lune Initial push 2024-11-11 19:35:24 +01:00
.pesde Initial push 2024-11-11 19:35:24 +01:00
.zed Initial push 2024-11-11 19:35:24 +01:00
src Initial push 2024-11-11 19:35:24 +01:00
.darklua.json Initial push 2024-11-11 19:35:24 +01:00
.gitignore Initial push 2024-11-11 19:35:24 +01:00
.luaurc Initial push 2024-11-11 19:35:24 +01:00
.styluaignore Initial push 2024-11-11 19:35:24 +01:00
build.project.json Initial push 2024-11-11 19:35:24 +01:00
default.project.json Initial push 2024-11-11 19:35:24 +01:00
luau_lsp_settings.json Initial push 2024-11-11 19:35:24 +01:00
net.blink Initial push 2024-11-11 19:35:24 +01:00
pesde.lock Initial push 2024-11-11 19:35:24 +01:00
pesde.toml Initial push 2024-11-11 19:35:24 +01:00
README.md chore: Update README.md with features and usage. 2024-11-11 21:04:44 +01:00
rokit.toml Initial push 2024-11-11 19:35:24 +01:00
selene.toml Initial push 2024-11-11 19:35:24 +01:00
selene_definitions.yaml Initial push 2024-11-11 19:35:24 +01:00
stylua.toml Initial push 2024-11-11 19:35:24 +01:00

roblox-project-template

An opinionated template for Roblox projects.

Usage

Forgejo

Create a secret on the repository called githubtoken and set it to a GitHub PAT which can read all public repositories. This is necessary so that actions pulling releases from GitHub can do it without ratelimits.

Available on my Forgejo instance.

GitHub

Rename .forgejo to .github and change all instances of ${{ secrets.githubtoken }} to ${{ secrets.GITHUB_TOKEN }}.

You may also migrate all steps to ubuntu-latest from ghcr.io/catthehacker/ubuntu:act-22-04 running on docker.

Available as a read-only fork.

Features

  • Forgejo actions, compatible with GitHub actions with a few changes.
    • CI to analyze, lint and style check your code.
  • rokit, a toolchain manager.
  • darklua, a Lua(u) code transformer, here used to provide string requires.
  • Rojo, a code syncing tool.
  • Lune, a Luau runtime and a multitude of scripts for it.
    • dev.luau to generate the sourcemap, transform the code with darklua, serve it with Rojo, automatically install packages, compile your networking and provide an easy way to commit & push code.
    • analyze.luau to analyze your code with luau-lsp.
    • build.luau to transform your code with darklua and build it with Rojo.
    • check.luau to run StyLua, selene and luau-lsp on your code at once.
    • install-packages.luau to install packages. Kept in case of needing to switch to wally.
  • StyLua, an opinionated Luau formatter.
  • selene, a Lua(u) linter.
  • pesde, a modern package manager for Luau and Roblox.
  • luau-lsp, a language server implementation for Luau.
  • blink, an IDL compiler for Roblox buffer networking.
  • zed configuration for optimal experience during development.
  • sapphire, a Roblox framework.