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

@thelapyae/geniclaw

v1.2.3

Published

Geniclaw - Gemini + Telegram CLI Assistant

Readme

🦁 GeniClaw - Your AI Terminal Assistant

GeniClaw is a powerful, local-first AI assistant manager that connects multiple AI providers (Gemini, OpenAI, Claude, Groq, DeepSeek, Grok) to your workflow. It runs as a background service (daemon) on your machine, managing conversation history, project sessions, and token usage efficiently.

🚀 Key Features

  • 🧠 Multi-Provider Support:
    • Google Gemini (1.5 Flash/Pro, 2.0 Flash)
    • OpenAI (GPT-4o, GPT-3.5)
    • Anthropic (Claude 3.5 Sonnet, Opus)
    • Groq (Llama 3, Mixtral - Ultra Fast)
    • DeepSeek (Coder, Chat)
    • xAI (Grok Beta)
  • 🔎 Web Search: Integrated Brave Search allows the AI to Google things for you in real-time.
  • 🔀 Task Routing: Assign different models to different tasks! (e.g., Use Groq for fast Chat, Gemini for heartbeat/cron jobs).
  • 📂 Session Management: Create separate "folders" (sessions) for different projects.
  • 💾 Smart Memory: Automatically manages conversation context and prunes old messages to stay within token limits.
  • 🖥️ Terminal UI (TUI): A beautiful interactive interface to manage keys, models, and sessions.
  • ⚡ Queue-Based: Robust message processing ensures no data is lost.

🛠️ Setup

Prerequisites

Installation

  1. Install via NPM:

    npm install -g @thelapyae/geniclaw
  2. Run Setup:

    geniclaw setup

🎮 How to Use

GeniClaw is managed entirely through its Interactive TUI.

1. Start the TUI

geniclaw

2. Main Menu Options

  • 🤖 Select AI Provider & Model: Choose which brain you want to use (Gemini, GPT-4, Claude, etc.).
  • 🔑 Manage API Keys: Enter keys for different providers.
  • 🔀 Task Routing: Configure which provider handles Chat vs. Background Tasks.
  • 🔎 Web Search Config: Set your Brave Search API key to enable internet access.
  • Start/Stop Daemon: Control the background process.

3. Chatting

  • Telegram: Chat with your bot.
  • CLI: geniclaw send "Hello!"

web Search

Just ask:

  • "Search for the latest heavy metal news"
  • "Google the price of Bitcoin"
  • "/search Who won the super bowl?"

🔒 Safety & Technology

GeniClaw creates a secure, local-first environment for your AI interactions.

Technology Stack

  • Runtime: Node.js & TypeScript.
  • State Management: Local JSON files (No external database required).
  • API Integration: Uses official SDKs (Google Generative AI) and standard REST APIs (OpenAI-compatible) via node-fetch.
  • Background Service: A lightweight daemon process manages the message queue.

Why is it Safe?

  1. Local Data: All conversation history, sessions, and logs are stored locally on your machine in ~/.geniclaw/. Your data never leaves your computer except to go directly to the AI provider.
  2. Direct Connection: GeniClaw connects directly to the AI APIs (Google, OpenAI, etc.). There is no "middleman" server collecting your data.
  3. Open Source: The code is transparent. You can inspect exactly how your keys and data are used.
  4. Key Security: API keys are stored in a local config file (config.json) on your machine.

⚠️ Important Notes

  1. API Costs: Using commercial APIs (OpenAI, Anthropic) is not free. Costs depend on your usage. Groq and Gemini (Free Tier) offer free options.
  2. Privacy: While GeniClaw is local, the AI Providers (Google, OpenAI, etc.) have their own data policies.
  3. Daemon: The background process must be running for GeniClaw to reply.

Enjoy your AI Assistant! 🦁