{"id":17989527,"url":"https://github.com/evilfreelancer/socket-yrslf","last_synced_at":"2026-05-08T04:02:47.375Z","repository":{"id":44090045,"uuid":"161551202","full_name":"EvilFreelancer/socket-yrslf","owner":"EvilFreelancer","description":"Bot for Twitch \u003c-\u003e Discord chats messaging","archived":false,"fork":false,"pushed_at":"2022-12-08T07:51:43.000Z","size":229,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T19:05:27.761Z","etag":null,"topics":["api","bot","chat","discord","docker","messaging","socket","twitch"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/evilfreelancer/socket-yrslf/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EvilFreelancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-12T22:07:47.000Z","updated_at":"2020-05-02T23:00:17.000Z","dependencies_parsed_at":"2023-01-25T04:45:25.339Z","dependency_job_id":null,"html_url":"https://github.com/EvilFreelancer/socket-yrslf","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/EvilFreelancer/socket-yrslf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsocket-yrslf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsocket-yrslf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsocket-yrslf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsocket-yrslf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvilFreelancer","download_url":"https://codeload.github.com/EvilFreelancer/socket-yrslf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2Fsocket-yrslf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32766122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","bot","chat","discord","docker","messaging","socket","twitch"],"created_at":"2024-10-29T19:14:52.913Z","updated_at":"2026-05-08T04:02:47.351Z","avatar_url":"https://github.com/EvilFreelancer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitch \u003c-\u003e Discord messaging\n\nBot created for crossplatform messaging between Twitch and Discord\n\n## Set the parameters\n\nYou need change settings inside `.env` file to what you need. Example\nof this file (`.env.example`) you can find in same folder as project.\n\nAnd if settings is correct you will see messages in chats after server started.\n\n### Available environment variables\n\n|Environment        |Default value |\n|-------------------|--------------|\n|DISCORD_TOKEN      |xxxx          |\n|DISCORD_CHANNEL_ID |1234          |\n|DISCORD_USER_ID    |123456        |\n|DISCORD_HOOK_URL   |hook_url      |\n|TWITCH_USERNAME    |MyBot         |\n|TWITCH_CHANNEL     |#mychannel    |\n|TWITCH_TOKEN       |oauth:xxxxxxx |\n\n\u003cdetails\u003e\n\u003csummary\u003e\n  \u003ci\u003eHow to obtain tokens, IDs, etc\u003c/i\u003e\n\u003c/summary\u003e\n\n#### TWITCH_TOKEN\n\nYou need [generate OAuth token](https://twitchapps.com/tmi/) for your Twitch account.\n\nPlease create separated twitch account for bot if you do not wanna lose your primary account.\n\n#### TWITCH_CHANNEL\n\nThis is the part of your channel's URL, for example in `https://www.twitch.tv/evilfreelancer`\npath `evilfreelancer` is channel name. \n\n#### TWITCH_USERNAME\n\nName of your Bot user, should be the same as you used for authorization on Twitch.\n\n#### DISCORD_USER_ID\n\nYou need login to [Discord Developers](https://discordapp.com/developers/)\nportal and create new application.\n\nAfter you done need login the application to your Discord server.\n\n#### DISCORD_TOKEN\n\nFrom Bots page of Discord Developers portal you can find the token. \n\n`https://discordapp.com/developers/applications/{application_id}/bots`\n\n#### DISCORD_CHANNEL_ID\n\nThen you need enable debug mode of your Discord client, for this go to\nyour \"User Settings\", then to \"Appearance\" and on this page in \"Advanced\" block\nwill be a \"Developer Mode\", you need switch this to ON.\n\nThen close the settings page and click MRB on any text chat room what you\nwant, then select \"Copy ID\" from list and ID and `DISCORD_CHANNEL_ID``\nwill saved to your clipboard. \n\n#### DISCORD_HOOK_URL\n\nURL of Discord webhook, can be found on Webhooks tab of Discord server settings. \n\n\u003c/details\u003e\n\n## How to use via NPM\n\n    npm install\n    npm run server \n\n## How to use via Docker\n\n    docker pull evilfreelancer/socket-yrslf\n    docker run -e DISCORD_TOKEN=xxxx -e DISCORD_CHANNEL_ID=.... ..cuted.. -d evilfreelancer/socket-yrslf\n\n## How to use via Docker Compose\n\n    cp docker-compose.yml.dist docker-compose.yml\n    docker-compose up -d\n\n## Get Support!\n\n* [Discord](https://discord.gg/KzHGXKp) - Here you can talk with author of this project directly\n* [GitHub Issues](https://github.com/EvilFreelancer/socket-yrslf/issues) - Got issues? Please to me!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Fsocket-yrslf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilfreelancer%2Fsocket-yrslf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Fsocket-yrslf/lists"}