twikoo 1.5.2 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +147 -0
- package/README.md +6 -5
- package/dist/twikoo.all.min.js +1 -1
- package/dist/twikoo.all.min.js.LICENSE.txt +2 -2
- package/dist/twikoo.min.js +1 -1
- package/dist/twikoo.min.js.LICENSE.txt +2 -2
- package/package.json +1 -1
package/README.en.md
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
<a href="https://twikoo.js.org/"><img src="./docs/static/logo.png" width="300" alt="Twikoo"></a>
|
|
2
|
+
|
|
3
|
+
----
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/twikoo)
|
|
6
|
+
[](https://bundlephobia.com/result?p=twikoo)
|
|
7
|
+
[](https://www.npmjs.com/package/twikoo)
|
|
8
|
+
[](https://www.jsdelivr.com/package/npm/twikoo)
|
|
9
|
+
[](./LICENSE)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
A **simple**, **safe**, **free** comment system based on Tencent CloudBase (tcb).
|
|
13
|
+
[简体中文](./README.md) | **English**
|
|
14
|
+
|
|
15
|
+
**This document is for American English.**
|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary>Click to view.</summary>
|
|
21
|
+
|
|
22
|
+
### Simple
|
|
23
|
+
|
|
24
|
+
* Free Build.(Using Tencent CloudBase as the commenting backend, each user enjoys 1 free standard basic version 1 resource package for a long time)
|
|
25
|
+
* Simple Deployment.(Support one-click deployment, manual deployment, command deployment)
|
|
26
|
+
|
|
27
|
+
### Easy to use
|
|
28
|
+
|
|
29
|
+
* Support reply, like.
|
|
30
|
+
* No additional adaptations, support with light theme and dark theme use.
|
|
31
|
+
* Support API , batch get article comment count, latest comments.
|
|
32
|
+
* Visitors entering QQ number in the nickname field will automatically complete the QQ nickname and QQ email.
|
|
33
|
+
* Visitors fill in the digital QQ e-mail, will use the QQ avatar as the comment avatar.
|
|
34
|
+
* Support the comment to paste pictures.(Can be disabled)
|
|
35
|
+
* Support inserting pictures.(Can be disabled)
|
|
36
|
+
* Support 7bu image bed, Tencent CloudBase image bed.
|
|
37
|
+
* Support inserting emoji.(Can be disabled)
|
|
38
|
+
* Support Ctrl + Enter reply.
|
|
39
|
+
* Comments are saved in draft in real time and will not be lost when refreshed.
|
|
40
|
+
* [Support Katex formulas.](https://twikoo.js.org/faq.html#%E5%A6%82%E4%BD%95%E5%90%AF%E7%94%A8-katex-%E6%94%AF%E6%8C%81)
|
|
41
|
+
* Support for code highlighting by language.
|
|
42
|
+
|
|
43
|
+
### Security
|
|
44
|
+
|
|
45
|
+
* Privacy and information security. (sensitive fields (email, IP, environment configuration, etc.) are not leaked through Tencent cloud function control)
|
|
46
|
+
* Support for Akismet spam comment detection.(View Details [akismet.com](https://akismet.com/))
|
|
47
|
+
* Support Tencent Cloud content security spam comment detection.(View Details [Tencent Cloud Content Security](https://console.cloud.tencent.com/cms/text/overview))
|
|
48
|
+
* Support manual review mode.
|
|
49
|
+
* Anti XSS Attack.
|
|
50
|
+
* Support for limiting the maximum number of comments per IP per 10 minutes.
|
|
51
|
+
|
|
52
|
+
### notification
|
|
53
|
+
|
|
54
|
+
* E-mail(Visitors and Blogger)
|
|
55
|
+
* Wechat(only Blogger, [Server酱](https://sc.ftqq.com/3.version))
|
|
56
|
+
* QQ(only Blogger, [Qmsg酱](https://qmsg.zendee.cn/))
|
|
57
|
+
|
|
58
|
+
### Personalization
|
|
59
|
+
|
|
60
|
+
* Background image.
|
|
61
|
+
* the "blogger" logo text.
|
|
62
|
+
* Notification Email Template.
|
|
63
|
+
* Comment prompt message.(placeholder)
|
|
64
|
+
* emoji([OwO 的数据格式](https://cdn.jsdelivr.net/npm/owo@1.0.2/demo/OwO.json))
|
|
65
|
+
* 【Nickname】 【Email】 【Website】 Required / Optional
|
|
66
|
+
* Code highlighting theme.
|
|
67
|
+
|
|
68
|
+
### Management
|
|
69
|
+
|
|
70
|
+
* Embedded panel with password login to easily view comments, hide comments, delete comments and modify configuration.
|
|
71
|
+
* Support to hide the management portal and show it by entering a secret code.
|
|
72
|
+
* Support for importing comments from Valine, Artalk, Disqus.
|
|
73
|
+
|
|
74
|
+
### Disadvantages
|
|
75
|
+
|
|
76
|
+
* Slower requests. (except China)
|
|
77
|
+
* Deployment requires real name authentication.
|
|
78
|
+
* IE is not supported.
|
|
79
|
+
|
|
80
|
+
</details>
|
|
81
|
+
|
|
82
|
+
## Preview
|
|
83
|
+
|
|
84
|
+
<details>
|
|
85
|
+
<summary>Click to view.</summary>
|
|
86
|
+
|
|
87
|
+
### Comments
|
|
88
|
+
|
|
89
|
+

|
|
90
|
+
|
|
91
|
+
### Management
|
|
92
|
+
|
|
93
|
+

|
|
94
|
+
|
|
95
|
+
### Notification
|
|
96
|
+
|
|
97
|
+

|
|
98
|
+
|
|
99
|
+
</details>
|
|
100
|
+
|
|
101
|
+
## Quick Start
|
|
102
|
+
|
|
103
|
+
[](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgithub.com%2Fimaegoo%2Ftwikoo&branch=main)
|
|
104
|
+
|
|
105
|
+
[View Details](https://twikoo.js.org/quick-start.html)
|
|
106
|
+
|
|
107
|
+
<details>
|
|
108
|
+
<summary>If you want to get updates, make suggestions and participate in the test, welcome to join the discussion group:1080829142 (QQ)</summary>
|
|
109
|
+
<img height="300" alt="1080829142" src="https://www.imaegoo.com/gallery/2020/hello-twikoo.png" />
|
|
110
|
+
</details>
|
|
111
|
+
|
|
112
|
+
<!-- ## Contributors -->
|
|
113
|
+
|
|
114
|
+
## Special Thanks
|
|
115
|
+
|
|
116
|
+
Icon design:[Maemo Lee](https://www.maemo.cc)
|
|
117
|
+
|
|
118
|
+
<!-- ## Donate -->
|
|
119
|
+
|
|
120
|
+
## Release notes & plans
|
|
121
|
+
|
|
122
|
+
[Update logs](https://github.com/imaegoo/twikoo/releases) & [Development Plan](https://github.com/imaegoo/twikoo/projects/2)
|
|
123
|
+
|
|
124
|
+
## Development
|
|
125
|
+
|
|
126
|
+
If you want to develop locally for a second time, you can refer to the following commands:
|
|
127
|
+
|
|
128
|
+
``` sh
|
|
129
|
+
yarn dev # (http://localhost:9820/demo.html)
|
|
130
|
+
yarn lint
|
|
131
|
+
yarn build # (dist/twikoo.all.min.js)
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
If your changes can help more people, feel free to submit a Pull Request!
|
|
135
|
+
|
|
136
|
+
## I18N
|
|
137
|
+
|
|
138
|
+
Support Simplified Chinese, Traditional Chinese, English. [translate Pull Request](https://github.com/imaegoo/twikoo/tree/main/src/js/utils/i18n).
|
|
139
|
+
|
|
140
|
+
## License
|
|
141
|
+
|
|
142
|
+
<details>
|
|
143
|
+
<summary>MIT License</summary>
|
|
144
|
+
|
|
145
|
+
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fimaegoo%2Ftwikoo?ref=badge_large)
|
|
146
|
+
|
|
147
|
+
</details>
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<img src="./docs/static/logo.png" width="300" alt="Twikoo">
|
|
1
|
+
<a href="https://twikoo.js.org/"><img src="./docs/static/logo.png" width="300" alt="Twikoo"></a>
|
|
2
2
|
|
|
3
3
|
----
|
|
4
4
|
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
[](https://www.jsdelivr.com/package/npm/twikoo)
|
|
9
9
|
[](./LICENSE)
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
A simple
|
|
11
|
+
一个**简洁**、**安全**、**免费**的静态网站评论系统,基于[腾讯云开发](https://curl.qcloud.com/KnnJtUom)。<br>
|
|
12
|
+
A **simple**, **safe**, **free** comment system based on Tencent CloudBase (tcb).
|
|
13
|
+
**简体中文** | [English](./README.en.md)
|
|
13
14
|
|
|
14
15
|
## 特色 | Features
|
|
15
16
|
|
|
@@ -97,7 +98,7 @@ A simple, safe, free comment system based on Tencent CloudBase (tcb).
|
|
|
97
98
|
|
|
98
99
|
## 快速上手 | Quick Start
|
|
99
100
|
|
|
100
|
-
[](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgithub.com%2Fimaegoo%2Ftwikoo&branch=
|
|
101
|
+
[](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgithub.com%2Fimaegoo%2Ftwikoo&branch=main)
|
|
101
102
|
|
|
102
103
|
有关详细教程,请查看[快速上手](https://twikoo.js.org/quick-start.html)
|
|
103
104
|
|
|
@@ -132,7 +133,7 @@ yarn build # 编译 (dist/twikoo.all.min.js)
|
|
|
132
133
|
|
|
133
134
|
## 国际化 | I18N
|
|
134
135
|
|
|
135
|
-
支持简体中文、繁体中文、English。欢迎[提交翻译 PR](https://github.com/imaegoo/twikoo/tree/
|
|
136
|
+
支持简体中文、繁体中文、English。欢迎[提交翻译 PR](https://github.com/imaegoo/twikoo/tree/main/src/js/utils/i18n)。
|
|
136
137
|
|
|
137
138
|
## 许可 | License
|
|
138
139
|
|