{"id":13809201,"url":"https://github.com/tupio/ktu-notification-bot","last_synced_at":"2025-05-14T05:33:28.726Z","repository":{"id":50173027,"uuid":"196613652","full_name":"tupio/ktu-notification-bot","owner":"tupio","description":"A simple python script that fetch new notifications from https://ktu.edu.in/eu/core/announcements.htm and forwards into this Telegram Channel https://t.me/KTU_Notifications/ .","archived":false,"fork":false,"pushed_at":"2023-01-25T18:03:46.000Z","size":45,"stargazers_count":17,"open_issues_count":8,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-04T01:10:16.647Z","etag":null,"topics":["bot","ktu","ktu-notifications","python","telegram-bot","telegram-channel"],"latest_commit_sha":null,"homepage":" https://t.me/KTU_Notifications","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tupio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-12T16:47:17.000Z","updated_at":"2022-09-21T05:45:25.000Z","dependencies_parsed_at":"2023-02-14T10:16:09.052Z","dependency_job_id":null,"html_url":"https://github.com/tupio/ktu-notification-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupio%2Fktu-notification-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupio%2Fktu-notification-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupio%2Fktu-notification-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupio%2Fktu-notification-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tupio","download_url":"https://codeload.github.com/tupio/ktu-notification-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225277992,"owners_count":17448801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","ktu","ktu-notifications","python","telegram-bot","telegram-channel"],"created_at":"2024-08-04T01:02:07.939Z","updated_at":"2024-11-19T01:30:53.611Z","avatar_url":"https://github.com/tupio.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# KTU Notification Bot\n\n[![GitHub issues](https://img.shields.io/github/issues/tupio/ktu-notification-bot)](https://github.com/tupio/ktu-notification-bot/issues)\n[![GitHub forks](https://img.shields.io/github/forks/tupio/ktu-notification-bot)](https://github.com/tupio/ktu-notification-bot/network)\n[![GitHub stars](https://img.shields.io/github/stars/tupio/ktu-notification-bot)](https://github.com/tupio/ktu-notification-bot/stargazers)\n[![GitHub license](https://img.shields.io/github/license/tupio/ktu-notification-bot)](https://github.com/tupio/ktu-notification-bot/blob/master/LICENSE)\n\n[This bot]() scrapes [KTU Website](https://ktu.edu.in/eu/core/announcements.htm) and publishes a new post at [KTU Notifications](https://t.me/KTU_RC/) telegram channel.\n\n\u003e Consider placing a :star: for this repo :smile:.\n\n## Status\n\nInstances: **3(known)** \n\nTotal Subscriber Count including derivatives: **17500+**\n\nLinks:\n* [KTU Notifications](https://t.me/KTU_RC) This is maintained by me and contains no Ads.\n* [KTU Official Notification System](https://t.me/apjktustudents)\n* [Ktu study materials](http://t.me/ktustudymaterials)\n\n\n### Disclaimer\nPolling frequently can harm the site, and consume bandwidth of the original site.\n\n## Install \u0026 Development \n\nBefore you start with this repository, please make sure that you have installed python3 and postgresql. If not run the following command if you are on Linux or refer respective documentation of your distribution.\n\n`sudo apt-get install postgresql python3`\n\n1. Clone the repo to your local machine.\n\n  ```bash\n  git clone https://github.com/tupio/ktu-notification-bot.git\n  ```\n \n2. Change to `ktu-notification-bot` directory.\n\n  ```bash\n  cd ktu-notification-bot\n  ```\n \n3. Run the following command to install dependencies.\n \n  ```bash\n  pip install -r requirements.txt\n  ```\n \n 4. Add environmental variables\n \u003e Replace the contents in angled brakets with appropriate values.\n \n ```bash\n   export DATABASE_URL=postgres://$(whoami)\n   export PRIVATE_ID=\u003cEnter your telegram ID(This is a number and is not your username or phonenumber)\u003e\n   export CHANNEL_ID=\u003cAdd your channel ID here(give private id if only for private use)\u003e\n   export STATUS=\u003cDEBUG/RELEASE\u003e\n   export BOT_ID=\u003cyour bot id here\u003e\n   ```\n \n 5. Create a table with the name `hashes` with one column.\n \n 6. Run the bot using\n ```bash\n python scrapper.py\n ```\n\n\n## Contribute\n  I like this bot to be a community-driven and non-profit, hence I can't do it alone. An active contribution in terms of the following can be given.\n \n  ### 1. Development of Bot\n  The bot requires a huge improvement both in terms of efficiency and functionality.\n  \n  1. Add guides for different aspects.\n  2. Add a personal notification feature.\n  3. Increase reliability in terms of delivering notifications.\n\n  ### 2. Combine like-minded endeavors \n  It has been observed that there are many similar ideas of non-profit contributions like bots and channels all over the place. Consider merging it under one umbrella.\n  \n  ### 3. Support \n  You could support by joining [this channel](https://t.me/KTU_RC/), add this bot to your group or channel(pull a request or ping [me](https://t.me/tupio) with your group/channel id after adding to the same.)\n  \n  ### 4. Donate Or Sponsor\n   I'm currently limited to the free quota of the server to maintain the system. You could donate to me to upgrade to a paid server thus making room for further development. All the donator names will be mentioned on this page.\n   \n## License \n This project is under MIT License.\n Use for educational purposes only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftupio%2Fktu-notification-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftupio%2Fktu-notification-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftupio%2Fktu-notification-bot/lists"}