{"id":18798231,"url":"https://github.com/megane42/twitch_translation_bot","last_synced_at":"2026-06-24T23:31:23.993Z","repository":{"id":85338131,"uuid":"310848763","full_name":"megane42/twitch_translation_bot","owner":"megane42","description":"A twitch bot who can translate twitch chat.","archived":false,"fork":false,"pushed_at":"2020-12-13T10:55:14.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-28T20:06:12.386Z","etag":null,"topics":["bot","translation","twitch"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/megane42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-07T13:16:05.000Z","updated_at":"2022-12-23T16:31:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"054ccd8f-5daa-460f-b9c6-504a350f4ba3","html_url":"https://github.com/megane42/twitch_translation_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/megane42/twitch_translation_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Ftwitch_translation_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Ftwitch_translation_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Ftwitch_translation_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Ftwitch_translation_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/megane42","download_url":"https://codeload.github.com/megane42/twitch_translation_bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Ftwitch_translation_bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34753781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","translation","twitch"],"created_at":"2024-11-07T22:11:22.080Z","updated_at":"2026-06-24T23:31:23.972Z","avatar_url":"https://github.com/megane42.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitch Translation Bot\n\n![image](https://user-images.githubusercontent.com/8451003/98442856-bd2be880-214a-11eb-8068-9e0bdc9dd17a.png)\n\n## Features\n\n- Realtime Twitch chat translation from...\n  - any language to `TARGET_LANGUAGE`\n  - but `TARGET_LANGUAGE` to `FALLBACK_LANGUAGE`\n\n## Requirements\n\n- Twitch account for bot\n- OAuth token of above bot account\n  - Sign in to twitch as bot account\n  - Access https://twitchapps.com/tmi/\n  - Connect\n- API key for Google Cloud Translation API\n  - See https://translatepress.com/docs/automatic-translation/generate-google-api-key/\n\n## Usage\n\n- Run following ruby script\n\n```ruby\nrequire \"bundler/inline\"\n\ngemfile do\n  source \"https://rubygems.org\"\n  gem \"twitch_translation_bot\", git: \"https://github.com/megane42/twitch_translation_bot\"\nend\n\nrequire \"twitch_translation_bot\"\n\nENV[\"CHANNEL_NAME\"]      = \"megane42\"      # Chatroom name (= twitch user name) where you want to translate\nENV[\"BOT_NAME\"]          = \"megane42bot\"   # Bot account name\nENV[\"BOT_ACCESS_TOKEN\"]  = \"oauth:*******\" # Oauth token of bot account\nENV[\"TARGET_LANGUAGE\"]   = \"ja\"            # ISO 639-1 codes\nENV[\"FALLBACK_LANGUAGE\"] = \"es\"            # ISO 639-1 codes\nENV[\"TRANSLATE_KEY\"]     = \"*************\" # API key for google cloud translation API\n\nTwitchTranslationBot::Bot.new.run\n```\n\n## License\n\n- [MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegane42%2Ftwitch_translation_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegane42%2Ftwitch_translation_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegane42%2Ftwitch_translation_bot/lists"}