Orion is a telegram bot that converts voice messages into text and org-mode files. It can be trained for better accuracy.
Go to file
Sameer Rahmani 72bab91153 migrating to miniblack 2022-09-05 16:09:06 +01:00
rigel migrating to miniblack 2022-09-05 16:09:06 +01:00
telegram_bot migrating to miniblack 2022-09-05 16:09:06 +01:00
.gitignore Add the Rigel for TTS 2022-04-15 14:35:30 +01:00
LICENSE Initial commit 2022-04-09 18:19:48 +01:00
README.md Update the readme 2022-04-18 19:10:26 +01:00
builder Add openrc service script 2022-04-19 17:27:33 +01:00

README.md

Orion

Orion is a telegram bot that converts voice messages into text and org-mode files. It can be trained for better accuracy.

Requirements

You need to have Golang and Python installed.

Usage

In order to use it, first you need to setup the project which you can just call ./builder setup . Also you need to store your bot's token (that you get from Telegram's bot father) in the .env file like:

BOT_TOKEN=<ACTUAL_TOKEN_GOES_HERE>

and then you can run Orion via the builder script again with the following command:

./builder run -owner TELEGRAM_ID -org-file ORG_FILE_PATH -model PATH_TO_MODEL -scorer PATH_TO_SCORER
  • TELEGRAM_ID: Is your telegram id. It will only reply to you and tell others to F off.

  • ORG_FILE_PATH: Path to an org-mode file that HAS TO EXIST. Orion will append entries to this file.

  • PATH_TO_MODEL(optoinal): Is the path to the model file you want to use for speech recognition. the default points to the default model in the models directory.

  • PATH_TO_SCORER(optional): Is the path to the scorer to be use to speech recognition. the default points to the default scorer in the models directory.

Models and scorers should be compatible with Coqui.

Rigel

Orion contains a text to speech server as well. Since I'm lazy I use Rigel to read stuff for me. I integrated Rigel in my Emacs environment as well and it such a useful tool. For more info on Rigel check out its readme

Also if you want to integrate Rigel into your Emacs have a look at the lib I created for it for inspiration. Also you can use Rigel with anything it's not an Emacs only tool.