Giter VIP home page Giter VIP logo

toripoliisi-ts's Introduction

Toripoliisi

Toripoliisi is a Telegram bot made for checking new items from Tori.fi searches periodically (once per minute). Users can ask Toripoliisi to keep checking specific URL:s for new items, and when new items arrive, the bot will send Telegram message with preview image to the user. This bot was developed because Tori's own similar feature called Hakuvahti is crap: the email is sent only daily, and the mobile app is super annoying, sending fake notifications, and overall being buggy and unusable at times. In addition, even the push notifications seem to arrive later to some users, so using external service such as this Toripoliisi seems to give some advantage. The bot should be running in Telegram bebind a nickname called @Toripoliisibot.

Originally this code was written with Deno, but then it got old and didn't launch anymore, due to some packages getting deprecated and whatnot. After I got pissed at Hakuvahti and Tori app again, I decided to revive this project and ran the whole codebase throuch ChatGPT, since I really didn't remember how this worked and I didn't want to use more time than what was necessary :-) ChatGPT did quite good job to be honest, even when changing to entirely different dependencies, so hooray AI!

Starting the bot locally

This bot is written using Typescript. Run this command when developing:

npm run dev

In order for Bot to start successfully, you need .env file with telegram bot TOKEN.

Project future

I have no plans to extend the bot functionalities further. But pull requests are very welcome! You can also message me via Telegram @Mighop.

toripoliisi-ts's People

Contributors

migho avatar mikrh avatar

Watchers

 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.