{"id":15085998,"url":"https://github.com/revunix/twitchrecorder","last_synced_at":"2026-01-27T09:17:42.053Z","repository":{"id":251673621,"uuid":"838094100","full_name":"revunix/TwitchRecorder","owner":"revunix","description":"This repository contains a Discord bot designed to monitor and record Twitch streams. The bot uses various technologies including Node.js, Discord.js, and Twitch API to provide a comprehensive solution for stream management.","archived":false,"fork":false,"pushed_at":"2024-08-09T13:57:25.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T10:29:00.107Z","etag":null,"topics":["bot","bot-commands","discord-bot","discord-js","ffmpeg","javascript","node-js","open-source","recording","stream-recording","streamlink","twitch"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/revunix.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-04T23:16:56.000Z","updated_at":"2025-01-11T00:09:21.000Z","dependencies_parsed_at":"2024-08-09T15:18:44.179Z","dependency_job_id":null,"html_url":"https://github.com/revunix/TwitchRecorder","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"c890bb6cf8a3c1a6ae903540dca876337970486c"},"previous_names":["revunix/twitch-record-discord-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FTwitchRecorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FTwitchRecorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FTwitchRecorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FTwitchRecorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revunix","download_url":"https://codeload.github.com/revunix/TwitchRecorder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955714,"owners_count":20374372,"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":["bot","bot-commands","discord-bot","discord-js","ffmpeg","javascript","node-js","open-source","recording","stream-recording","streamlink","twitch"],"created_at":"2024-09-25T07:02:51.150Z","updated_at":"2026-01-27T09:17:41.996Z","avatar_url":"https://github.com/revunix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hier ist eine aktualisierte Version der Beschreibung, die die neuesten Änderungen und Funktionen berücksichtigt:\n\n# TwitchRecorder\n\nThis repository contains a Discord bot designed to monitor and record Twitch streams as well as m3u8 streams. The bot uses various technologies including Node.js, Discord.js, Twitch API, and yt-dlp to provide a comprehensive solution for stream management and recording.\n\n## Features\n\n- **Stream Monitoring**: Automatically checks the live status of specified Twitch channels at regular intervals.\n- **Stream Recording**: Records live Twitch streams using `streamlink` and `ffmpeg`, saving the video files to a designated directory.\n- **M3U8 Stream Recording**: Records m3u8 streams using `yt-dlp`, supporting various streaming platforms.\n- **Dynamic Command Handling**: Allows users to control the bot via Discord commands, including enabling/disabling monitoring, starting/stopping recordings, and managing m3u8 streams.\n- **Configuration Management**: Configuration settings are managed through a `config.json` file, allowing easy adjustments for various parameters.\n- **Recording Listing**: Lists all recorded streams with clickable links for downloading.\n- **Rclone Integration**: Uploads recorded streams to a remote location using `rclone` and manages local files.\n- **File Management**: Commands for managing files locally and remotely.\n\n## Commands\n\n- `.start \u003cchannel\u003e`: Starts recording the specified Twitch channel.\n- `.stop \u003cchannel\u003e`: Stops recording the specified Twitch channel.\n- `.watch \u003cchannel\u003e`: Activates monitoring for the specified Twitch channel.\n- `.unwatch \u003cchannel\u003e`: Deactivates monitoring for the specified Twitch channel.\n- `.watchlist`: Shows the current status of monitored Twitch channels.\n- `.record \u003curl\u003e`: Starts recording an m3u8 stream.\n- `.end \u003cid\u003e`: Stops recording an m3u8 stream.\n- `.reload`: Reloads the configuration from the config file.\n- `.restart`: Restarts the bot.\n- `.list`: Lists all recorded files with download links.\n- `.upload \u003cchannel\u003e`: Uploads the local folder for the specified channel to the cloud.\n- `.delete \u003cchannel\u003e`: Deletes the local folder for the specified channel from the server.\n- `.help`: Shows a help message with available commands.\n\n## Setup\n\n1. **Install Dependencies**: Ensure you have Node.js installed, then run `npm install` to install necessary packages.\n2. **Configure**: Edit the `config.json` file to include your Discord bot token, Twitch API credentials, and other settings.\n3. **Run the Bot**: Start the bot with `node bot.js` or using `bun run bot.js` if you prefer Bun.\n\n## Configuration\n\nThe `config.json` file should include:\n- `discordToken`: Your Discord bot token.\n- `twitchClientId` and `twitchAccessToken`: Your Twitch API credentials.\n- `recordingsPath`: Directory where recordings will be saved.\n- `discordChannelId`: The Discord channel ID where bot messages will be sent.\n- `streamsToMonitor`: A list of Twitch channels to monitor.\n- `baseRecordingUrl`: Base URL for accessing recorded streams.\n- `rcloneEnabled`: Boolean to enable/disable rclone upload feature.\n- `rcloneRemote`: The remote name configured in `rclone`.\n- `rcloneFolder`: The folder on the remote where recordings will be uploaded.\n- `rcloneConfigPath`: The path to the `rclone.conf` configuration file.\n- `twitchProxyPlaylist`: Proxy playlist URL for Twitch streams (if needed).\n\n## Dependencies\n\n- `discord.js`: For interacting with the Discord API.\n- `axios`: For making HTTP requests to Twitch API.\n- `streamlink`: For streaming Twitch channels.\n- `ffmpeg`: For processing video streams.\n- `yt-dlp`: For recording m3u8 streams.\n- `rclone`: For uploading files to cloud storage.\n- `date-fns`: For date formatting.\n- `crypto`: For generating unique IDs.\n\n## Contribution\n\nFeel free to contribute to this project by submitting issues or pull requests. Ensure that your changes adhere to the existing code style and include appropriate documentation.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevunix%2Ftwitchrecorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevunix%2Ftwitchrecorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevunix%2Ftwitchrecorder/lists"}