Telegram bot for decoding audio messages to text using google speech api.
- Register new Telegram bot here
- Get google speech api token like described in howto
- Put your api tokens in
config/prod.secret.exs
- Deploy application. You will need a server capable to run erlang applications and
ffmpeg
installed. You can use heroku with buildpacks: - Go to
<your application url>/setup
to register your bot handler - Add bot in your contact list
- Try to say him something or forward some message with voice.
- Enjoy
- Google API only accepts up to ~10-15 seconds of audio.
- You can only make 50 requests per day to the Google speech API.
- gillesdemey/google-speech-v2 - Google speech api reverse
- http://www.phoenixframework.org/
- http://elixir-lang.com
- Get rid of database and assets stuff
- Reply with error messages if there are any
- ... any idea?