CLI to move faster in software projects
- Run
task setupto install dependencies (preferring Bun, falling back to npm). - Run
task deployto compile the Bun entrypoint, copy the resulting binary to~/bin/fast, and optionally add~/binto your shell'sPATH.
task deploy also:
- regenerates
readme.install.mdwith the latestfast --helpoutput. - writes
~/.config/fish/conf.d/fast-dot.fish(when Fish is present) so. tasksexecutesfast taskswhile still allowing. ./env.fishstyle sourcing.
Running fast --help prints the built-in help. Running fast with no arguments opens an fzf-powered palette (if fzf is available in your terminal); otherwise it falls back to the help text.
fast commit/fast commitPush— use GPT-5 nano to propose a commit message, create the commit, and push the branch. RequiresOPENAI_API_KEY.fast dbOpen/fast dbClear— open or wipe the local SQLite database using the TablePlus app.fast update— update Bun dependencies and pull the latest git changes.fast setup— validate secrets listed in1f.tomland run thetasks.setupcommand list.fast tasks— enumerate the commands defined under[tasks.*]in1f.toml.fast chat— OpenTUI powered GPT chat window for quick prompts (also requiresOPENAI_API_KEY).fast version— print the CLI version declared in1f.toml.
fast reads 1f.toml at startup:
[app]fields override the CLI name, description, and version.[secrets.*]entries describe environment variables thatfast setupvalidates before running any setup commands.[tasks.*]entries turn into reusable commands. In this repo they expose:fast dev— runbun dev.fast script— runbun --watch scripts/run.ts.
Add additional tasks by editing 1f.toml; the next invocation of fast automatically surfaces them under fast tasks.
fast chat launches an OpenTUI session with these bindings:
Entersends your prompt,Shift+Enterinserts a newline,Esc/Ctrl+Ccloses the session.- Responses stream back with color-coded roles.
- You must export
OPENAI_API_KEY(same requirement asfast commit).
When Fish is installed, rerunning task deploy refreshes ~/.config/fish/conf.d/fast-dot.fish. After sourcing that file:
- Typing
. tasksexecutes the compiledfastbinary (fast tasks). - Typing
. ./envor. ~/script.fishstill performs the originalsourceworkflow. - Remove or edit the generated file to disable or customize the shortcut.