Skip to content

Commit 1a597f4

Browse files
committed
Merge branch 'derogab:master' into master
2 parents ea70530 + 9ddc47b commit 1a597f4

File tree

8 files changed

+195
-211
lines changed

8 files changed

+195
-211
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131

3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434

3535
- name: Build image
3636
run: docker build -f ./docker/Dockerfile .
@@ -49,7 +49,7 @@ jobs:
4949

5050
steps:
5151
- name: Checkout
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v5
5353

5454
- name: Set up QEMU
5555
uses: docker/setup-qemu-action@v3

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
| `CLOUDFLARE_ACCOUNT_ID` | Cloudflare account ID (optional, for Cloudflare AI) | - |
3131
| `CLOUDFLARE_AUTH_KEY` | Cloudflare authorization key (optional, for Cloudflare AI) | - |
3232
| `CLOUDFLARE_MODEL` | Cloudflare model name (optional, for Cloudflare AI) | - |
33+
| `CRON_SCHEDULE` | Cron schedule for automatic summaries, in [cron syntax](https://nodecron.com/cron-syntax.html) (optional). Set to `never` to disable. | 59 23 * * * |
3334
| `REDIS_URL` | URL for the Redis server (optional) | redis://localhost:6379 |
3435
| `MSG_LENGTH_LIMIT` | Minimum message length to trigger automatic summarization | 1000 |
3536

package-lock.json

Lines changed: 97 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "summarygram",
3-
"version": "0.2.0",
3+
"version": "0.4.0",
44
"description": "A telegram bot to summarize last N messages",
55
"main": "index.js",
66
"scripts": {
@@ -10,15 +10,14 @@
1010
"author": "derogab",
1111
"license": "MIT",
1212
"dependencies": {
13-
"axios": "1.11.0",
14-
"dotenv": "17.2.1",
15-
"grammy": "1.37.0",
16-
"ollama": "0.5.16",
17-
"openai": "5.11.0",
18-
"redis": "5.7.0"
13+
"@derogab/llm-proxy": "0.2.0",
14+
"dotenv": "17.2.3",
15+
"grammy": "1.38.3",
16+
"node-cron": "4.2.1",
17+
"redis": "5.8.3"
1918
},
2019
"devDependencies": {
21-
"@types/node": "^24.1.0",
22-
"typescript": "^5.9.2"
20+
"@types/node": "^24.8.1",
21+
"typescript": "^5.9.3"
2322
}
2423
}

0 commit comments

Comments
 (0)