inkdrift 0.1.1 → 0.1.3

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.md CHANGED
@@ -27,7 +27,7 @@ npm install
27
27
 
28
28
  ## 配置
29
29
 
30
- `.env` 文件中配置以下环境变量:
30
+ `~/.inkdrift` 文件中配置以下环境变量:
31
31
 
32
32
  | 变量 | 必填 | 说明 |
33
33
  |------|------|------|
@@ -72,14 +72,6 @@ GLM_API_KEY=xxx
72
72
  EOF
73
73
  ```
74
74
 
75
- 或从 Gitea secrets 下载:
76
-
77
- ```bash
78
- export GITEA_TOKEN=your_gitea_read_token
79
- wget -q -O ~/.inkdrift \
80
- "http://mini.totoro.studio:3000/api/v1/repos/goldyard/secrets/raw/inkdrift.env?token=$GITEA_TOKEN"
81
- ```
82
-
83
75
  ### 2. 启动
84
76
 
85
77
  ```bash
@@ -87,15 +79,6 @@ nmem serve &
87
79
  npx inkdrift
88
80
  ```
89
81
 
90
- ### 3. 更新配置
91
-
92
- 修改 [secrets 仓库](http://mini.totoro.studio:3000/goldyard/secrets) 中的 `inkdrift.env` 并 push,然后在服务器重新下载:
93
-
94
- ```bash
95
- wget -q -O ~/.inkdrift \
96
- "http://mini.totoro.studio:3000/api/v1/repos/goldyard/secrets/raw/inkdrift.env?token=$GITEA_TOKEN"
97
- ```
98
-
99
82
  ## 项目结构
100
83
 
101
84
  ```
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inkdrift",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "WeChat public account article knowledge distiller bot",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",