Repository navigation
Custom sync server
ZHAO Xudong edited this page Mar 6, 2026
·
1 revision
In spice-link sync panel, other than use github or gitee secret gist, could use a custom service to sync spice-link data:
- API url: your-custom-web-service-url
- jwt secret: your jwt secret to verify request and extract user id
- user id: custom user id
- method: PUT, should store request body json data, get user id from jwtData.id
- method: GET, should return stored spice-link sync data as json, get user id from jwtData.id
- method: POST, should return "ok", only when successfully get user id from jwtData.id
Check example sync service code:
- spice-link-sync-server-cloudflare(recommanded): sync with free cloudflare worker and free cloudfalre D1 database
- spice-link-sync-server-vercel
- spice-link-sync-server-python
- spice-link-sync-server-rust
在 spice-link 同步面板中,除了使用 GitHub 或 Gitee 秘密 gist,还可以使用自定义服务来同步 spice-link 数据:
- API url: your-custom-web-service-url
- jwt secret: your jwt secret to verify request and extract user id
- user id: custom user id
- method: PUT, should store request body json data, get user id from jwtData.id
- method: GET, should return stored spice-link sync data as json, get user id from jwtData.id
- method: POST, should return "ok", only when successfully get user id from jwtData.id
查看示例同步服务代码:
- spice-link-sync-server-cloudflare(推荐): 使用免费的 cloudflare worker 和免费的 cloudflare D1 数据库同步
- spice-link-sync-server-vercel
- spice-link-sync-server-python
- spice-link-sync-server-rust
- spice-link-sync-server-node
- spice-link-sync-server-cpp
- spice-link-sync-server-java
- spice-link-sync-server-kotlin
- spice-link-sync-server-deno
- spice-link-sync-server-go