-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
97 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ charset = utf-8 | |
[{*.js,*.json,*.vue,*.html,*.css}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const version = '1.6.0-beta.1' | ||
const version = '1.6.0-beta.2' | ||
|
||
export { version } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "twikoo-func", | ||
"version": "1.6.0-beta.1", | ||
"version": "1.6.0-beta.2", | ||
"description": "A simple comment system.", | ||
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Twikoo 私有部署服务端 | ||
|
||
## 安装 | ||
|
||
``` | ||
npm i -g tkserver | ||
``` | ||
|
||
## 启动 | ||
|
||
``` | ||
tkserver | ||
``` | ||
|
||
## 环境变量 | ||
|
||
| 名称 | 描述 | 默认值 | | ||
| ---- | ---- | ---- | | ||
| `TWIKOO_DATA` | 数据库存储路径 | `./data` | | ||
| `TWIKOO_PORT` | 端口号 | `8080` | | ||
| `TWIKOO_THROTTLE` | IP 请求限流,当同一 IP 短时间内请求次数超过阈值将对该 IP 返回错误 | `250` | |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
{ | ||
"name": "twikoo-server", | ||
"version": "1.6.0-beta.1", | ||
"name": "tkserver", | ||
"version": "1.6.0-beta.2", | ||
"description": "A simple comment system.", | ||
"keywords": [ | ||
"twikoo", | ||
"twikoojs", | ||
"comment", | ||
"comment-system" | ||
], | ||
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)", | ||
"license": "MIT", | ||
"main": "server.js", | ||
"bin": { | ||
"twikoo": "server.js" | ||
"tkserver": "server.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/imaegoo/twikoo.git" | ||
}, | ||
"homepage": "https://twikoo.js.org", | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"dependencies": { | ||
"lokijs": "^1.5.12", | ||
"twikoo-func": "1.6.0-beta.1", | ||
"twikoo-func": "1.6.0-beta.2", | ||
"uuid": "^8.3.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "twikoo-vercel", | ||
"version": "1.6.0-beta.1", | ||
"version": "1.6.0-beta.2", | ||
"description": "A simple comment system.", | ||
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)", | ||
"license": "MIT", | ||
|
@@ -12,7 +12,7 @@ | |
"homepage": "https://twikoo.js.org", | ||
"dependencies": { | ||
"mongodb": "^3.6.3", | ||
"twikoo-func": "1.6.0-beta.1", | ||
"twikoo-func": "1.6.0-beta.2", | ||
"uuid": "^8.3.2" | ||
} | ||
} |