Skip to content
flushwhyPublic

About

fe is a tool to make gamedev easier

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Fe

Fe is a local CLI that connects your game or software project to its existing tools. It helps scaffold projects, run configured builds, export Godot projects, prepare assets, and publish builds.

Install

Download the latest release for your platform from the GitHub releases page.

Linux

Debian and Ubuntu users can install the matching .deb package:

sudo apt install ./fe_VERSION_amd64.deb

Or install a standalone binary:

curl -L https://github.com/flushwhy/fe/releases/latest/download/fe-linux-amd64 -o fe
chmod +x fe
sudo mv fe /usr/local/bin/

macOS

Install with Homebrew:

brew tap flushwhy/tap
brew install fe

Or download the standalone macOS binary from the releases page.

Build from source

go install github.com/flushwhy/fe@latest

Quick start

fe init go --name my-game
cd my-game
# Edit .fe.yaml for your project.
fe build
fe release

Project templates are downloaded from the fe-templates repository and cached locally.

Project configuration

Fe reads an optional .fe.yaml file from the project directory. For example:

itchio:
  username: ""
  game: ""

butler:
  directory: "builds"

godot:
  executable: "godot"
  output_dir: "builds"

pack:
  input: "assets/sprites"
  output: "assets/spritesheet.png"

build:
  targets:
    - name: linux-release
      platform: linux-x64
      cmd: "gcc -o builds/linux-x64/game src/main.c"
    - name: windows-release
      platform: windows-x64
      cmd: "x86_64-w64-mingw32-gcc -o builds/windows-x64/game.exe src/main.c"

Configuration values can also be supplied through environment variables. Environment variables take priority over .fe.yaml, followed by Fe's conventions and defaults.

Common commands

Command Purpose
fe init Create a project from a template.
fe setup Read-only check of required and optional project tools.
fe build Run configured build targets.
fe export Export configured Godot presets.
fe pack Pack sprites into a spritesheet.
fe transcode Convert audio and video with FFmpeg.
fe bmp Upload build output to itch.io with Butler.
fe release Run the configured release workflow.
fe validate Validate project configuration.
fe doctor Diagnose local tools and configuration.
fe inspect Detect project types and ecosystem markers.
fe project status --json Report project context for editor integrations.
fe preflight Inspect toolchains and run configured checks.
fe sync Sync Fe-managed project files and required local tools.
fe clean Remove Fe-managed files and registrations.
fe add Configure editor and language-server tooling.
fe install Install Odin source packages.
fe check Run available language-aware static analyzers.
fe manifest Write an artifact inventory and SHA-256 checksums.
fe package Archive build artifacts as ZIP or tar.gz.
fe changelog Generate release notes from Git history and tags.
fe fix compile-commands Repair C/C++ compilation databases for clangd.

Run fe --help or fe <command> --help for the available options.

Editor integration

fe project status --json returns the current Fe project context for editors and other tools. Its output includes a schema_version so integrations can validate the response before using it:

{
  "schema_version": 1,
  "fe_version": "1.0.0",
  "project": {
    "configured": true,
    "root": "/path/to/project",
    "config_file": "/path/to/project/.fe.yaml"
  }
}

When no project-local configuration is found, configured is false and both paths are empty strings. The command is read-only and never installs tools or changes project files.

Godot projects

Configure export presets in Godot and commit export_presets.cfg. Fe can export all configured presets or a selected preset:

fe export --list-presets
fe export
fe export --preset "Windows Desktop"

Godot must be available on your PATH, or configured with godot.executable. Matching export templates and platform requirements must also be installed.

Build output

Fe expects platform-specific build output under builds/ when publishing with Butler:

builds/
├── windows-x64/
├── linux-x64/
└── macos-arm64/

Dependencies

Fe uses existing tools rather than replacing them. Install the tools required by your project separately.

Command Requires
fe bmp Butler
fe transcode FFmpeg
fe build The compiler or build system used by your targets

Releases

See the getting started guide for a rebuildable project workflow, and the release checklist for the stable release process.

License

GPL-3.0

About

fe is a tool to make gamedev easier

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages