{"id":20290072,"url":"https://github.com/revunix/streamrec-telegrambot","last_synced_at":"2025-09-22T17:31:37.045Z","repository":{"id":250953686,"uuid":"835962127","full_name":"revunix/StreamREC-TelegramBot","owner":"revunix","description":"This script is designed to manage and record live streams from various platforms such as Twitch, YouTube, and Q-dance. It integrates with Telegram to allow remote control and monitoring of the recording processes.","archived":false,"fork":false,"pushed_at":"2024-08-02T00:57:34.000Z","size":98,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-14T15:06:05.208Z","etag":null,"topics":["q-dance","streamlink","telebot","telegram-bot","twitch","youtube","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"Python","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-07-30T22:02:19.000Z","updated_at":"2024-09-14T18:58:33.000Z","dependencies_parsed_at":"2024-07-31T02:19:14.984Z","dependency_job_id":null,"html_url":"https://github.com/revunix/StreamREC-TelegramBot","commit_stats":null,"previous_names":["revunix/streamrec-telegrambot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FStreamREC-TelegramBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FStreamREC-TelegramBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FStreamREC-TelegramBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revunix%2FStreamREC-TelegramBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revunix","download_url":"https://codeload.github.com/revunix/StreamREC-TelegramBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233867043,"owners_count":18742903,"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":["q-dance","streamlink","telebot","telegram-bot","twitch","youtube","yt-dlp"],"created_at":"2024-11-14T15:06:07.314Z","updated_at":"2025-09-22T17:31:31.680Z","avatar_url":"https://github.com/revunix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Bot | Stream Recorder and Manager\n\nThis script is designed to manage and record live streams from various platforms such as Twitch, YouTube, and Q-dance. It integrates with Telegram to allow remote control and monitoring of the recording processes.\n\n## Features\n\n- **Start and Stop Recordings**: Begin or halt recording of streams from Twitch, YouTube, and Q-dance.\n- **Add and Delete Streams**: Manage the list of streams to record by adding new ones or removing existing entries.\n- **List Streams**: Display the current list of configured streams for each platform.\n- **Status Updates**: Check the status of ongoing recordings, including elapsed time and recording type.\n- **Telegram Bot Integration**: Interact with the script via a Telegram bot, which provides a user-friendly interface for managing recordings.\n- **Donation Support**: Includes an option for users to support the project through donations.\n\n# Configuration\n\nThe script requires a `config.json` file for setup. This file should contain:\n\n- **telegram_bot_token**: The token for your Telegram bot.\n- **telegram_chat_id**: The chat ID for Telegram bot interactions.\n- **recording_path**: The directory where recordings will be saved.\n- **qdance_credentials**: Your Q-dance login credentials (username and password).\n- **WEB_LINK_BASE**: The base URL for accessing recorded files (e.g., `https://domain.tld/folder`).\n\n# How to Use\n\n- **Start Recording**: Use the `/record` command to begin recording all streams listed in the configuration.\n- **Stop Recording**: Use the `/save` command to stop all active recordings.\n- **Add a Stream**: Use the `/add` command and follow the prompts to add Twitch, YouTube, or Q-dance streams.\n- **Delete a Stream**: Use the `/remove` command to delete a specific stream.\n- **List Streams**: Use the `/list` command to view all configured streams.\n- **Check Status**: Use the `/status` command to get the status of ongoing recordings.\n- **Delete File**: Use the `/deletefile` command to delete a recorded file. You will be prompted to choose a file to delete, and a confirmation message will be displayed before the file is deleted.\n- **Help**: Use the `/help` command to get a list of available commands and their usage.\n\n## Dependencies\n\n- `telebot`: For Telegram bot interaction.\n- `websockets`: For handling WebSocket connections (if needed).\n- `json`, `os`, `re`, `subprocess`, `time`, `threading`, `hashlib`: Standard Python libraries used in the script.\n- `streamlink`: For recording Twitch streams. (You need the [streamlink-ttvlol](https://github.com/2bc4/streamlink-ttvlol/) plugin, i'm using a AdBlock Proxy!)\n- `yt-dlp`: For recording YouTube and Q-dance streams.\n\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/revunix/StreamREC-TelegramBot.git\n    ```\n\n2. Install required Python packages:\n    ```bash\n    pip install pyTelegramBotAPI streamlink yt-dlp\n    ```\n\n3. Update the `config.json` file with your credentials and paths.\n\n4. Run the script:\n    ```bash\n    python streamrec.py\n    ```\n\n## Contributing\n\nFeel free to contribute by submitting issues or pull requests. For any questions or support, open an issue on GitHub.\n\n---\n\nLet me know if you need any adjustments or additional details!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevunix%2Fstreamrec-telegrambot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevunix%2Fstreamrec-telegrambot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevunix%2Fstreamrec-telegrambot/lists"}