docs
Self-host & contribute
dev.nityar is a single Next.js app. Every tool is a module under lib/tools/<id>/ with pure logic, a server route (optional), and a React UI — strictly separated.
Run it locally
$ git clone git@github.com:nitya-ranjan/nityar-dev-tools.git $ cd nityar-dev-tools $ pnpm install $ pnpm dev # http://localhost:3000 $ pnpm run ci # lint + typecheck + test + build
Add a tool
- Scaffold
lib/tools/<id>/{index,server,ui,errors}.ts(x). - Keep
index.tspure — no React, no Node APIs. - Register the tool in
lib/tools/registry.ts. - Cover it: unit tests next to each file, one Playwright e2e under
tests/e2e/.
Keyboard
⌘K or /open command palette
↑ ↓navigate palette items
↵open highlighted
escclose palette