Twikoo
Last updated
Last updated
Twikoo, a concise, safe, and free static website commenting system developed based on Tencent Cloud.
View details:
https://github.com/imaegoo/twikoo
https://twikoo.js.org/
Ex. Tencent Cloud CloudBase usage tutorial, please check Twikoo documentation for other methods
If you plan to deploy to an existing cloud development environment, start directly with step 3.
Go to the event page, scroll to the "New User Exclusive" section, select a suitable package (usually a 0 yuan package), and click "Immediately". Buy", and follow the prompts to create a good environment. ::: tip
It is recommended to create a Shanghai environment. If you choose Guangzhou environment, you need to configure region: ap-guangzhou
Environment name is free to fill in
It is recommended to choose the billing method yearly and monthly
, the package version basic class 1
, no charge will be charged if the free quota is exceeded
If prompted to choose "Apply Template", choose "Empty Template" :::
Enter
Go to , enable "Anonymous Login"
Go to , and add the website domain name to "WEB security domain name"
Go to , click "Create Cloud Function"
Please fill in the function name: twikoo
, the creation method please select: blank function
, the operating environment please select: Nodejs 10.15
, the function memory please select: 128MB
, click "Next"
Clear the sample code in the input box, copy the following code, paste it into the "Function Code" input box, and click "OK"
After the creation is complete, click "twikoo" to enter the cloud function details page, enter the "Function Code" tab, click "File - New File", enter package.json
, and press Enter
Copy the following code, paste it into the code box, and click "Save and Install Dependencies"
Fill in the environment ID env_id
in the Redefine theme configuration file
If the Guangzhou environment is selected, the value of region
needs to be filled in as ap-guangzhou
. If Vercel
is used, region
can be left empty.
Twikoo comments plugin renderings.