GithubHelp home page GithubHelp logo

afsarturgay / university-news-notifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cagataycali/university-news-notifier

0.0 2.0 0.0 1.53 MB

:books: University news notifier

License: MIT License

JavaScript 100.00%

university-news-notifier's Introduction

📚 University News Notifier

Bot API @UniversityNewsNotifierBot @cagataycali @emrfs

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 @botfather and create a new bot.

👍 Usage

Start conversation with your bot

init

Bot will notify you when any announcement at your university

news

✨ 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

☁️ Deploy on your own notifier

Deploy

⚡ 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 😈

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 👍

Backed by PlusClouds

university-news-notifier's People

Contributors

cagataycali avatar murat avatar mucahiddogan avatar barisesen avatar harunoz avatar unicod3 avatar emre-kul avatar muhammedfurkan avatar mypolat avatar

Watchers

James Cloos avatar Turgay Afsar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.