Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

chore(demo): reset the public demo daily at 03:00 CST

tianma-ifbae5f910f29f
diff --git a/.env.local.example b/.env.local.example
index abc08973..330a31a6 100644
--- a/.env.local.example
+++ b/.env.local.example
@@ -39,6 +39,7 @@ EDGE_EVER_AUTH_LOGIN_IP_COOLDOWN_SECONDS=300
# Seeds sample content and periodically resets it; intended for public demos only.
EDGE_EVER_DEMO_MODE=false
# UTC Cron schedule, used only when demo mode is enabled.
+# Default: 0 19 * * * = every day at 03:00 China Standard Time (UTC+8).
EDGE_EVER_DEMO_RESET_CRON=0 19 * * *
# Routing
diff --git a/README.md b/README.md
index 64fc6ae2..cd12e081 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ Many long-time **Evernote** users simply want a **reliable, open, and fast** per
- Demo: [https://demo.edgeever.org](https://demo.edgeever.org)
-The public demo resets every Monday at 1:00 AM (China Standard Time) and restores sample notes. Do not store private content there.
+The public demo resets every day at 3:00 AM (China Standard Time) and restores sample notes. Do not store private content there.
## Features
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 5c257739..979f68be 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -28,7 +28,7 @@ EdgeEver 是一款现代化的开源笔记工作区。它为你找回经典印
- Demo 地址:[https://demo.edgeever.org](https://demo.edgeever.org)
-公开演示环境会在每周一凌晨 1:00(北京时间)自动重置并恢复示例笔记,请不要保存私密内容。
+公开演示环境会在每天凌晨 3:00(北京时间)自动重置并恢复示例笔记,请不要保存私密内容。
## 功能
diff --git a/apps/mobile/store-assets/app-store/metadata.en-US.md b/apps/mobile/store-assets/app-store/metadata.en-US.md
index f48675b9..304a8648 100644
--- a/apps/mobile/store-assets/app-store/metadata.en-US.md
+++ b/apps/mobile/store-assets/app-store/metadata.en-US.md
@@ -61,7 +61,7 @@ notes,notebook,self-hosted,markdown,writing,knowledge,Cloudflare,open source,syn
### Review notes
-EdgeEver is a client for a self-hosted notes service. On the sign-in screen, enter the demo instance URL, username, and password listed above. The public demo resets every Monday at 1:00 AM China Standard Time; please do not store sensitive review content in it.
+EdgeEver is a client for a self-hosted notes service. On the sign-in screen, enter the demo instance URL, username, and password listed above. The public demo resets every day at 3:00 AM China Standard Time; please do not store sensitive review content in it.
The app does not create accounts. Production accounts are created and controlled by the administrator of the self-hosted EdgeEver instance. Notes, attachments, credentials, and sync traffic travel directly between the device and the instance selected by the user; the app developer operates no relay or centralized storage service. Account and server-side data deletion is handled by that instance administrator. Users can sign out to remove the local session and can remove local app data through iOS Settings.
diff --git a/apps/mobile/store-assets/app-store/metadata.zh-CN.md b/apps/mobile/store-assets/app-store/metadata.zh-CN.md
index 2c210b19..a5c8f8ae 100644
--- a/apps/mobile/store-assets/app-store/metadata.zh-CN.md
+++ b/apps/mobile/store-assets/app-store/metadata.zh-CN.md
@@ -61,7 +61,7 @@ EdgeEver 是独立项目,与 Evernote Corporation 及其关联公司无隶属
### 审核备注
-EdgeEver 是自托管笔记服务的客户端。请在登录页输入上方提供的演示实例网址、用户名和密码。公开演示环境会在每周一北京时间凌晨 1:00 重置,请勿在其中保存敏感审核内容。
+EdgeEver 是自托管笔记服务的客户端。请在登录页输入上方提供的演示实例网址、用户名和密码。公开演示环境会在每天北京时间凌晨 3:00 重置,请勿在其中保存敏感审核内容。
App 不负责创建账号。正式账号由用户所连接的自托管 EdgeEver 实例管理员创建和管理。笔记、附件、凭据与同步流量直接在设备和用户选择的实例之间传输,App 开发者不运营中转或集中存储服务。账号及服务端数据删除由实例管理员处理;用户可以退出登录以移除本地会话,并通过 iOS 设置删除本地 App 数据。
diff --git a/scripts/run-wrangler.mjs b/scripts/run-wrangler.mjs
index f666fce4..8e3c54e8 100644
--- a/scripts/run-wrangler.mjs
+++ b/scripts/run-wrangler.mjs
@@ -260,6 +260,7 @@ if (localDemoSeed && !["true", "false"].includes(localDemoSeed)) {
}
if (demoMode === "true") {
+ // Default: daily 19:00 UTC = 03:00 China Standard Time (UTC+8).
const demoResetCron = envValue("DEMO_RESET_CRON") || "0 19 * * *";
changed = true;
config = `${config.trimEnd()}