Giter Site home page Giter Site logo

emergencybot's Introduction

Emergency Numbers Bot

Build Status

A telegram bot that helps you getting emergency numbers

  • the official bot is here
  • Contribution is really appreciated.
  • This bot use the emergencyserver as backend. You can find the repo here

How do I get set up?

  • You have to install java oracle jdk 8 to continue

  • clone this repository

  • compile it with: ./gradlew clean stage

  • remember to set up this environment variables: TELEGRAM_SERVER_TOKEN, TELEGRAM_BOT_TOKEN, PORT and EMERGENCY_URL

  • run it with: java -cp build/libs/emergencybot.jar it.itjustworks.emergencybot.server.Server

  • run tests with: ./gradlew clean check

  • For the documentation please see the telegram bot api

Contribution guidelines

For Developers:
  • First of all we use TDD so test your code.
  • Comment your code so that we can understand what you want to do.
  • Submit your pull request.
For Others:
  • Contact us and explain your idea or your problem
  • We will reply you as soon as possible

Who do I talk to?

  • For any problem open an issue

List of all commands and what the bot can do

  • /start --> start the chat
  • /help --> show a little guide on how to use it
  • /credits --> find out who is the developer
  • /feedback --> say us what you think about the bot
  • send your location --> show the police, medical and fire numbers of the country you are

use docker compose and run it locally

version: '2'

services:
  app:
    image: therickys93/emergencybot
    environment:
      - TELEGRAM_BOT_TOKEN=your_token
      - TELEGRAM_SERVER_TOKEN=123
      - PORT=80
  proxy:
    image: therickys93/proxy
    ports:
      - "80:80"

emergencybot's People

Contributors

therickys93 avatar

Stargazers

Jonas Rosado avatar

Watchers

James Cloos avatar Pierantonio Fanigliulo avatar  avatar

Forkers

therickys93

emergencybot's Issues

backend url as variable

add the possibility to make the backend url an environment variable so it is more easy to integrate all the system using docker

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.