chatgpt-java-uniapp  by shican1234

Java ChatGPT app with multi-platform frontend

created 2 years ago
342 stars

Top 81.9% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a ChatGPT application built with Java for the backend and Uni-app for the frontend, enabling multi-platform deployment (APP, H5, WeChat Official Account, Mini Programs). It targets developers looking for a comprehensive AI chat solution with features like tiered distribution, voucher recharge, and AI art generation.

How It Works

The backend leverages the Renren Security framework for its development scaffold and integrates a Java SDK for ChatGPT. It offers an OpenAI reverse proxy, supporting various AI models and features like CHATPDF, Markdown rendering, and code highlighting. The frontend Uni-app framework allows for cross-platform compatibility, while the backend includes modules for user management, key management, and content moderation.

Quick Start & Requirements

  • Backend Deployment: Requires Java, Maven, MySQL (UTF-8 encoding), and Lombok plugin for IDEs. Initialize the database with renren-api/db/chatgpt.sql. Default admin credentials are admin/admin.
  • Frontend (Vue Admin UI): Requires Node.js (v12.x or 14.x). Install dependencies with npm install and run with npm run serve.
  • Frontend (Uni-app): Requires Node.js. Install dependencies with npm install. Configure API endpoints in utils/evn.js and utils/request.js.
  • Documentation: 文档
  • Demos: WEB演示, H5演示

Highlighted Details

  • Supports multi-platform deployment via Uni-app.
  • Includes tiered distribution, voucher recharge, and partner models.
  • Integrates AI art generation (SD, FS) and CHATPDF functionality.
  • Offers OpenAI reverse proxy and content detection features.

Maintenance & Community

Licensing & Compatibility

  • The README does not explicitly state a license. The project is based on Renren Security (Apache 2.0) and Grt1228/chatgpt-java (MIT). Clarification on licensing for this combined work is recommended for commercial use.

Limitations & Caveats

The project distinguishes between a "Basic Version" and a "Commercial Version," with many advanced features like WEB UI, CHATPDF, AI art, and tiered distribution exclusive to the commercial offering. The basic version appears to be a minimal AI chat interface.

Health Check
Last commit

2 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.