No description
- Go 87.5%
- JavaScript 8.6%
- HTML 2.4%
- Nix 1.5%
|
|
||
|---|---|---|
| example | ||
| process | ||
| state | ||
| test | ||
| ui | ||
| .air.toml | ||
| .gitignore | ||
| .prettierrc | ||
| builder.go | ||
| debouncer.go | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| go.sum | ||
| index.html | ||
| injector.js | ||
| lefthook.yml | ||
| LICENSE | ||
| log.go | ||
| main.go | ||
| README.md | ||
| runner.go | ||
| state.go | ||
| upstream.go | ||
| watcher.go | ||
| webserver.go | ||
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) |