8000 Custom sync server · electerm/electerm Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Custom sync server

ZHAO Xudong edited this page Feb 26, 2025 · 8 revisions

In electerm sync panel, other than use github or gitee secret gist, could use a custom service to sync electerm 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

Screen Shot 2023-07-14 at 09 07 09

  • method: PUT, should store request body json data, get user id from jwtData.id
  • method: GET, should return stored electerm 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 server apps:

Clone this wiki locally
0