JSPM

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

Nexora Lab — Dual-mode AI Chat + Coding Agent CLI with SQLite memory and BYOK

Package Exports

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

    Readme

    Nexora Lab

    Professional multi-model AI terminal — Gemini-style UI, conversation memory, smart auto-routing. Zero dependencies. No Node.js required.


    Install

    Linux / macOS

    curl -fsSL https://lab.getnexora.cloud/install.sh | bash

    Windows (PowerShell)

    powershell -c "irm https://lab.getnexora.cloud/install.ps1 | iex"

    npm (requires Node.js 20+)

    npm install -g nexora-lab

    From source

    git clone https://github.com/enochboadu/nexora-lab
    cd nexora-lab
    npm install
    npm start

    Uninstall

    Nexora Lab provides multiple uninstallation methods with intelligent data cleanup options.

    The simplest way — works cross-platform without downloading scripts:

    nexora uninstall

    This will:

    1. ✓ Find your installation automatically
    2. ✓ Ask if you want to keep or delete your data
    3. ✓ Remove the binary and optionally your configuration/history
    4. ✓ Clean up Windows PATH registry (Windows only)

    Using Standalone Scripts

    Linux / macOS

    curl -fsSL https://lab.getnexora.cloud/uninstall.sh | bash

    Windows (PowerShell)

    powershell -c "irm https://lab.getnexora.cloud/uninstall.ps1 | iex"

    npm Uninstall

    If you installed via npm:

    npm uninstall -g nexora-lab

    Note: npm uninstall removes the binary only. Configuration and conversation history are preserved at ~/.config/nexora-lab and ~/NexoraLab.

    Manual Uninstall

    Linux / macOS

    # Remove binary
    rm /usr/local/bin/nexora
    # or if installed to ~/.local/bin:
    rm ~/.local/bin/nexora
    
    # Optional: Remove all data
    rm -rf ~/.config/nexora-lab        # Configuration & API key
    rm -rf ~/NexoraLab                 # Database & conversation history

    Windows (PowerShell as Administrator)

    # Remove binary
    Remove-Item "$env:LOCALAPPDATA\NexoraLab\bin\nexora.exe" -Force
    
    # Remove from PATH (PowerShell as Admin)
    $UserPath = [Environment]::GetEnvironmentVariable("Path", "User")
    $NewPath = ($UserPath -split ';' | Where-Object { $_ -ne "$env:LOCALAPPDATA\NexoraLab\bin" }) -join ';'
    [Environment]::SetEnvironmentVariable("Path", $NewPath, "User")
    
    # Optional: Remove all data
    Remove-Item "$env:APPDATA\nexora-lab" -Recurse -Force           # Configuration & API key
    Remove-Item "$env:LOCALAPPDATA\NexoraLab" -Recurse -Force       # Database & conversation history

    Data Preservation

    By default, the uninstall wizard keeps your data:

    • ✓ API key is preserved
    • ✓ Conversation history remains
    • ✓ Model preferences saved
    • ✓ You can reinstall and continue where you left off

    Choose "Yes" during uninstall to delete everything for a clean removal.


    Requirements

    • A free OpenRouter API key — Nexora Lab will prompt you on first launch.
    • No Node.js needed when using the binary installer. The binary is fully self-contained.

    Commands

    Command Description
    /models List models and select one
    /auto Toggle smart auto-model routing on/off
    /reset Clear conversation memory (start fresh)
    /setup Re-run the API key setup wizard
    /clear Redraw the full UI
    /help Show command reference
    exit Quit Nexora Lab

    Available Models

    # Model Type Auto-routed for
    1 DeepSeek Chat chat General (default)
    2 Qwen3 235B chat
    3 NVIDIA Nemotron 30B chat
    4 Qwen3 30B chat
    5 GPT-4o Mini chat
    6 Qwen3 Coder completion Code & programming
    7 Google Gemma 3 12B chat
    8 Mistral 7B Instruct chat
    9 Llama 3.1 8B Instruct chat

    Auto-select (default) routes coding questions to Qwen3 Coder and everything else to DeepSeek Chat.


    Project Structure

    nexora-lab/
    ├── .github/workflows/
    │   └── release.yml          ← Auto-builds 5 binaries on git tag push
    ├── src/
    │   ├── index.js             ← Entry point
    │   ├── commands/
    │   │   ├── chat.js          ← REPL loop, memory, spinner, auto-routing
    │   │   ├── config.js        ← First-run setup, API key validation
    │   │   ├── uninstall.js     ← Uninstallation wizard
    │   │   └── models.js        ← Model registry + interactive picker
    │   └── utils/
    │       ├── ui.js            ← Pixel logo, gradient, all UI chrome
    │       ├── api.js           ← OpenRouter client
    │       ├── history.js       ← Conversation memory
    │       └── store.js         ← Persistent config storage
    ├── packaging/
    │   ├── install.sh           ← Linux/macOS installer (served by Vercel)
    │   ├── install.ps1          ← Windows installer (served by Vercel)
    │   ├── uninstall.sh         ← Linux/macOS uninstaller (served by Vercel)
    │   └── uninstall.ps1        ← Windows uninstaller (served by Vercel)
    ├── vercel-site/
    │   ├── public/
    │   │   ├── index.html       ← Landing page at lab.getnexora.cloud
    │   │   ├── install.sh       ← Served at lab.getnexora.cloud/install.sh
    │   │   ├── install.ps1      ← Served at lab.getnexora.cloud/install.ps1
    │   │   ├── uninstall.sh     ← Served at lab.getnexora.cloud/uninstall.sh
    │   │   └── uninstall.ps1    ← Served at lab.getnexora.cloud/uninstall.ps1
    │   └── vercel.json          ← Content-type headers config
    ├── sea-config.json          ← Node.js SEA binary config
    └── package.json

    Releasing a new version

    git add .
    git commit -m "feat: your changes"
    git tag v1.1.0
    git push && git push --tags

    GitHub Actions will automatically:

    1. Bundle the code with esbuild
    2. Build self-contained binaries for all 5 platforms
    3. Publish a GitHub Release with all binaries attached
    4. The install scripts always pull /releases/latest/download/ so users get the new version automatically

    Setting up the Vercel distribution site

    1. Create a new Vercel project and import vercel-site/ as the root
    2. In Vercel project settings → Domains → add lab.getnexora.cloud
    3. In your DNS (wherever getnexora.cloud is managed), add a CNAME:
      lab  →  cname.vercel-dns.com
    4. Deploy. The scripts are now live at:
      • https://lab.getnexora.cloud/install.sh
      • https://lab.getnexora.cloud/install.ps1

    When you update the installer scripts, copy them to vercel-site/public/ and push — Vercel redeploys in ~10 seconds.


    Config storage

    OS Path
    Linux ~/.config/nexora-lab/config.json
    macOS ~/Library/Preferences/nexora-lab/
    Windows %APPDATA%\nexora-lab\config.json

    License

    MIT © Enoch Boadu