No description
  • Go 87.5%
  • JavaScript 8.6%
  • HTML 2.4%
  • Nix 1.5%
Find a file
2026-07-18 13:47:48 +00:00
example Use goroutines to push messages to channels, fix debouncer 2026-02-24 14:27:31 +00:00
process Minor log changes 2026-06-24 13:47:36 +00:00
state Rework basically everything 2026-02-24 01:28:52 +00:00
test Add builder test 2026-06-24 13:48:03 +00:00
ui Show builder output, even if they don't parse 2026-03-04 04:08:33 +00:00
.air.toml Switch to zerolog, start writing by hand 2026-02-19 13:54:48 +00:00
.gitignore Use goroutines to push messages to channels, fix debouncer 2026-02-24 14:27:31 +00:00
.prettierrc make pretty JS, add exponential backoff retry 2026-02-20 19:24:03 +00:00
builder.go Add FLOGO_BUILD_CMD env var for custom build commands 2026-07-18 13:27:09 +00:00
debouncer.go Use goroutines to push messages to channels, fix debouncer 2026-02-24 14:27:31 +00:00
default.nix Add air 2026-02-13 18:05:27 +00:00
flake.lock Update flake inputs to sync with nidus 2026-06-24 08:50:51 -05:00
flake.nix Rework common behavior between builder and runner 2026-02-20 22:39:17 +00:00
go.mod Use a good library for parsing ANSI color codes. 2026-02-20 07:07:41 +00:00
go.sum Use a good library for parsing ANSI color codes. 2026-02-20 07:07:41 +00:00
index.html Add SSE to push information about what's going on. 2026-02-13 19:00:07 +00:00
injector.js Show build failures in browser on failure 2026-02-20 19:38:59 +00:00
lefthook.yml Add prettier to our workflow 2026-02-20 19:22:47 +00:00
LICENSE Initial commit 2026-02-08 14:55:16 -07:00
log.go Rework basically everything 2026-02-24 01:28:52 +00:00
main.go Rework basically everything 2026-02-24 01:28:52 +00:00
README.md Add FLOGO_BUILD_CMD env var for custom build commands 2026-07-18 13:27:09 +00:00
runner.go Remove some debug logs 2026-02-24 14:40:45 +00:00
state.go Minor log changes 2026-06-24 13:47:36 +00:00
upstream.go Break apart upstream and webserver features 2026-02-13 18:46:45 +00:00
watcher.go Use goroutines to push messages to channels, fix debouncer 2026-02-24 14:27:31 +00:00
webserver.go Minor log changes 2026-06-24 13:47:36 +00:00

Flogo

flogo is a small binary for doing quick edit-compile-test loops with go programs. It's opninionated and avoids having complex configuration. There are obviously lots of other tools in this space. Here's what sets flogo apart:

Project Differences
realize Realize has a complex YAML config, supports multiple projects, and hasn't had a release since 2018
air Stops binary, then builds, then starts
fresh Shows errors in the web browser
CompileDaemon Very simple, watches for file changes and compiles.

Features

  • When it starts it doesn't build if the previous binary is the same
  • Shows build errors in the console, and in the browser

Configuration

Flogo can be configured through environment variables:

Variable Default Description
FLOGO_BUILD_CMD go build . The command used to build the project. Useful for passing build tags or other flags. Example: FLOGO_BUILD_CMD="go build -tags tiff ."
FLOGO_BIND :10000 Address the web server listens on
FLOGO_UPSTREAM http://localhost:9001 Upstream URL for reverse proxying
FLOGO_UI tcell UI type (tcell or flat)