university-news-notifier
v1.5.1
Published
Have your own open-source university feed notifier..
Downloads
4
Readme
:books: University News Notifier
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.
:+1: Usage
Start conversation with your bot
Bot will notify you when any announcement at your university
:sparkles: Contribution Guideline
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
:cloud: Deploy on your own notifier
:zap: Status
| University | Crawling Site | Status | | -----------------------------------------------------------------------|:----------------------------------------------------------:|:--------:| | Anadolu Universitesi | https://www.anadolu.edu.tr/duyurular | OK | | Boğaziçi Universitesi | http://bogazici.edu.tr/tr-TR/Content/Duyurular/Duyurular | OK | | Dokuz Eylül | http://www.eng.deu.edu.tr | OK | | Ege Üniversitesi | http://bilmuh.ege.edu.tr/ | OK | | Eskişehir Osmangazi Üniversitesi | https://www.ogu.edu.tr | OK | | İstanbul Teknik Universitesi | http://www.itu.edu.tr/duyuru | OK | | Ondokuz Mayıs Universitesi | http://www.omu.edu.tr/tr/tum-haberler | OK | | Pamukkale | http://www.pamukkale.edu.tr/bilgisayar | OK | | Yildiz Technical | https://ytuce.maliayas.com/ | OK |
Lets parse your university feeds :smiling_imp:
Or maybe help us for rss parsing feature.
Even you can support with your server, we don't want run on heroku.
:octocat: Contributors
Hosting backed by PlusClouds
Thanks for sponsorships :+1: