Code Monkey home page Code Monkey logo

university-news-notifier's Introduction

📚 University news notifier

Bot API https://t.me/cagataycali https://t.me/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"
}

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
Yildiz Technical https://ytuce.maliayas.com/ OK
Pamukkale http://www.pamukkale.edu.tr/bilgisayar OK
Dokuz Eylül http://www.eng.deu.edu.tr OK
Anadolu Universitesi https://www.anadolu.edu.tr/duyurular OK
İstanbul Teknik Universitesi http://www.itu.edu.tr/duyuru 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

university-news-notifier's People

Contributors

cagataycali avatar mucahiddogan avatar barisesen avatar murat avatar

Watchers

James Cloos avatar  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.