diff --git a/.github/DISCUSSION_TEMPLATE/q-a.yml b/.github/DISCUSSION_TEMPLATE/q-a.yml index 9c9dfdb5a79..e69bbcf07fa 100644 --- a/.github/DISCUSSION_TEMPLATE/q-a.yml +++ b/.github/DISCUSSION_TEMPLATE/q-a.yml @@ -33,7 +33,6 @@ body: label: Where your waline deploy? | 服务部署在哪里? options: - Vercel (Default) - - Deta - CloudBase - Docker - Self Host @@ -60,5 +59,4 @@ body: - SQLite - PostgreSQL - GitHub - - Deta Base - TiDB diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 694379c0257..7317d0bdb82 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -35,7 +35,6 @@ body: label: 服务部署在哪里? | Where your waline deploy? options: - Vercel (Default) - - Deta - CloudBase - Docker - Self Host @@ -62,5 +61,4 @@ body: - SQLite - PostgreSQL - GitHub - - Deta Base - TiDB diff --git a/.vscode/settings.json b/.vscode/settings.json index 20256771f54..688a143959f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,6 @@ "aliyun", "akismet", - "deta", "cloudbase", "docsify", "jsdelivr", diff --git a/README.md b/README.md index 486bd5b4e1f..9809fd16342 100644 --- a/README.md +++ b/README.md @@ -29,18 +29,17 @@ A simple comment system with backend support. - Deploy free! - Multiple deployment and storage service support, at least 243 deployment choice! -| | Waline | | -| ----------------------------------------------- | ----------------------------------- | ------------------------------------------------------------ | -| **Client** | **Server** | **Storage** | -| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | -| [MiniValine](https://minivaline.js.org/) | [Deta](https://deta.space) | [CloudBase](https://clodbase.net) | -| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [CloudBase](https://cloudbase.net/) | [MongoDB](https://mongodb.com) | -| | [Railway](https://railway.app) | MySQL | -| | [Render](https://render.com) | SQLite | -| | [Zeabur](https://zeabur.com) | [GitHub](https://github.com) | -| | [Netlify](https://netlify.com) | PostgreSQL | -| | Docker | [Deta Base](https://deta.space/docs/en/reference/base/about) | -| | self host | [TiDB](https://tidbcloud.com/) | +| | Waline | | +| ----------------------------------------------- | ----------------------------------- | ---------------------------------- | +| **Client** | **Server** | **Storage** | +| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | +| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://clodbase.net) | +| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [Railway](https://railway.app) | [MongoDB](https://mongodb.com) | +| | [Render](https://render.com) | MySQL | +| | [Zeabur](https://zeabur.com) | SQLite | +| | [Netlify](https://netlify.com) | [GitHub](https://github.com) | +| | Docker | PostgreSQL | +| | self host | [TiDB](https://tidbcloud.com/) | ## Todo diff --git a/README_CN.md b/README_CN.md index b3ad8adc3a0..8ac666daf37 100644 --- a/README_CN.md +++ b/README_CN.md @@ -28,20 +28,20 @@ - 轻量易用 - 免费部署 - 多种部署方式和存储服务支持,每列选择一项多达 243 种部署方式任君选择 - | | Waline | | - | ----------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------ | - | **客户端脚本** | **服务端部署** | **数据存储** | - | [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | - | [MiniValine](https://minivaline.js.org/) | [Deta](https://deta.space) | [CloudBase](https://cloudbase.net) | - | [sodesu](https://github.com/BeiyanYunyi/sodesu) | [CloudBase](https://cloudbase.net/) | [MongoDB](https://mongodb.com) | - | | [百度云 CFC](https://console.bce.baidu.com/cfc/#/cfc/functions) | MySQL | - | | [阿里云 FC](https://fc.console.aliyun.com/) | SQLite | - | | [Railway](https://railway.app) | PostgreSQL | - | | [Render](https://render.com) | [GitHub](https://github.com) | - | | [Zeabur](https://zeabur.com) | [Deta Base](https://deta.space/docs/en/reference/base/about) | - | | [Netlify](https://netlify.com) | [TiDB](https://tidbcloud.com/) | - | | Docker | | - | | 独立部署 | | + + | | Waline | | + | ----------------------------------------------- | --------------------------------------------------------------- | ---------------------------------- | + | **客户端脚本** | **服务端部署** | **数据存储** | + | [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | + | [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://cloudbase.net) | + | [sodesu](https://github.com/BeiyanYunyi/sodesu) | [百度云 CFC](https://console.bce.baidu.com/cfc/#/cfc/functions) | [MongoDB](https://mongodb.com) | + | | [阿里云 FC](https://fc.console.aliyun.com/) | MySQL | + | | [Railway](https://railway.app) | SQLite | + | | [Render](https://render.com) | PostgreSQL | + | | [Zeabur](https://zeabur.com) | [GitHub](https://github.com) | + | | [Netlify](https://netlify.com) | [TiDB](https://tidbcloud.com/) | + | | Docker | | + | | 独立部署 | | ## Todo @@ -56,7 +56,7 @@ - [x] 登录支持 - [x] 评论管理 - [x] 评论删除 -- [x] 其它数据库服务支持 (已支持 LeanCloud, MySQL, MongoDB, SQLite, PostgreSQL, CloudBase, Deta Base, GitHub) +- [x] 其它数据库服务支持 (已支持 LeanCloud, MySQL, MongoDB, SQLite, PostgreSQL, CloudBase Base, GitHub) - [x] 基于 IP 的评论发布频率限制 - [x] 基于关键词的评论过滤限制 - [x] IP 黑名单 diff --git a/docs/src/advanced/faq.md b/docs/src/advanced/faq.md index e292b9a1fff..f7322341891 100644 --- a/docs/src/advanced/faq.md +++ b/docs/src/advanced/faq.md @@ -47,10 +47,6 @@ Waline 主要由前端和服务端两部分组成。 ![vercel](./assets/vercel-update.png) -#### Deta - -[Deta - 如何更新](../guide/deploy/deta.md#如何更新) - #### CloudBase 进入代码编辑界面,点击 保存并重新安装依赖 即可。如果还不行,则进入 我的应用 选择 部署 进行重新部署。 diff --git a/docs/src/advanced/intro.md b/docs/src/advanced/intro.md index ce6f3333c58..439f4727a3a 100644 --- a/docs/src/advanced/intro.md +++ b/docs/src/advanced/intro.md @@ -21,20 +21,19 @@ order: 1 - 免费部署 - 多种部署部署方式和存储服务支持,每列选择一项多达 243 种部署方式任君选择 -| | Waline | | -| ----------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------ | -| **客户端脚本** | **服务端部署** | **数据存储** | -| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | -| [MiniValine](https://minivaline.js.org/) | [Deta](https://deta.space) | [CloudBase](https://cloudbase.net) | -| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [CloudBase](https://cloudbase.net/) | [MongoDB](https://mongodb.com) | -| | [百度云 CFC](https://console.bce.baidu.com/cfc/#/cfc/functions) | MySQL | -| | [阿里云 FC](https://fc.console.aliyun.com/) | SQLite | -| | [Railway](https://railway.app) | PostgreSQL | -| | [Render](https://render.com) | [GitHub](https://github.com) | -| | [Zeabur](https://zeabur.com) | [Deta Base](https://deta.space/docs/en/reference/base/about) | -| | [Netlify](https://netlify.com) | [TiDB](https://tidbcloud.com/) | -| | Docker | | -| | 独立部署 | | +| | Waline | | +| ----------------------------------------------- | --------------------------------------------------------------- | ---------------------------------- | +| **客户端脚本** | **服务端部署** | **数据存储** | +| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | +| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://cloudbase.net) | +| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [百度云 CFC](https://console.bce.baidu.com/cfc/#/cfc/functions) | [MongoDB](https://mongodb.com) | +| | [阿里云 FC](https://fc.console.aliyun.com/) | MySQL | +| | [Railway](https://railway.app) | SQLite | +| | [Render](https://render.com) | PostgreSQL | +| | [Zeabur](https://zeabur.com) | [GitHub](https://github.com) | +| | [Netlify](https://netlify.com) | [TiDB](https://tidbcloud.com/) | +| | Docker | | +| | 独立部署 | | ## Todo @@ -51,7 +50,7 @@ order: 1 - [x] 用户标签 - [x] 评论管理 - [x] 评论删除 -- [x] 其它数据库支持 (已支持 LeanCloud, MySQL, MongoDB, SQLite, PostgreSQL, CloudBase, Deta, 轻服务, GitHub) +- [x] 其它数据库支持 (已支持 LeanCloud, MySQL, MongoDB, SQLite, PostgreSQL, CloudBase, GitHub, TiDB) - [x] 基于 IP 的发布评论频率限制 - [x] 基于关键词的评论过滤限制 - [x] IP 黑名单 diff --git a/docs/src/assets/deta-1.png b/docs/src/assets/deta-1.png deleted file mode 100644 index 1391347b98b..00000000000 Binary files a/docs/src/assets/deta-1.png and /dev/null differ diff --git a/docs/src/assets/deta-2.png b/docs/src/assets/deta-2.png deleted file mode 100644 index f312c171766..00000000000 Binary files a/docs/src/assets/deta-2.png and /dev/null differ diff --git a/docs/src/assets/deta-3.png b/docs/src/assets/deta-3.png deleted file mode 100644 index 0a65fc1f97f..00000000000 Binary files a/docs/src/assets/deta-3.png and /dev/null differ diff --git a/docs/src/assets/deta-4.png b/docs/src/assets/deta-4.png deleted file mode 100644 index d1c18a9c760..00000000000 Binary files a/docs/src/assets/deta-4.png and /dev/null differ diff --git a/docs/src/assets/deta.png b/docs/src/assets/deta.png deleted file mode 100644 index 66729a9daf5..00000000000 Binary files a/docs/src/assets/deta.png and /dev/null differ diff --git a/docs/src/assets/inspirecloud-1.jpg b/docs/src/assets/inspirecloud-1.jpg deleted file mode 100644 index e88701751bd..00000000000 Binary files a/docs/src/assets/inspirecloud-1.jpg and /dev/null differ diff --git a/docs/src/assets/inspirecloud-2.jpg b/docs/src/assets/inspirecloud-2.jpg deleted file mode 100644 index 4ffbd02ee2a..00000000000 Binary files a/docs/src/assets/inspirecloud-2.jpg and /dev/null differ diff --git a/docs/src/assets/inspirecloud-3.jpg b/docs/src/assets/inspirecloud-3.jpg deleted file mode 100644 index 3e77b502e51..00000000000 Binary files a/docs/src/assets/inspirecloud-3.jpg and /dev/null differ diff --git a/docs/src/assets/inspirecloud-4.jpg b/docs/src/assets/inspirecloud-4.jpg deleted file mode 100644 index 0f4e42a9a65..00000000000 Binary files a/docs/src/assets/inspirecloud-4.jpg and /dev/null differ diff --git a/docs/src/assets/inspirecloud-5.jpg b/docs/src/assets/inspirecloud-5.jpg deleted file mode 100644 index a3683fd692d..00000000000 Binary files a/docs/src/assets/inspirecloud-5.jpg and /dev/null differ diff --git a/docs/src/assets/inspirecloud-6.jpg b/docs/src/assets/inspirecloud-6.jpg deleted file mode 100644 index 71255729cb5..00000000000 Binary files a/docs/src/assets/inspirecloud-6.jpg and /dev/null differ diff --git a/docs/src/assets/inspirecloud-7.jpg b/docs/src/assets/inspirecloud-7.jpg deleted file mode 100644 index fb2660dd1ae..00000000000 Binary files a/docs/src/assets/inspirecloud-7.jpg and /dev/null differ diff --git a/docs/src/en/advanced/faq.md b/docs/src/en/advanced/faq.md index b025cab3290..28c3e3e08e7 100644 --- a/docs/src/en/advanced/faq.md +++ b/docs/src/en/advanced/faq.md @@ -49,10 +49,6 @@ Go to the corresponding GitHub repository and modify the version number of `@wal ![vercel](./assets/vercel-update.png) -#### Deta - -[Deta - How to update?](../guide/deploy/deta.md#how-to-update) - #### CloudBase Enter the code editing page, click Save and reinstall dependencies. If it still doesn’t work, enter My Application and select Deploy to redeploy. diff --git a/docs/src/en/advanced/intro.md b/docs/src/en/advanced/intro.md index 5781424b16a..1413f9f9d11 100644 --- a/docs/src/en/advanced/intro.md +++ b/docs/src/en/advanced/intro.md @@ -21,18 +21,17 @@ A simple comment system with backend support fork from [Valine](https://valine.j - Deploy free! - Multiple deploy and storage service support, at least 243 deploy style choice! -| | Waline | | -| ----------------------------------------------- | ----------------------------------- | ------------------------------------------------------------ | -| **Client** | **Server** | **Storage** | -| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | -| [MiniValine](https://minivaline.js.org/) | [Deta](https://deta.space) | [CloudBase](https://cloudbase.net) | -| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [CloudBase](https://cloudbase.net/) | [MongoDB](https://mongodb.com) | -| | [Railway](https://railway.app) | MySQL | -| | [Render](https://render.com) | SQLite | -| | [Zeabur](https://zeabur.com) | PostgreSQL | -| | [Netlify](https://netlify.com) | [GitHub](https://github.com) | -| | Docker | [Deta Base](https://deta.space/docs/en/reference/base/about) | -| | self host | [TiDB](https://tidbcloud.com/) | +| | Waline | | +| ----------------------------------------------- | ----------------------------------- | ---------------------------------- | +| **Client** | **Server** | **Storage** | +| [@waline/client](https://waline.js.org) | [Vercel](https://vercel.com) | [LeanCloud](https://leancloud.app) | +| [MiniValine](https://minivaline.js.org/) | [CloudBase](https://cloudbase.net/) | [CloudBase](https://cloudbase.net) | +| [sodesu](https://github.com/BeiyanYunyi/sodesu) | [Railway](https://railway.app) | [MongoDB](https://mongodb.com) | +| | [Render](https://render.com) | MySQL | +| | [Zeabur](https://zeabur.com) | SQLite | +| | [Netlify](https://netlify.com) | PostgreSQL | +| | Docker | [GitHub](https://github.com) | +| | self host | [TiDB](https://tidbcloud.com/) | ## Todo diff --git a/docs/src/en/guide/database.md b/docs/src/en/guide/database.md index ca239a706bd..09057859df3 100644 --- a/docs/src/en/guide/database.md +++ b/docs/src/en/guide/database.md @@ -119,14 +119,6 @@ Due to performance, using GitHub is not recommended. ::: -## Deta Base - -Deta provides [Deta Base](https://deta.space/docs/en/reference/base/about) free database support, which can be used even if it is not deployed on Deta. If deployed on Deta, there is no need to configure any environment variables. By default, Waline will use Deta Base as the database to store data. If it is deployed elsewhere, the following environment variables need to be configured. - -| Environment Variable | Required | Default | Description | -| -------------------- | -------- | ------- | ----------------------- | -| `DETA_PROJECT_KEY` | ✅ | | Deta project secret key | - ## Custom Besides above database storage, support for other storage services can also be added. diff --git a/docs/src/en/guide/deploy/deta.md b/docs/src/en/guide/deploy/deta.md deleted file mode 100644 index fd5af6ad0d0..00000000000 --- a/docs/src/en/guide/deploy/deta.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Deta deployment -icon: deta ---- - -[Deta](https://deta.space/) is a free-to-use serverless deployment platform. We can quickly deploy Waline to the Deta platform. - - - -## How to deploy - -[![Deploy with Deta](https://deta.space/buttons/dark.svg)](https://deta.space/discovery/@lizheming/waline) - -Click the button above to jump to the Waline page of the Deta application market, click Install on Space to automatically install the application after logging in. - -![Deta homepage](../../../assets/deta.png) - -Wait for a while to see the application on the homepage, and click it to open the deployed website address. Fill it in the `serverURL` configuration of the front-end script to complete the entire configuration. - -Add `/ui` after this URL can enter the admin dashboard. - -![Deta dashboard](../../../assets/deta-1.png) - -## How to update - -When there is an update, you will see a yellow bubble prompt on your application list page, click More to see the Update App option. - -![Update app](../../../assets/deta-2.png) - -After clicking, select Install App Update and wait for a while to update successfully. - -![Apply update](../../../assets/deta-3.png) - -## How to modify environment variables - -Click ... - Settings - Configuration under the application list Waline App to configure all environment variables. After the configuration is complete, click Save Changes at the bottom to save. - -![Update env vars](../../../assets/deta-4.png) diff --git a/docs/src/en/guide/get-started/server.md b/docs/src/en/guide/get-started/server.md index f1bfaa84e46..2618f84c6a2 100644 --- a/docs/src/en/guide/get-started/server.md +++ b/docs/src/en/guide/get-started/server.md @@ -10,8 +10,6 @@ In addition to deploying on Vercel for free, you can deploy via docker or direct - [Standalone deployment](../deploy/vps.md) -- [Deta](../deploy/deta.md) - - [Railway](../deploy/railway.md) ## Multiple Database Support diff --git a/docs/src/en/reference/server/env.md b/docs/src/en/reference/server/env.md index 981f1c3e5e9..8f9603df0b2 100644 --- a/docs/src/en/reference/server/env.md +++ b/docs/src/en/reference/server/env.md @@ -210,12 +210,6 @@ Please pay special attention that some mailboxes use separate SMTP passwords. | `GITHUB_REPO` | ✅ | | repository name, such as `walinejs/waline` | | GITHUB_PATH | | | The data storage directory, such as `data` means it is stored in the `data` directory, root directory by default | -### Deta Base - -| Environment Variable | Required | Default | Description | -| -------------------- | -------- | ------- | ----------------------- | -| `DETA_PROJECT_KEY` | ✅ | | Deta project secret key | - ## Advanced | Environment Variables | Default | Description | diff --git a/docs/src/guide/database.md b/docs/src/guide/database.md index 3eaee836f11..6172b30b977 100644 --- a/docs/src/guide/database.md +++ b/docs/src/guide/database.md @@ -138,14 +138,6 @@ Waline 支持将评论数据以 CSV 文件的格式存储在 GitHub 仓库中。 ::: -## Deta Base - -Deta 提供了 [Deta Base](https://deta.space/docs/en/reference/base/about) 免费数据库支持,即使不部署在 Deta 上也可以使用。如果部署在 Deta 上,不需要配置任何环境变量,Waline 默认会使用 Deta Base 作为数据库存储数据。如果是部署在其它地方,需要配置以下环境变量。 - -| 环境变量名称 | 必填 | 默认值 | 备注 | -| ------------------ | ---- | ------ | ------------- | -| `DETA_PROJECT_KEY` | ✅ | | Deta 项目密钥 | - ## 更多 除了以上数据库存储之外,waline 也能够很方便的扩展其它存储服务。 diff --git a/docs/src/guide/deploy/deta.md b/docs/src/guide/deploy/deta.md deleted file mode 100644 index 6baf76503e1..00000000000 --- a/docs/src/guide/deploy/deta.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Deta 部署 -icon: deta ---- - -[Deta](https://deta.space/) 是一个可免费使用的 Serverless 部署平台。我们可以快速的将 Waline 部署到 Deta 平台上。 - - - -## 如何部署 - -[![Deploy with Deta](https://deta.space/buttons/dark.svg)](https://deta.space/discovery/@lizheming/waline) - -点击上方按钮,跳转至 Deta 应用市场 Waline 页,点击 Install on Space 登录后即可自动安装应用。 - -![Deta 主页](../../assets/deta.png) - -稍等片刻即可在 首页上看到应用,点击后会打开部署后的网站地址。将其填入前端脚本的 `serverURL` 配置中,即可完成全部配置。 - -在该网址后增加 `/ui` 可以进入后台管理界面。 - -![Deta 工作板](../../assets/deta-1.png) - -## 如何更新 - -当有更新时,在你的应用程序列表页会看到黄色气泡提示,点击更多可以看到 Update App 选项。 - -![更新 App](../../assets/deta-2.png) - -点击后选择 Install App Update 稍等片刻后即可更新成功。 - -![应用更新](../../assets/deta-3.png) - -## 如何修改环境变量 - -在应用程序列表 Waline App 下点击 ... - Settings - Configuration 可以对所有的环境变量进行配置。配置完成后点击底部的 Save Changes 保存即可。 -![更新环境变量](../../assets/deta-4.png) diff --git a/docs/src/guide/get-started/server.md b/docs/src/guide/get-started/server.md index dbe2380e00e..62b539d7453 100644 --- a/docs/src/guide/get-started/server.md +++ b/docs/src/guide/get-started/server.md @@ -16,8 +16,6 @@ order: 2 - [Cloudbase](../deploy/cloudbase.md) -- [Deta](../deploy/deta.md) - - [Railway](../deploy/railway.md) ## 多数据库支持 diff --git a/docs/src/reference/server/env.md b/docs/src/reference/server/env.md index 786fec060fd..bc353256c7d 100644 --- a/docs/src/reference/server/env.md +++ b/docs/src/reference/server/env.md @@ -212,12 +212,6 @@ SMTP 的用户名通常均支持用户的完整邮箱,而密码大多同邮箱 | `GITHUB_REPO` | ✅ | | 仓库名称,例如 `walinejs/waline` | | `GITHUB_PATH` | | | 数据存储目录,例如 `data` 表示存储在 `data` 目录下,默认存在仓库根目录下 | -### Deta Base - -| 环境变量名称 | 必填 | 默认值 | 备注 | -| ------------------ | ---- | ------ | ------------- | -| `DETA_PROJECT_KEY` | ✅ | | Deta 项目密钥 | - ## 高级配置 | 环境变量名称 | 默认值 | 备注 |