- Elixir 97.4%
- Shell 1.3%
- HTML 0.8%
- TypeScript 0.4%
- PowerShell 0.1%
| config | ||
| docs | ||
| lib | ||
| priv | ||
| scripts | ||
| test | ||
| .codex | ||
| .formatter.exs | ||
| .gitignore | ||
| .tool-versions | ||
| drafter.log | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| mise.toml | ||
| mix.exs | ||
| mix.lock | ||
| NYABICODE.md | ||
| ralph_loop.sh | ||
| README.md | ||
| todo.md | ||
Nyabicode
AI coding assistant CLI. Elixir/OTP, powered by nyabibara.
Install
curl -fsSL https://code.sftblw.moe/nyabia-public/nyabicode/raw/branch/main/scripts/install.sh | bash
Or specify install directory:
INSTALL_DIR=~/.local/bin curl -fsSL https://code.sftblw.moe/nyabia-public/nyabicode/raw/branch/main/scripts/install.sh | bash
Supported platforms
| OS | Architecture | Binary |
|---|---|---|
| Linux | x86_64 | nyabicode_linux_x86_64 |
| Linux | aarch64 | nyabicode_linux_aarch64 |
| macOS | x86_64 | nyabicode_macos_x86_64 |
| macOS | aarch64 (Apple Silicon) | nyabicode_macos_aarch64 |
Manual download
Binaries are available on the releases page.
Usage
nyabicode # interactive TUI
nyabicode -p "explain this code" # one-shot prompt
nyabicode -m anthropic/claude-sonnet-4-6 # select model
nyabicode --help # all options
Interactive commands:
/todo # show the current update_plan checklist
/skills # list available skills from .codex/.claude/.nyabicode
/skills commit # inspect a specific skill
/hooks # list loaded hooks, including Claude-compatible hooks
Compatibility surfaces:
- Codex-style tools:
update_plan,request_user_input, persistent subagents - Claude-compatible skills:
.claude/skills/**/SKILL.md - Codex-compatible skills:
.codex/skills/**/SKILL.md - Hook discovery from
.nyabicode/hooks,.claude/hooks,.codex/hooks - Claude hook config reuse from
.claude/settings.jsonand.claude/settings.local.json
Login
nyabicode login anthropic # Claude Max/Pro (OAuth)
nyabicode login openai_codex # ChatGPT Codex subscription (OAuth)
nyabicode login openai --api-key # OpenAI API key
nyabicode login openrouter # OpenRouter API key
Build from source
Requires Elixir 1.18+, Erlang/OTP 28+, and Rust/Cargo.
git clone https://code.sftblw.moe/nyabia-public/nyabicode.git
cd nyabicode
mise install
mix deps.get
mix escript.build # -> ./nyabicode
# Run locally with web UI against a parent workspace
mix nyabicode --web --cd ..
ex_ratatui is built from source, so Rust/Cargo must be available when running
mix compile, mix test, or mix escript.build.
For standalone native binaries (requires zig 0.15.2 and Rust/Cargo):
MIX_ENV=prod mix release # -> burrito_out/
To rebuild Burrito binaries from HEAD and replace the attachments on the
current latest Forgejo release:
./scripts/release_latest.sh --username YOUR_FORGEJO_USER --password YOUR_FORGEJO_PASSWORD
Or with an API token:
./scripts/release_latest.sh --token YOUR_FORGEJO_TOKEN
The script expects a clean worktree by default. If you intentionally want to
build from the current HEAD commit while leaving unrelated local changes
uncommitted, pass --allow-dirty.
License
MIT + Apache-2.0 dual license. See LICENSE-MIT and LICENSE-APACHE.