Package Exports
- seleman-code
- seleman-code/dist/cli/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (seleman-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Dr-Code v1.1
AI Terminal Coding Assistant - No Login Required
Install
npm install -g seleman-codeQuick Start
# Configure your API key
dr-code config
# Start interactive TUI
dr-code
# One-liner mode
dr-code "create a python script that prints hello"
# Code review
dr-code review
# Debug an error
dr-code debug "TypeError: Cannot read property"
# Explain code
dr-code explain src/index.tsFeatures
- Interactive chat TUI with streaming responses
- Multiple AI providers: GitHub, Google, OpenRouter, Groq, Hugging Face
- Code review, debugging, and explanation modes
- File-aware context
- No login or authentication required
- API keys encrypted at rest
API Providers
| Provider | Command | Get Key |
|---|---|---|
| GitHub Models | dr-code config add github |
github.com/marketplace/models |
| Google AI Studio | dr-code config add google |
aistudio.google.com |
| OpenRouter | dr-code config add openrouter |
openrouter.ai/keys |
| Groq | dr-code config add groq |
console.groq.com/keys |
| Hugging Face | dr-code config add huggingface |
huggingface.co/settings/tokens |
Keyboard Shortcuts
/help- Show help/model- Switch model/provider- Switch provider/status- Show status/clear- Clear screen/quit- ExitCtrl+C- Cancel/ExitCtrl+L- Clear screen↑- Previous prompt
License
MIT