Giter Site home page Giter Site logo

jolice / moscowmetrobot Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 192 KB

A Telegram bot for planning routes in the Moscow Metropolitan

License: MIT License

Java 99.75% Shell 0.25%
moscow-metro stations bot telegram-bot statistics route-planner route-planning moscow hibernate routepl

moscowmetrobot's Introduction

Moscow Metro Bot

A Telegram bot for planning routes in the Moscow Metro.

Build Status Codacy Badge

Bot is avaliable at @Moscow_Metro_Bot

Running

To build the project and start the bot, use:

git clone [email protected]:riguron/MoscowMetroBot.git
cd MoscowMetroBot
mvn clean install && mvn spring-boot:run -pl Bootstrap -Dbot.token=TOKEN -Dbot.username=BOT_USERNAME

Do not forget to specify your bot's token and username. Alternatively, these values may be read from environment variables: bot.token and bot.username respectively.

Features

  • Construction of detailed text routes between any two stations in the Moscow Metro.
  • Prefix-based station name matching eliminating the need for specifying full station name.
  • Maintenance of statistics for the individual routes and stations.

Commands

Besides the route planning, the bot currently supports the following commands:

  • top: displays stations that are most commonly used in the routes.
  • stats: tells the statistics of a route (how many times it was built) or a station (how many routes involve this station).

A command must start with the slash.

Technologies used:

  • Spring Boot
  • Spring Data
  • Hibernate 5
  • TelegramBots
  • Apache Commons Collections
  • Google Gson
  • HSQL Database
  • Lombok
  • Maven

moscowmetrobot's People

Contributors

jolice 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.