Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

aidea-server

> AI 编程
Open source

AIdea 是一款支持 GPT 以及国产大语言模型通义千问、文心一言等,支持 Stable Diffusion 文生图、图生图、 SDXL1.0、超分辨率、图片上色的全能型 APP。

1.8K stars0 likes0 views
WebsiteGitHub

About

AIdea 是一款支持 GPT 以及国产大语言模型通义千问、文心一言等,支持 Stable Diffusion 文生图、图生图、 SDXL1.0、超分辨率、图片上色的全能型 APP。

AIdea Server - AI Chat, Collaboration & Image Generation

English | 简体中文

A fully open-source APP server built with Golang that integrates mainstream large language models and image generation models.

Try it out:

https://aidea.aicode.cc

Open-source repositories:

  • Client: https://github.com/mylxsw/aidea
  • Server: https://github.com/mylxsw/aidea-server
  • Docker deployment: https://github.com/mylxsw/aidea-docker

Self-hosting

If you prefer not to use the managed cloud service, you can deploy the server yourself. See the deployment guide here.

If you'd rather have someone else handle the setup, feel free to reach out for assisted deployment. See Assisted Server Deployment for details.

Community

  • WeChat tech discussion group:

    If you cannot join, add WeChat ID x-prometheus as a friend and you'll be invited to the group.

  • WeChat Official Account

About the Code

Code comments and technical documentation are currently limited and will be supplemented over time. Please note the following points to avoid confusion:

  • Room and Advisory Group in the code both refer to Digital Persona. Due to multiple revisions, the naming evolved: Room → Advisory Group → Digital Persona.
  • The v1 version of Creation Island is entirely different from v2. v1 served App versions up to 1.0.1; starting from 1.0.2 it is no longer used, hence the v2 version.

Frameworks used in this project:

  • Glacier Framework: An in-house modular application development framework with dependency injection support, built on the go-ioc IoC container. It solves dependency propagation and modularization for Go applications.
  • Eloquent ORM: An in-house code-generation-based ORM framework inspired by the Laravel PHP framework, with support for MySQL and other databases.

Code structure:

Directory Description api OpenAI-compatible API; endpoints here can be used directly by any third-party software that supports the OpenAI API protocol server API endpoints provided for the AIdea client application config Configuration definitions and management migrate Database migration files (SQL) cmd Application entry point pkg Public packages that can be imported by other projects ⌞ ai AI model interface implementations for various providers ⌞ ai/chat Abstract chat model interface; all chat models are wrapped here to be compatible with the OpenAI Chat Stream protocol ⌞ aliyun Alibaba Cloud SMS and content-safety service implementations ⌞ dingding DingTalk notification bot ⌞ misc Miscellaneous helper functions ⌞ jobs Scheduled tasks, e.g. daily user token-consumption statistics ⌞ mail Email sending ⌞ proxy SOCKS5 proxy implementation ⌞ rate Rate-limiting implementation ⌞ redis Redis instance ⌞ repo Data model layer; encapsulates all database operations ⌞ repo/model Data model definitions using mylxsw/eloquent ⌞ service Service layer for logic that doesn't belong in the Controller or Repo layers ⌞ sms Unified SMS service abstraction that hides the underlying SMS provider implementation from business logic ⌞ tencent Tencent speech-to-text and SMS service implementations ⌞ token JWT Token ⌞ uploader File upload/download backed by Qiniu Cloud Storage ⌞ voice Text-to-speech backed by Qiniu Cloud (currently disabled) ⌞ youdao Youdao Translation API implementation internal Internal packages; only available within this project ⌞ queue Task queue implementation; all asynchronously processed tasks are defined here ⌞ queue/consumer Task queue consumers ⌞ payment Online payment service implementations (e.g. Alipay, Apple) ⌞ coins Service pricing and billing policies config.yaml Example configuration file coins-table.yaml Example pricing table configuration nginx.conf Example Nginx configuration systemd.service Example Systemd service configuration

Build the project:

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

App Screenshots

Light theme

Dark theme

Star History

License

MIT

Copyright (c) 2023, mylxsw

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •Client: https://github.com/mylxsw/aidea
  • •Server: https://github.com/mylxsw/aidea-server
  • •Docker deployment: https://github.com/mylxsw/aidea-docker
  • •WeChat tech discussion group:
  • •WeChat Official Account
  • •Eloquent ORM: An in-house code-generation-based ORM framework inspired by the Laravel PHP framework, with support for MySQL and other databases.

> Tags

Goaichatgptgptllm

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.