Repository navigation
Home
github-actions[bot] edited this page May 21, 2026
·
11 revisions
Tend your croft.
Croft is a per-project dev-loop tool. One croft.toml declares
Docker Compose services, scripts, git hooks, and agent
instructions for a single project. Your stack runs the way your
project runs it — the tool fits the project, not the other way
around.
- Site: croft.sh
- Status: alpha. End-to-end usable on Linux and macOS for the features documented here.
cargo install --path . # from a clone
cd my-project
croft init # generate a starter croft.toml
croft # open the TUI dashboardA minimal croft.toml:
[project]
name = "myapp"
[runtime]
backend = "compose"
default_service = "app"
[command.up]
desc = "Start all services"
run = "docker compose up -d"
[command.test]
desc = "Run test suite"
needs = ["up"]
in = "app"
run = "composer test"
forward_args = true
[hooks]
pre-commit = ["check"]Then:
croft up # docker compose up -d
croft test --filter Login # forwards to composer test
croft hooks install # writes .git/hooks/pre-commit
croft # TUI dashboard with every recipe + service-
New here? → Getting Started: install,
croft init, your first recipe and hook. - Want the tour? → Quick Tour: a guided 5-minute walk through recipes, hooks, agents, and the TUI.
-
Need the reference? →
Configuration Reference for every
croft.tomlkey, Commands Reference for every CLI subcommand.
-
Recipes and Scripts — declarative
TOML vs
.croft/commands/shell scripts. -
Environments —
[env], dotenv layering,base + offsetarithmetic. - Container Backends — compose / docker / podman / none, passthrough resolution.
- Non Container Services — system daemons alongside compose.
- Worktrees — slug + offset, per-worktree isolation, dotenv writer.
-
Hooks — git hook installer +
.pre-commit-config.yamlrunner. - Agents — sync agent instructions / skills from upstream repos.
-
Install Flow —
.croft/install/ordered setup steps with state + resume. - TUI — the embedded dashboard.
- Diff View — branch-review surface pinned to the trunk merge-base.
- Watch — re-run a recipe on filesystem change.
-
Shell Library —
croft lib ask|confirm|…prompts for shell scripts.
-
Configuration Reference — every
croft.tomlkey. - Commands Reference — every CLI subcommand.
-
Examples — runnable croft projects under
examples/. -
Troubleshooting —
croft doctor, common pitfalls.
- Architecture — operating principles, crate layout.
- Contributing — verification ladder, commit conventions, how to send a PR.
croft is dual-licensed under MIT or Apache 2.0. Source: github.com/nsrosenqvist/croft. Back to Home.