JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 65
  • Score
    100M100P100Q90696F
  • License MIT

AI coding assistant for your terminal.

Package Exports

  • nightcode
  • nightcode/dist/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 (nightcode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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 | bash

Windows

powershell -c "irm bun.sh/install.ps1 | iex"

Verify the installation:

bun --version

Installation

Install NightCode globally using npm.

npm install -g nightcode

Verify the installation.

nightcode --version

Usage

Navigate to any project.

cd my-project

Start NightCode.

nightcode

You 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 nightcode

Uninstall

npm uninstall -g nightcode

Technology 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