{"id":15980801,"url":"https://github.com/ccoreilly/telegram-deepspeech-bot","last_synced_at":"2025-04-04T18:44:57.253Z","repository":{"id":37665596,"uuid":"265694474","full_name":"ccoreilly/telegram-deepspeech-bot","owner":"ccoreilly","description":"A Telegram bot that infers text from voice notes using DeepSpeech","archived":false,"fork":false,"pushed_at":"2022-12-08T09:57:10.000Z","size":7,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T04:17:45.969Z","etag":null,"topics":["catalan","deepspeech","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccoreilly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-20T21:57:00.000Z","updated_at":"2024-12-27T21:29:08.000Z","dependencies_parsed_at":"2023-01-25T06:15:47.319Z","dependency_job_id":null,"html_url":"https://github.com/ccoreilly/telegram-deepspeech-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoreilly%2Ftelegram-deepspeech-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoreilly%2Ftelegram-deepspeech-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoreilly%2Ftelegram-deepspeech-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoreilly%2Ftelegram-deepspeech-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccoreilly","download_url":"https://codeload.github.com/ccoreilly/telegram-deepspeech-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234851,"owners_count":20905852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["catalan","deepspeech","telegram","telegram-bot"],"created_at":"2024-10-08T00:22:47.016Z","updated_at":"2025-04-04T18:44:57.197Z","avatar_url":"https://github.com/ccoreilly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepSpeech inference Telegram bot\n\nA simple telegram bot that will convert a voice note to text using a [DeepSpeech](https://github.com/mozilla/DeepSpeech) model. Created to quickly test my [DeepSpeech Catalan model](https://github.com/ccoreilly/deepspeech-catala).\n\n## Configuration\n\nThe following environment variables allow configuring the bot:\n\n| Variable         | Description                      | Default                |\n| ---------------- | -------------------------------- | ---------------------- |\n| `TELEGRAM_TOKEN` | The unique token of your bot     | None                   |\n| `MODEL_PATH`     | The path to the DeepSpeech model | `./model/model.pbmm`   |\n| `SCORER_PATH`    | The path to the KenLM scorer     | `./model/kenlm.scorer` |\n\n## Usage\n\nInstall the requirements\n\n```\n$ pip install -r requirements.txt\n```\n\nand start the bot\n\n```\n$ python deepspeech-bot.py\n```\n\n## Usage with Docker\n\nBuild the docker image\n\n```\n$ docker build -f Dockerfile -t deepspeech-bot .\n```\n\nRun the docker image. You can specify a volume and environment variables (please refer to the docker run [documentation](https://docs.docker.com/engine/reference/commandline/run/)):\n\n```\n$ docker run -v /path/to/my/model:/app/model -e TELEGRAM_TOKEN deepspeech-bot\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccoreilly%2Ftelegram-deepspeech-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccoreilly%2Ftelegram-deepspeech-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccoreilly%2Ftelegram-deepspeech-bot/lists"}