mtvpls
f742787044
ios pwa沉浸式状态栏
2026-07-18 12:20:15 +08:00
mtvpls
07c09fbe39
Merge PR #421 : feat: add Turso (libSQL) storage support for EdgeOne deployment
2026-07-12 16:41:11 +08:00
mtvpls-turso
aab6db64cc
fix: use @libsql/client/http subpath to avoid native module deps
...
The main @libsql/client entry point pulls in the native libsql module
and isomorphic-ws/isomorphic-fetch, which webpack cannot parse in
EdgeOne builds. Using the http subpath provides a pure HTTP client
that works in edge/serverless environments without native dependencies.
Also add libsql, @libsql/isomorphic-fetch, @libsql/isomorphic-ws to
the edge build alias list in next.config.js as a safety net.
2026-07-11 17:28:55 +00:00
mtvpls-turso
8e464c463b
feat: add Turso (libSQL) storage support for EdgeOne deployment
...
- Add TursoAdapter implementing DatabaseAdapter interface using @libsql/client
- Add 'turso' storage type to db.ts storage selector (reuses D1Storage)
- Add init-turso.js script for database migration and admin initialization
- Add @libsql/client dependency to package.json
- Update next.config.js to exclude @libsql/client from client-side bundle
- Update edgeone-deploy.yml workflow with TURSO_URL and TURSO_TOKEN secrets
- Update edgeone-build.mjs runtime env keys to include Turso variables
- Update .env.edgeone.example with Turso deployment instructions
- Update README.md with Turso as recommended storage for EdgeOne
Turso provides free SQLite-compatible cloud database (libSQL) with:
- 500 databases, 9GB storage, 1B row reads/month on free tier
- HTTP API compatible with edge/serverless environments
- Full SQLite syntax compatibility, reuses existing migrations
2026-07-11 17:04:27 +00:00
mtvpls
984f763c66
edgeone动态拦截生成
2026-07-11 10:34:19 +08:00
mtvpls
f55a1f50de
修复edgeone动态路由404
2026-07-11 09:58:26 +08:00
mtvpls
6bf306d034
edgeone middleware环境变量正确读取解析
2026-06-18 15:38:24 +08:00
mtvpls
ce944e6bc5
变更命令
2026-06-18 13:27:38 +08:00
mtvpls
8997228be4
edgeone部署支持
2026-06-18 11:25:07 +08:00
mtvpls
d600317ade
增加浏览器离线通知功能
2026-06-02 20:50:33 +08:00
mtvpls
cff988754c
调整sqllite初始化脚本
2026-04-11 15:33:46 +08:00
mtvpls
c7879748f9
sqlite支持
2026-04-11 11:28:04 +08:00
mtvpls
69efdc2c02
mainfest修改名字
2026-02-22 21:38:23 +08:00
mtvpls
4901e2c569
postgres适配music
2026-02-08 09:23:37 +08:00
mtvpls
a2e07011ec
fix postgres error
2026-02-08 01:18:14 +08:00
foxNG
1d3a7f2732
feat: 添加 Vercel Postgres 数据库支持
...
- 安装 @vercel/postgres 和 pg 依赖
- 创建 PostgresAdapter 适配器,兼容 D1 接口
- 创建 PostgresStorage 类,实现完整的 IStorage 接口
- 添加 Postgres 数据库初始化脚本和 schema
- 更 next.config.js 排除 Postgres 模块的客户端打包
- 添加 VERCEL_DEPLOYMENT.md 部署指南
- 支持 Vercel serverless 环境部署
注意事项:观影室功能在 Vercel 上不可用(需要 WebSocket 支持)
2026-02-08 00:37:37 +08:00
mtvpls
c86f9cdca7
d1/sqlite支持
2026-01-30 14:27:43 +08:00
shinya
b6d9810ee8
feat: init 2.0.0 config file edit
2025-08-13 00:30:31 +08:00
JohnsonRan
b4ed660eca
first commit
2025-08-12 21:50:58 +08:00