Skip to content
/ s2t_bot Public

Speech recognizer bot for Telegram using Phoenix + Elixir

Notifications You must be signed in to change notification settings

sck-v/s2t_bot

Repository files navigation

S2tBot

Telegram bot for decoding audio messages to text using google speech api.

Installation

  1. Register new Telegram bot here
  2. Get google speech api token like described in howto
  3. Put your api tokens in config/prod.secret.exs
  4. Deploy application. You will need a server capable to run erlang applications and ffmpeg installed. You can use heroku with buildpacks:
  5. Go to <your application url>/setup to register your bot handler
  6. Add bot in your contact list
  7. Try to say him something or forward some message with voice.
  8. Enjoy

Caveats

  • Google API only accepts up to ~10-15 seconds of audio.
  • You can only make 50 requests per day to the Google speech API.

Links

Roadmap

  • Get rid of database and assets stuff
  • Reply with error messages if there are any
  • ... any idea?

About

Speech recognizer bot for Telegram using Phoenix + Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published