ais-ninja  by jarvis2f

ChatGPT-based web app with plugin support

created 2 years ago
320 stars

Top 86.0% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a web application for interacting with large language models, built upon ChatGPT-Web. It targets users who want a customizable chat interface with extended functionality, offering multi-language support and a plugin system for integrating external services like search engines and information APIs.

How It Works

The application is a refactored version of ChatGPT-Web, featuring a backend server that manages LLM interactions. It supports a plugin architecture, allowing developers to extend its capabilities by adding new functions. These functions are exposed to the LLM in a structured format, enabling dynamic tool usage based on user prompts.

Quick Start & Requirements

  • Install/Run: docker run -d --name ais-ninja -p 6789:80 jarvis2f/ais-ninja:v1.0.8
  • Prerequisites: Docker, a database (e.g., MySQL), and Redis. Environment variables are used for configuration.
  • Setup: Requires configuring database and Redis connection details.
  • Docs: https://github.com/jarvis2f/ais-ninja

Highlighted Details

  • Supports multiple LLM providers including OpenAI, Anthropic, and Stability AI.
  • Plugin system allows integration of services like Baidu, DuckDuckGo, Google Search, IMDB, and weather APIs.
  • Plugin development involves JavaScript, with provided libraries for network requests, date/time manipulation, DOM manipulation, and browser mocking.
  • Includes features for user management, membership levels, and email/SMS login.

Maintenance & Community

The project has seen recent updates (v1.0.6, v1.0.4) adding new models, proxy support, and user features. Plugin development is encouraged, with a GitHub repository for contributions.

Licensing & Compatibility

The repository does not explicitly state a license. Users should verify compatibility for commercial use or integration into closed-source projects.

Limitations & Caveats

Some plugins, like IMDB search, may require paid API keys. The project mentions "No OpenAI tokens provided" in logs, indicating that OpenAI API keys must be configured separately. The initial setup requires careful environment variable configuration for database and Redis.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.