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

@cuijy/free-api

v0.1.2

Published

A tool that runs multiple AI web-based free chat services in the background

Readme

@cuijy/free-api 🤖

npm version License: MIT Node.js Version

A powerful CLI tool that runs multiple AI web-based free chat services in the background. Start with ChatGPT as your first AI assistant!

✨ Features

  • 🚀 Multiple AI Services: Support for ChatGPT, DeepSeek, Wenxin, Qwen and more
  • 🔧 Easy Configuration: Interactive setup wizard for each service
  • 💬 Interactive Chat: Command-line chat interface with conversation history
  • ⚡ Real API Integration: Connect to real AI APIs (OpenAI, etc.)
  • 🔐 Dual Authentication Modes: Public (no login) and Authenticated (full access)
  • 📊 Usage Statistics: Track tokens, requests, and rate limits
  • 🛡️ Error Recovery: Automatic retry and rate limiting
  • 🌐 Global CLI: Install once, use anywhere

🚀 Quick Start

Installation

# Install globally from npm
npm install -g @cuijy/free-api

# Verify installation
free-api --version

Basic Usage

# Initialize configuration
free-api init

# List available services
free-api list

# Configure ChatGPT service
free-api config chatgpt

# Start interactive chat with ChatGPT
free-api chat chatgpt

📖 Documentation

Available Commands

free-api [options] [command]

Options:
  -V, --version               output the version number
  -h, --help                  display help for command

Commands:
  init [options]              Initialize FreeAPI configuration
  list [options]              List available services
  config [options] <service>  Configure a specific service
  start <service>             Start a service
  chat <service>              Interactive chat with a service
  status                      Check service status
  logs [options]              View logs
  stop [options] [service]    Stop services

ChatGPT Service

The ChatGPT service supports two modes:

  1. Public Mode: No login required, limited functionality
  2. Authenticated Mode: Full access with OpenAI API key
# Configure ChatGPT
free-api config chatgpt

# Choose mode during configuration
? Select ChatGPT mode: (Use arrow keys)
❯ Public (no login required, limited functionality)
  Authenticated (requires OpenAI API key, full access)

# Start chat
free-api chat chatgpt

🔧 Configuration

Configuration is stored in ~/.freeapi/config.json:

{
  "services": {
    "chatgpt": {
      "enabled": true,
      "mode": "public",
      "apiKey": "",
      "model": "gpt-3.5-turbo"
    }
  }
}

📁 Project Structure

~/.freeapi/
├── config.json      # Main configuration
├── logs/           # Service logs
└── cache/          # Cached data

🛠 Development

For development and source code, visit the GitHub repository: https://github.com/naturecode-official/freeapi

🤝 Contributing

Contributions are welcome! Please see the GitHub repository for contribution guidelines.

📄 License

MIT © NatureCode

🔗 Links

🙏 Acknowledgments

  • OpenAI for ChatGPT API
  • All contributors and users

Enjoy your AI conversations! 🚀