https://github.com/jehy/gotogram
Small app to sync messages from gotify to telegram
https://github.com/jehy/gotogram
gotify sync telegram telegrambot
Last synced: 3 months ago
JSON representation
Small app to sync messages from gotify to telegram
- Host: GitHub
- URL: https://github.com/jehy/gotogram
- Owner: jehy
- Created: 2026-03-21T16:53:59.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2026-03-21T22:22:19.000Z (3 months ago)
- Last Synced: 2026-03-22T10:57:08.550Z (3 months ago)
- Topics: gotify, sync, telegram, telegrambot
- Language: TypeScript
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gotogram

[](https://snyk.io/test/github/jehy/gotogram)
Simple app to sync messages from gotify to telegram
## Install with docker compose
```yml
version: '3.9'
services:
gotogram:
image: ghcr.io/jehy/gotogram/gotogram:latest
container_name: gotogram
restart: unless-stopped
deploy:
resources:
limits:
cpus: '0.3'
memory: 200M
environment:
GOTIFY_WS_URL: wss://gotify.yourdomain.com/stream #websocket gotify url, should start from ws if http, and from wss if https. Should end with /stream.
GOTIFY_TOKEN: XXXXX
TELEGRAM_BOT_TOKEN: XXX:YYY
TELEGRAM_CHAT_ID: xxx
```
Set `TELEGRAM_BOT_TOKEN` value to token from [@BotFather](https://t.me/BotFather)
You can also use environment variable `DEBUG: true` to pring messages from gotify.
## Launch without docker
NodeJS 24+ required.
1. `git clone https://github.com/jehy/gotogram.git`
2. `cd gotogram`
3. `npm ci`
4. `GOTIFY_WS_URL=wss://gotify.domain.com/stream GOTIFY_TOKEN=XXX TELEGRAM_BOT_TOKEN=XXX:YYY TELEGRAM_CHAT_ID=ZZZ node src/index.ts`
## FAQ
**Why not gotify plugin?**
* I don't like the idea of recompiling plugun every time I update gotify
* Sometimes you need to put telegram client on another server from gotify
* I like putting different tasks on different docker containers
* Separate container should work fine without updates as long as gotify does not change it's websocket API
## See also
**Plugins:**
* https://github.com/anhbh310/gotify2telegram - seems abandoned, and I could not manage forks to work
* https://github.com/0xpetersatoshi/gotify-to-telegram - seems abandoned
**Standalone Apps:**
* https://github.com/Tiagura/gotigram - almost same as this one (gotogram), I didn't manage to google it until I wrote my own :) Even the title is simular. It's written in go, so it consumes less resources. Also it's more powerful, but more complex and may be less easy to set up.