tourmaline

0.18.0 released
protoncr/tourmaline
156 36 4
protoncr
tourmaline logo

Tourmaline

Chat on Telegram

Telegram Bot API framework written in Crystal. Based heavily off of Telegraf this Crystal implementation allows your Telegram bot to be written in a language that's both beautiful and fast. Benchmarks coming soon.

If you want to extend your bot by using NLP, see my other library Cadmium.

Installation

Add this to your application's shard.yml:

dependencies:
  tourmaline:
    github: protoncr/tourmaline
    branch: master

Usage

For usage information please see the wiki. API documentation is also available here.

Examples are available in the examples folder.

Development

This currently supports the following features:

  • [x] Client API
    • [x] Implementation examples
    • [x] Easy command syntax
    • [x] Robust middleware system
    • [x] Standard API queries
    • [x] Stickers
    • [x] Inline mode
    • [x] Long polling
    • [x] Webhooks
    • [x] Payments
    • [x] Games
    • [x] Polls
    • [ ] Telegram Passport

If you want a new feature feel free to submit an issue or open a pull request.

Who's Using Tourmaline

If you're using Tourmaline and would like to have your bot added to this list, just submit a PR!

Contributing

  1. Fork it ( https://github.com/protoncr/tourmaline/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • watzon Chris Watson - creator, maintainer
tourmaline:
  github: protoncr/tourmaline
  version: ~> 0.18.0
License MIT
Crystal 0.34.0

Authors

Dependencies 2

  • db ~> 0.9.0
    {'github' => 'crystal-lang/crystal-db', 'version' => '~> 0.9.0'}
  • halite master
    {'branch' => 'master', 'github' => 'icyleaf/halite'}

Development Dependencies 4

  • ameba ~> 0.10.0
    {'github' => 'veelenga/ameba', 'version' => '~> 0.10.0'}
  • kemal
    {'github' => 'kemalcr/kemal'}
  • ngrok 0.2.0
    {'github' => 'watzon/ngrok.cr', 'version' => '0.2.0'}
  • spectator~icy-arctic-fox master
    {'branch' => 'master', 'github' => 'icy-arctic-fox/spectator'}

Dependents 0

Other repos 1

Last synced .
search fire star recently