A concise, safe and free static site commenting system, based on Tencent Cloud Development.
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 password
Sign 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 3
Go 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://xxx.vercel.app) is your environment ID