ts  by dulaiduwang003

AI platform with web/mini-program frontends

created 2 years ago
723 stars

Top 48.6% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a full-stack AI platform built with Spring Cloud Alibaba and Spring Boot 3, targeting developers and users interested in AI-powered applications. It offers a web interface and a WeChat mini-program, integrating various AI models for chat, image generation, and more, with features like payment and data synchronization.

How It Works

The platform utilizes a microservices architecture (master branch) or a monolithic architecture (dec branch) for flexibility in deployment. Key components include ts-auth for authentication and transactions, ts-gateway for routing and security, ts-common for shared utilities, ts-drawing for image generation (Stable Diffusion and DALL-E), and ts-chat for conversational AI. It leverages technologies like Sa-Token, Redis, Nacos, Spring Cloud Gateway, Feign, and MySQL.

Quick Start & Requirements

  • Installation: yarn install
  • Run: yarn run serve
  • Prerequisites: JDK 17, MySQL 8, Redis 7, Nacos 2.x, Docker. Optional: SD drawing capabilities, Baidu Translate API, WeChat Mini-program APPID.
  • Resources: Minimum 2c4m RAM recommended for microservices due to Nacos, MySQL, Redis, and services.
  • Docs: README

Highlighted Details

  • Supports GPT chat, image recognition chat, text-to-image generation, error reporting panel, custom parameters, AI writing, and voice chat.
  • Integrates Stable Diffusion with text-to-image, image-to-image, real-time rendering, and inpainting.
  • Includes a WeChat mini-program with a dual-end data synchronization feature.
  • Offers customizable presets, appearance, and system-level drawing parameters.

Maintenance & Community

  • Bug feedback and author contact via WeChat (islamdlron).
  • Project encourages stars and donations.

Licensing & Compatibility

  • The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project is not designed for sharing a single Stable Diffusion instance across multiple services or projects due to real-time rendering conflicts with SD's single QS support. The monolithic dec branch is recommended for lower-configuration environments. Configuration changes require manual application via a "load configuration" button or service restart.

Health Check
Last commit

4 months ago

Responsiveness

1 day

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

Explore Similar Projects

Feedback? Help us improve.