Code Monkey home page Code Monkey logo

telegram-cafe-nomad's Introduction

Telegram Cafe Nomad

Build Status codecov Dependency Status

This is telegram bot for helping you find cafe store, thanks howtomakeaturn provide API.

Usage

First, You need have Telegram account!

  1. Send /newbot command for @BotFather to create new Bot after you will get bot token.

  2. Setting your Bot Token and Google Maps API Token into .env, we have sample .env.example for reference.

  3. Running yarn install for installation dependencies.

  4. After install, you can run yarn start for boot up Telegram Bot.

$ yarn install
$ yarn start

Command

  • /start - Start telegram bot.
  • /help - List all command what you can use.
  • /list - List all city.
  • /choose - Click button choose a city.
  • /where cityName - You will get random five cafe stores information in that city.
  • /location - Getting your position and check your city whether in API list, based on your location use Google Maps API calculate close to you cafe store.

Screenshot

Cafe Nomad

Deploy

You can deploy Telegram Bot on 𝚫 now or Heroku platform, before deploy bot, you need setting environment variables on .env.

Lint

$ yarn run lint

Format

Use prettier for formatting our codes.

$ yarn run format

Test

$ yarn test

Cafe Nomad API

Cafe Nomad API 1.0 Version

Related

LICENSE

MIT © Peng Jie

telegram-cafe-nomad's People

Contributors

neighborhood999 avatar dependabot[bot] 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.