GitDeployHub

doocs/md

github.com/doocs/md ↗
Node.js API
5 environment variables found in apps/web/.env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • VITE_SYNC_API_URL md-api 后端地址(账户登录、云同步等共用)。可与 VITE_MD_API_URL 二选一。
  • VITE_SYNC_UI_ENABLED 是否在 UI 显示云同步入口。默认:已配置 API 即显示(可被下方 false 关闭)。
  • VITE_AFDIAN_PAGE_URL 爱发电创作者主页(Pro 升级跳转),例如 https://ifdian.net/a/doocs
  • VITE_AFDIAN_ORDER_BASE 爱发电下单页域名,与主页保持一致即可
  • VITE_UPLOAD_VIA_API 默认图床是否经 md-api 上传(需与 api wrangler.toml 的 UPLOAD_ENABLED 同步)
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/doocs/md
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/doocs/md
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/doocs/md
Or deploy to a different host
← Try another repo