Heatherm Huang
4a7148e203
fix: support grok cli compatibility routes
2026-06-29 17:53:19 +08:00
Wesley Liddick
a822972d80
Merge pull request #3494 from devnomad-byte/docs/source-compile-admin-setup
...
docs: note admin account wizard requirement in source-compile install
2026-06-29 09:19:14 +08:00
shaw
9a0fbcc87d
chore: update sponsors
2026-06-26 17:32:50 +08:00
devnomad-byte and Claude Opus 4.6
98feeccbe1
docs: note admin account wizard requirement in source-compile install
...
Method 3 (source compile) instructs users to pre-create config.yaml,
but does not mention that doing so disables the setup wizard — the
only code path that creates the initial admin account. Users following
the README end up with a running server and an empty users table, and
login fails with "invalid email or password".
The default.admin_email / default.admin_password fields in config.yaml
are loaded into the config struct but never read by any code path
(setup.SetupConfig.Admin is tagged yaml:"-"), so they cannot serve as
an alternative way to seed the admin.
Add a "Creating the Admin Account" subsection to Method 3 in all three
language READMEs (EN/CN/JA), explaining the wizard dependency and two
workarounds: let the wizard generate config.yaml, or temporarily move
config.yaml aside to trigger the wizard on first run.
Related: #521 (docker variant of the same symptom), #2617 , #2350 .
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-06-26 15:19:58 +08:00
Heatherm Huang
2a80495880
docs: clarify grok public route scope
2026-06-26 10:37:37 +08:00
Heatherm Huang
39be1ec97f
feat: add grok subscription support
2026-06-26 10:36:09 +08:00
shaw
a1560ae77c
chore: update sponsors
2026-06-24 22:14:47 +08:00
shaw
85a3b12254
chore: update sponsors
2026-06-22 16:37:56 +08:00
shaw
e5f38a6f60
chore: update sponsors
2026-06-22 09:55:31 +08:00
shaw
63d95b4ec7
chore: updeta sponsors
2026-06-09 19:41:29 +08:00
shaw
be01744565
chore: update sponsors
2026-06-08 20:15:15 +08:00
shaw
b7cfe24626
chore: update README
2026-06-08 16:41:47 +08:00
shaw
acbcb50de1
chore: update README
2026-06-08 15:43:19 +08:00
shaw
7483c43c02
update sponsors
2026-06-06 09:28:18 +08:00
shaw
2f70d965bf
chore: update sponsors
2026-05-25 19:06:55 +08:00
shaw
16793d3af0
chore: update sponsors
2026-05-21 15:26:20 +08:00
shaw
4b6d5d76de
chore: update sponsors
2026-05-19 21:18:41 +08:00
shaw
6e66edbb09
chore: update sponsors
2026-05-15 20:58:47 +08:00
shaw
dbc8ae658c
chore: update sponsors
2026-05-08 20:00:06 +08:00
shaw
da4b078df2
chore: update sponsors
2026-04-29 14:41:35 +08:00
shaw
755c7d5026
chore: revert README files to 78f691d2 version
2026-04-22 19:55:13 +08:00
IanShaw027
ca4e38aa01
fix(profile): stabilize binding compatibility and frontend checks
2026-04-22 14:57:47 +08:00
shaw
78f691d2de
chore: update sponsors
2026-04-21 14:57:59 +08:00
shaw
23def40bc5
chore: change license from MIT to LGPL v3.0
2026-04-19 22:06:04 +08:00
shaw
7ea8e7e667
chore: update sponsors
2026-04-16 17:19:32 +08:00
shaw
92f4a6bb94
chore: update readme
2026-04-13 22:28:44 +08:00
shaw
a1a283688c
chore: update sponsors
2026-04-12 17:19:44 +08:00
erio
c777fe5471
docs: add built-in payment configuration guide and update README
...
- Add docs/PAYMENT.md and docs/PAYMENT_CN.md with full payment setup guide
- Mark Sub2ApiPay as deprecated in ecosystem tables (payment is now built-in)
- Add built-in payment system to features list in all 3 READMEs
2026-04-11 21:10:55 +08:00
shaw
155d3474d6
chore: update Sponsors
2026-04-09 09:21:55 +08:00
shaw
f54e9d0b1c
chore: update readme
2026-04-08 16:37:00 +08:00
shaw
339d906e54
chore: update readme
2026-04-05 22:31:01 +08:00
shaw
f47c865555
chore: update readme
2026-04-05 22:27:13 +08:00
shaw
1dfd974432
chore: update readme
2026-03-30 16:28:31 +08:00
shaw
cc396f59cf
chore: update readme
2026-03-30 16:24:29 +08:00
Ikko Ashimine
fdad55956e
docs: add Japanese README
2026-03-25 00:34:56 +09:00
Jerry Fan and Claude Opus 4.6
f2f819d70f
docs: update docker-compose commands to Docker Compose V2 syntax
...
The project prerequisites already require Docker Compose v2+, but command
examples still used the legacy `docker-compose` (hyphenated) form. Replace
all command invocations with `docker compose` (space-separated) while
keeping file name references (docker-compose.yml, etc.) unchanged.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-19 18:12:50 +08:00
shaw
5c138007d0
chore: update docs
2026-03-16 16:56:42 +08:00
shaw
4f2a97073e
chore: update docs
2026-03-14 12:37:36 +08:00
erio
91e4d95660
docs: add iframe integration feature and ecosystem projects section
2026-03-14 03:16:07 +08:00
shaw
c8eff34388
chore: update readme
2026-03-09 16:25:56 +08:00
shaw
f19b03825b
chore: update docs
2026-03-09 16:11:44 +08:00
erio
23686b1391
refactor(docs): move integration doc to docs/ and add download link in settings
...
- Move ADMIN_PAYMENT_INTEGRATION_API.md → docs/ADMIN_PAYMENT_INTEGRATION_API.md
- Update README.md reference path
- Add payment integration doc download link in admin settings UI (Purchase section)
- Add i18n keys: integrationDoc / integrationDocHint (zh + en)
2026-03-01 18:08:42 +08:00
erio
39ca192c41
feat(admin): add create-and-redeem API and payment integration docs
2026-03-01 00:42:21 +08:00
shaw
f7fa71bc28
fix: 将 README 中 Codex WS 配置迁移至使用密钥弹窗
...
- 移除 README.md / README_CN.md 中的 Codex CLI WebSocket v2 配置示例
- UseKeyModal OpenAI 分组新增 "Codex CLI (WebSocket)" tab,区分普通模式与 WS 模式
- 普通模式 config.toml 不含 WebSocket 字段,WS 模式包含 supports_websockets 和 features 配置
- 所有配置统一使用 sub2api 作为 model_provider 名称
2026-02-28 23:35:31 +08:00
yangjianbo
bb664d9bbf
feat(sync): full code sync from release
2026-02-28 15:01:20 +08:00
yangjianbo and Claude Opus 4.6
2f520c8d47
docs(readme): 说明 Sora 功能暂不可用及技术问题
...
- 在 README.md 增加 Sora 暂不可用状态说明
- 在 README_CN.md 增加对应中文说明并标注恢复后可选
- 明确 gateway.sora_* 配置当前仅为预留项
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 13:06:56 +08:00
yangjianbo
98f793155f
build(工具链): 升级 Go 到 1.25.7
2026-02-06 07:41:23 +08:00
shaw
5cda979209
feat(deploy): 优化 Docker 部署体验,新增一键部署脚本
...
## 新增功能
- 新增 docker-compose.local.yml:使用本地目录存储数据,便于迁移和备份
- 新增 docker-deploy.sh:一键部署脚本,自动生成安全密钥(JWT_SECRET、TOTP_ENCRYPTION_KEY、POSTGRES_PASSWORD)
- 新增 deploy/.gitignore:忽略运行时数据目录
## 优化改进
- docker-compose.local.yml 包含 PGDATA 环境变量修复,解决 PostgreSQL 18 Alpine 数据丢失问题
- 脚本自动设置 .env 文件权限为 600,增强安全性
- 脚本显示生成的凭证,方便用户记录
## 文档更新
- 更新 README.md(英文版):新增"快速开始"章节,添加部署版本对比表
- 更新 README_CN.md(中文版):同步英文版更新
- 更新 deploy/README.md:详细说明两种部署方式和迁移方法
## 使用方式
一键部署:
```bash
curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/docker-deploy.sh | bash
docker-compose -f docker-compose.local.yml up -d
```
轻松迁移:
```bash
tar czf sub2api-complete.tar.gz deploy/
# 传输到新服务器后直接解压启动即可
```
2026-02-02 16:17:07 +08:00
shaw
e9a4c8ab97
docs: 修改演示站点域名
2026-01-26 10:04:44 +08:00
Xu Kang
f6dd4752e7
fix: 修复 Go 版本、包管理器和技术栈文档 ( #195 )
...
- backend/Dockerfile: Go 版本从 1.21 更新到 1.25.5(与 go.mod 一致)
- Makefile: 使用 pnpm 替代 npm(与 pnpm-lock.yaml 和 CI 一致)
- README.md/README_CN.md: 技术栈从 GORM 修正为 Ent
2026-01-07 16:35:51 +08:00