When any announcement at your university, notifier will notify you via telegram.
Node.js module to interact with official Telegram Bot API. A bot token is needed, to obtain one, talk to and create a new bot.
Start conversation with your bot
Bot will notify you when any announcement at your university
This guide will show you how to build and contribute to the project.
Clone and install dependencies
git clone https://github.com/cagataycali/university-news-notifier.git
cd university-news-notifier
npm install
Add your parser in sites directory
Example parser json file,
{
"university": "Pamukkale Üniversitesi",
"faculity": "Computer Engineering",
"home":"http://www.pamukkale.edu.tr",
"url": "http://www.pamukkale.edu.tr/bilgisayar/tr/haberler",
"scrape": {
"news": {
"listItem": "tr",
"name": "announcement",
"data": {
"url": {
"selector": "a.tumunuGorLink",
"attr": "href"
},
"title": "div.tumunuGorBaslik",
"publishedAt": "div.tumunuGorTarih"
}
}
}
}
Even you can add your rss listener,
{
"university": "Yildiz Teknik Üniversitesi",
"faculity": "Computer Engineering",
"rss": "https://ytuce.maliayas.com/?type=rss"
}
Also you can add your university parser with native javascript,
Check out:
sites/kou.js
Update university list
Check out here
Test your parser
Check out here
Run end to end test for results
npm run test
Lets parse your university feeds 😈
Or maybe help us for rss parsing feature.
Even you can support with your server, we don't want run on heroku.
Hosting backed by PlusClouds
Thanks for sponsorships 👍