
Security News
pnpm 11.10 Hardens Registry Authentication to Block Token Redirection
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.
practicode
Advanced tools
Personal coding practice, right in your terminal.
practicode is a small Rust TUI for stdin/stdout practice: problem on the left, code on the right, judge loop in the same terminal.
npm install -g practicode
practicode
cargo install practicode
practicode
git clone https://github.com/baba9811/practicode.git
cd practicode
npm install
npm start
The code editor starts focused.
write code
Esc, then /
choose /run
choose /next when it passes
Typing / outside the editor opens the command palette. Use up/down to move, Enter to run or complete the selected command, and Esc to cancel.
Submissions are saved as you type under submissions/<problem-id>/solution.<ext>.
| Command | Action |
|---|---|
/run | Judge the current submission |
/code | Return to the code editor |
/next | Open the next local problem, or ask AI to create one |
/next easy string problem | Ask AI for a custom next problem |
/prev | Go back through problem history |
/list | Browse problems with up/down or j/k, open with Enter |
/open 2 | Open by number, id, or slug |
/giveup | Show the reference answer |
/hint | Ask the selected AI for a concise hint |
/hint explain my bug | Ask the selected AI about the current problem and submission |
/provider codex | Set AI provider and show local CLI/daemon status |
/model auto | Use the provider default model for /hint and AI-backed /next |
/note prefer hashmap practice | Append a standing note for future problem generation |
/notes | Show your local next-problem notes |
/lang python | Set code language: python, ts, java, rust |
/ui en | Set UI language: en, ko, ja, zh, es |
/theme dark | Set theme: dark or light |
/update | Show update instructions when a newer version is available |
/exit | Quit |
The default UI language is English. Switch it any time with /ui ko, /ui ja, /ui zh, or /ui es.
/next <request> passes your request into the selected AI problem generator.
/next a slightly harder string problem
/next hashmap practice, easy
/next sorting problem, no graph yet
Codex is the default provider:
/provider codex
/model auto
Claude Code is also supported:
/provider claude
/model sonnet
Generated problems and submissions stay local:
| Path | Purpose |
|---|---|
.practicode/problem_bank.json | Local/custom/generated problems |
.practicode/problem_notes.md | Optional personal problem-generation notes |
.practicode/problem-state.json | Current problem, history, settings |
problems/ | Generated problem markdown/index files |
submissions/ | Your answer files |
Those paths are ignored by git, so your practice history stays yours.
The app checks for newer npm releases in the background and shows /update in the status line when one is available. Disable that check with PRACTICODE_NO_UPDATE_CHECK=1.
npm update -g practicode
cargo install --force practicode
/run executes your local submission as a normal process. practicode runs it from .practicode/build/<problem-id>/run, but this is not an OS sandbox. Only run code you trust.
External contributions use the fork and pull request flow in docs/CONTRIBUTING.md.
Maintainer-only review and release notes live in docs/MAINTAINING.md.
practicode is MIT licensed. Third-party dependency license notes are in THIRD_PARTY_LICENSES.md.
FAQs
Local-first coding-test practice in a Rust terminal UI with optional AI help.
The npm package practicode receives a total of 2,701 weekly downloads. As such, practicode popularity was classified as popular.
We found that practicode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.

Security News
/Research
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.