Twikoo
A concise, safe and free static site commenting system, based on Tencent Cloud Development.
Install
npm i -D twikoo
Getting started
Apply for MongoDB account
Create a free MongoDB database, the recommended region is
AWS / N. Virginia (us-east-1)
Click CONNECT on the Clusters page, follow the steps to allow connections from all IP addresses (Why?), create Database user, and record the database connection string, please change the
<password>
in the connection string to the database passwordSign up for a Vercel account
Click the button below to deploy Twikoo to Vercel in one click
Go to Settings - Environment Variables, add the environment variable
MONGODB_URI
, the value is the database connection string in step 3Go to Overview, click the link under Domains, if the environment configuration is correct, you can see the prompt "Twikoo cloud function is running normally"
Vercel Domains (with
https://
prefix, e.g.https://xxx.vercel.app
) is your environment ID
Configuration
Please set provider: "Twikoo"
and set envId
in the plugin options.
For other configuration items, see Twikoo Config.