npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zenith-labs/cli

v1.0.8

Published

The next-generation terminal-first developer workspace powered by Gemini

Readme

@zenith-labs/cli 🚀


✨ Overview

Zenith CLI is a modern, AI-powered developer workspace that lives entirely inside your terminal.

Powered by Google Gemini, Zenith combines conversational AI, intelligent tool execution, and autonomous project generation into a single CLI experience. Whether you're asking questions, searching the web, executing code, or scaffolding an entire application, Zenith keeps your workflow fast, interactive, and terminal-first.


🚀 Features

🤖 AI Chat

Have natural conversations with Google's Gemini models directly from your terminal with beautiful Markdown rendering.


🛠️ AI Tool Calling

Give Gemini access to powerful developer tools whenever you need them.

Available tools include:

  • 🌐 Google Search
  • 🐍 Python Code Execution
  • 🔗 URL Content Analysis
  • 🗺️ Google Maps Search

🚀 Autonomous Agent Mode

Generate complete applications from a single prompt.

Zenith automatically:

  • Creates folders
  • Generates source files
  • Writes project structure
  • Produces README files
  • Provides setup instructions

Example:

Build a Weather App using HTML, Tailwind CSS and JavaScript.

Zenith generates the complete project inside your current directory.


🔐 Secure Authentication

Authenticate using GitHub OAuth Device Flow powered by Better Auth.

Your credentials are securely stored locally after authentication.


⚡ Production Architecture

  • Express Backend
  • Better Auth
  • Gemini API
  • Device Authorization Flow
  • Secure Session Management
  • Conversation Synchronization

📦 Installation

Install Zenith globally using npm.

npm install -g @zenith-labs/cli

After installation, verify that everything is working correctly.

zenith --version

Example:

v1.0.7

🔑 Configure Gemini API

Zenith requires a Google Gemini API Key.

Create one from:

https://aistudio.google.com/apikey

After generating your API key, configure it as an environment variable.

Linux / macOS

export GOOGLE_GENERATIVE_AI_API_KEY="YOUR_API_KEY"

Add the above command to:

  • .bashrc
  • .zshrc
  • .profile

if you want it to persist across terminal sessions.


Windows (PowerShell)

Create a System Environment Variable:

Name

GOOGLE_GENERATIVE_AI_API_KEY

Value

YOUR_API_KEY

or temporarily for the current session:

$env:GOOGLE_GENERATIVE_AI_API_KEY="YOUR_API_KEY"

Optional Environment Variables

| Variable | Default | | ---------- | ---------- | | ZENITH_MODEL | gemini-2.5-flash | | ZENITH_TEMPERATURE | 0.7 | | ZENITH_MAX_TOKENS | 2048 |


🔐 Login

Before using Zenith, authenticate your account.

zenith login

Zenith uses GitHub OAuth Device Authorization Flow.

The login process:

  1. Generates a device code.
  2. Opens your browser.
  3. Sign in with GitHub.
  4. Approve the authorization.
  5. Return to the terminal.
  6. Zenith automatically completes authentication.

Example:

◇ Zenith CLI Login

Requesting device authorization...

Visit:

https://your-server.com/device

Enter Code:

ABCD-1234

Opening browser...

Waiting for authorization...

✅ Login Successful

🚀 Start Zenith

Launch the interactive workspace.

zenith wakeup

You'll be presented with three AI modes.


💬 Chat Mode

Talk directly with Gemini.

Perfect for:

  • Programming questions
  • Debugging
  • Learning
  • Explanations
  • Code generation

Exit anytime with:

exit

or

Ctrl + C

🛠️ Tool Calling Mode

Enable intelligent tools that Gemini can use automatically while answering.

Available tools include:

  • 🌐 Google Search
  • 🐍 Python Execution
  • 🔗 URL Context
  • 🗺️ Google Maps

Zenith will ask which tools you want to enable before starting the session.


🤖 Agent Mode

The most powerful mode.

Describe the application you want.

Example:

Build a Todo App using React and Tailwind CSS.

Zenith automatically:

  • Creates folders
  • Generates code
  • Installs project structure
  • Writes configuration
  • Creates README
  • Explains how to run the project

Example output:

📁 todo-app/

✓ package.json
✓ README.md
✓ src/
✓ public/

✨ Project generated successfully.

👤 View Current Account

Check the currently authenticated account.

zenith whoami

Example:

Logged in as

👤 John Doe

✉️ [email protected]

🚪 Logout

Remove your local authentication.

zenith logout

This removes your saved credentials and signs you out of Zenith.


📚 Commands

| Command | Description | |----------|-------------| | zenith --version | Show installed version | | zenith login | Login using GitHub Device Flow | | zenith wakeup | Launch Zenith AI | | zenith whoami | View authenticated account | | zenith logout | Logout and clear credentials |


🏗️ Built With

  • Google Gemini
  • TypeScript
  • Node.js
  • Better Auth
  • Express
  • Commander.js
  • Chalk
  • Ora
  • Markdown Rendering

⚠️ Beta

Zenith CLI is currently in Beta.

Features, commands, APIs, and behaviors may change as development continues. Feedback, bug reports, and contributions are highly appreciated.


📄 License

MIT License © 2026 Rajarshi Chakraborty

See the LICENSE file for more information.


🤝 Contributing

Contributions are always welcome!

If you'd like to improve Zenith CLI, feel free to fork the repository, open a pull request, or suggest new features.

GitHub Repository

👉 https://github.com/therajarshichakraborty/Zenith-CLI


🐞 Reporting Issues

Found a bug? Have an idea for a new feature?

Please open an issue on GitHub with as much detail as possible, including:

  • Operating System
  • Node.js version
  • Zenith CLI version (zenith --version)
  • Steps to reproduce the issue
  • Expected behavior
  • Screenshots or terminal logs (if applicable)

You can report issues here:

👉 https://github.com/therajarshichakraborty/Zenith-CLI/issues


💬 Feedback & Support

Zenith CLI is actively being developed, and community feedback helps shape its future.

If you have suggestions, feature requests, or encounter any problems, please open an issue on GitHub first.

If you prefer to reach out directly, you can contact me on X (Twitter):

Rajarshi Chakraborty

🐦 https://x.com/IamRajarshi_Dev


⭐ Support the Project

If Zenith CLI helps you in your development workflow, consider supporting the project by giving it a ⭐ on GitHub.

It helps others discover the project and motivates future development.

⭐ Repository:

https://github.com/therajarshichakraborty/Zenith-CLI


🚧 Beta Notice

Zenith CLI is currently in Beta.

While the core features are functional, the project is under active development. New capabilities, improvements, and breaking changes may be introduced as the project evolves.

Your feedback, bug reports, feature requests, and contributions are greatly appreciated and play an important role in making Zenith CLI better.

Thank you for being an early adopter! ❤️


📄 License

MIT License © 2026 Rajarshi Chakraborty

See the LICENSE file for more information.