nightcode
v1.0.7
Published
AI coding assistant for your terminal.
Maintainers
Readme
NightCode
AI-powered coding assistant for your terminal.
NightCode helps you understand code, generate implementations, debug issues, explain errors, and interact with your projects without leaving the terminal.
Features
- AI-powered terminal assistant
- Interactive chat interface
- Secure authentication with Clerk
- Persistent chat sessions
- Multiple AI model support
- Modern terminal UI
- Cross-platform support (Windows, macOS, Linux)
Requirements
Before installing NightCode, make sure you have:
- Node.js 20 or later
- Bun 1.2 or later
Install Bun
macOS / Linux
curl -fsSL https://bun.sh/install | bashWindows
powershell -c "irm bun.sh/install.ps1 | iex"Verify the installation:
bun --versionInstallation
Install NightCode globally using npm.
npm install -g nightcodeVerify the installation.
nightcode --versionUsage
Navigate to any project.
cd my-projectStart NightCode.
nightcodeYou can now ask coding questions, generate code, debug issues, and work directly inside your terminal.
Authentication
Login to your NightCode account.
/login
A browser window will open for authentication.
After completing authentication, return to your terminal.
Example
> Explain the architecture of this project.
> Add JWT authentication.
> Fix the TypeScript errors.
> Refactor this component.
> Create an Express API.Updating
Update to the latest version.
npm update -g nightcodeUninstall
npm uninstall -g nightcodeTechnology Stack
- Bun
- TypeScript
- React
- OpenTUI
- Hono
- Clerk
- Railway
- AI SDK
Roadmap
- File editing
- Git integration
- Project indexing
- Local model support
- Plugin system
- Native executable distribution
License
MIT
Repository
https://github.com/amanjais123/nightcode
