Giter Club home page Giter Club logo

telegram-bot-magnolia's Introduction

Magnolia Telegram Bot

Magnolia compatibility License Info Telegram

This module instantiates a Telegram Bot, which accesses to the contents of Magnolia. Initially, this bot is designed to work with the community demo version. It only allows to search the tours and assets and also to publish pages when the user has logged in through the bot. In addition, it can be easily extended to access other workpspaces.

How does it work

The module instantiates the bot on the Author server through the API Telegram Bot and accesses the contents of Magnolia through the REST API of Magnolia. Once it started, a keyboard with the different commands available will be displayed.

Features

The following actions are allowed through keyboard commands:

Start:

start command

Search tours:

Search tours

Search assets:

Search assets

Login:

Login

Publish:

Publish

Logout:

Publish

Configuration

First, we create a new bot using the Bot Father of Telegram. We generate an API key for the bot and the desired bot name. Then, we add the API key and the name that we have generated in the module configuration.

Config

Finally, we configure the URL to access the endopoint of the Magnolia REST API.

Rest

License

Code licensed under MIT License.

Contributors

Magnolia, https://magnolia-cms.com. Gonzalo Rodríguez Martínez, https://github.com/gonzalo-r-martinez/

Credit

This module has been developed with the help of the API developed by (https://github.com/rubenlagus) and the icon library developed by (https://github.com/vdurmont/emoji-java)

telegram-bot-magnolia's People

Contributors

gonzalo-r-martinez 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.