Repolode
mylxsw

mylxsw/aidea-server

Go backend server for the AIdea app, providing chat with mainstream LLMs and Stable Diffusion image generation with an OpenAI-compatible API.

Open-source alternative to:ChatGPT

Stars
1,770
Forks
473
Open issues
10
Last commit
17 days ago

What is it?

AIdea Server is the backend for the AIdea app, a multi-model AI client. It is written in Go and integrates mainstream large language models as well as image generation models, so the same app can chat with different LLM providers and create or edit images.

The project includes an api directory that exposes OpenAI-compatible endpoints, which means third-party software that supports the OpenAI API protocol can call it directly. A separate server directory provides the endpoints used by the AIdea client. Deployment instructions and a Docker option are provided, and the project can also be run through a managed cloud service.

The codebase is built on the author's Glacier framework for dependency injection and modularization, and the Eloquent ORM for database access. Code comments and technical documentation are described by the author as limited for now.

Key features

  • 01Integrates mainstream LLMs, including GPT and domestic Chinese models such as Qwen and ERNIE Bot.
  • 02Provides OpenAI-compatible API endpoints for third-party clients.
  • 03Supports Stable Diffusion text-to-image and image-to-image generation.
  • 04Includes a SOCKS5 proxy implementation, rate limiting, and a task queue.
  • 05Offers Docker and systemd deployment examples.

Use cases

  • Running a self-hosted backend for the AIdea mobile or desktop client.
  • Pointing OpenAI-compatible tools at a server that routes to several LLM providers.
  • Studying how a Go service structures chat and image generation integrations.

Quick start

  1. 1

    Read the self-hosting deployment guide

  2. 2

    Build the server binary from source

    go build -o build/debug/aidea-server cmd/main.go

Things to know

  • Code comments and technical documentation are limited, and the README warns of naming changes between Room, Advisory Group and Digital Persona.
  • Self-hosting requires configuring third-party services such as Qiniu Cloud storage and SMS providers.
  • The metadata lists no license, while the README states MIT, so verify the license before relying on it.

In collections

Topics

FAQ

What is aidea-server?
Go backend server for the AIdea app, providing chat with mainstream LLMs and Stable Diffusion image generation with an OpenAI-compatible API. AIdea Server is the backend for the AIdea app, a multi-model AI client. It is written in Go and integrates mainstream large language models as well as image generation models, so the same app can chat with different LLM providers and create or edit images.
Is aidea-server free to use? What license does it have?
aidea-server has no declared license. Its code is public, but without a license you have no explicit permission to reuse it; ask the author before relying on it.
Is aidea-server still maintained?
Actively maintained. The last commit to aidea-server was on Oct 22, 2026.
What can I use aidea-server for?
Running a self-hosted backend for the AIdea mobile or desktop client. Pointing OpenAI-compatible tools at a server that routes to several LLM providers. Studying how a Go service structures chat and image generation integrations.
How do I install aidea-server?
Read the self-hosting deployment guide Build the server binary from source: go build -o build/debug/aidea-server cmd/main.go
Where can I get aidea-server?
The source code and installation instructions are on GitHub: https://github.com/mylxsw/aidea-server

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects