SkillAgentSearch skills...

CAINode

The Lightweight Unofficial Character.AI API for Node.js / Deno / Bun.

Install / Use

/learn @KevinAdhaikal/CAINode
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CAINode

The Lightweight Unofficial Character.AI API for Node.js / Deno / Bun

Access Character.AI via pure JavaScript – no Puppeteer, no browser automation, just WebSocket + HTTPS.
Built for developers who want to chat with Character.AI programmatically using modern JavaScript runtimes (Node, Deno, Bun).

⭐️ Easy-to-use API | 🔥 Lightweight & Fast | 💬 Supports Streaming & History | 🧠 Designed for Bots, CLI & Automation


NPM Version GitHub Stars GitHub Repo Size Last Commit Commit Activity


🚀 Features

CAINode supports nearly all Character.AI features – designed for both simple and advanced use cases:

⚙️ Core Features

  • Lightweight – No Puppeteer, no headless browser. Uses native WebSocket + Fetch
  • Cross-runtime – Works with Node.js, Deno, and Bun
  • Fully Async – Promise-based, easy integration
  • Streaming Chat Support – Typing-style responses, streamed token by token

💬 Chat Support

  • 🧠 Single Chat – Chat with any character
  • 👥 Group Chat – Chat with multiple characters in one conversation
  • 📝 Chat History – Fetch previous messages with metadata
  • 🎤 Voice Call Support – Full support for voice interactions with characters

🧩 Character & User Control

  • 🔍 Search Characters – Explore, get trending, featured, or searched characters
  • 👤 User Profiles – Fetch profile data, persona, and more
  • 🧠 Persona Management – Edit and apply custom persona to your characters

🖼️ Media & Generation

  • 🖼️ Image Generation – Send prompts, receive image replies
  • 🎨 Image Uploading Support – Upload image to use in messages

💥 Bonus

  • Blazingly Fast – Low latency communication via WebSocket
  • 📚 Typed (with JSDoc) – Great autocomplete in editors like VSCode

Table of contents

View on GitHub
GitHub Stars57
CategoryDevelopment
Updated3d ago
Forks13

Languages

JavaScript

Security Score

85/100

Audited on Apr 2, 2026

No findings