Coder Social home page Coder Social logo

rbertolig / google-calendar-telegram-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from demian85/google-calendar-telegram-bot

0.0 0.0 0.0 19 KB

This bot can interact with Google Calendar API, allowing you to easily add/manage events

JavaScript 100.00%

google-calendar-telegram-bot's Introduction

Telegram bot using Google Calendar API

This bot can interact with Google Calendar API, allowing you to easily add/manage events.

This is currently up and running and you may use it: https://telegram.me/google_calendar_bot

English support with more features coming soon!

Interaction

You can just add an event to your default calendar by sending a message to the bot following these rules (only spanish for now):

<event name>, <when> <reminder>

<when> can be specified using multiple formats. Examples:

* mañana 18 (mañana a las 18hs)
* hoy 16 (hoy a las 16hs)
* mie 8-10 (próximo Miércoles de 8 a 10hs)
* lun 9:30 (próximo Lunes 9:30am)
* abr 10 (10 de Abril, todo el día)
* sep 2 9:30-10:45 (2 de Septiembre de 9:30 a 10:45am)

<reminder> is optional. Examples:

* 10m (10 minutos antes)
* 1h (1 hora antes)
* 1d (1 día antes)

Full examples:

* entrevista, mañana 9, 12h
* cumple de pepe, vie 20

Setup

* Create a bot: https://core.telegram.org/bots
* Create a config.json file in the root directory with the same schema as config-default.json
* Register your app using Google developers console: https://console.developers.google.com/
* Download and save your `client_secret.json` in the root directory
* Install MongoDB: https://www.mongodb.org
* `npm install && npm start`

google-calendar-telegram-bot's People

Contributors

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