civil / github2telegram Goto Github PK
View Code? Open in Web Editor NEWBot that can send notification of new releases to Telegram
License: Apache License 2.0
Bot that can send notification of new releases to Telegram
License: Apache License 2.0
It seems if API returns an error, bot won't retry sending a notification. Also sometimes it completely stops sending messages to that chat until restarted.
That needs to be reworked.
---
listen: ":6060"
logger:
- logger: ''
file: stdout
level: debug
encoding: json
encoding_time: iso8601
encoding_duration: seconds
database_type: sqlite3
database_url: "./github2telegram.sqlite3"
database_login: ''
database_password: ''
admin_username: "your_telegram_nick"
polling_interval: "30m"
endpoints:
telegram:
token: "YOUR_TOKEN_GOES_HERE"
type: telegram
Bot uses telegram-bot-api which seems to be abandoned. I should migrate it to telego
Hello, there are some repos, that aren't exist anymore. For example, yandex/ClickHouse is ClickHouse/ClickHouse now. Is there any way to replace it or remove?
Currently bot will keep trying
После запуска, бот сразу завершается. В логах следующее:
{"level":"INFO","timestamp":"2018-09-20T16:29:07.420+0300","logger":"main","message":"Will apply config from file","config_file":"config.yaml"} {"level":"DEBUG","timestamp":"2018-09-20T16:29:07.731+0300","logger":"telegram","message":"Always authorized on account","account":"bot"} {"level":"INFO","timestamp":"2018-09-20T16:29:07.731+0300","logger":"main","message":"github2telegram initialized","config":{"Listen":":6060","Logger":[{"logger":"","file":"stdout","level":"debug","encoding":"json","encoding-time":"","encoding-duration":"","sample-tick":"","sample-initial":0,"sample-thereafter":0}],"DatabaseType":"sqlite3","DatabaseURL":"./github2telegram.db","DatabaseLogin":"","DatabasePassword":"","AdminUsername":"user","PollingInterval":300000000000,"Endpoints":{"telegram":{"Token":"token","Url":"","Type":"telegram"}}}} {"level":"DEBUG","timestamp":"2018-09-20T16:29:07.731+0300","logger":"updateFeeds","message":"feeds initialized","feeds":null}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.