{"id":24731343,"url":"https://github.com/mansionnet/youtubebot","last_synced_at":"2026-04-28T23:05:18.608Z","repository":{"id":274114712,"uuid":"921958622","full_name":"MansionNET/YouTubeBot","owner":"MansionNET","description":"A lightweight IRC bot that provides real-time YouTube video information and search capabilities using the YouTube Data API. YouTubeBot is designed to be simple to set up, easy to configure, and free to use as it relies on the free YouTube Data API service.","archived":false,"fork":false,"pushed_at":"2025-01-25T00:41:57.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T15:49:18.444Z","etag":null,"topics":["irc","irc-bot","python","youtube","youtube-api"],"latest_commit_sha":null,"homepage":"","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/MansionNET.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2025-01-25T00:25:37.000Z","updated_at":"2025-01-25T00:50:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"4dbc7969-fcbf-4336-9e20-427a6d0ba3a0","html_url":"https://github.com/MansionNET/YouTubeBot","commit_stats":null,"previous_names":["mansionnet/youtubebot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MansionNET/YouTubeBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MansionNET%2FYouTubeBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MansionNET%2FYouTubeBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MansionNET%2FYouTubeBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MansionNET%2FYouTubeBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MansionNET","download_url":"https://codeload.github.com/MansionNET/YouTubeBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MansionNET%2FYouTubeBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32402708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["irc","irc-bot","python","youtube","youtube-api"],"created_at":"2025-01-27T16:47:59.441Z","updated_at":"2026-04-28T23:05:18.603Z","avatar_url":"https://github.com/MansionNET.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTubeBot\n\nA lightweight IRC bot that provides real-time YouTube video information and search capabilities using the YouTube Data API. YouTubeBot is designed to be simple to set up, easy to configure, and free to use as it relies on the free YouTube Data API service (up to a certain quota limit).\n\n![Python](https://img.shields.io/badge/python-3.6%2B-blue)\n![YouTube Data API v3](https://img.shields.io/badge/YouTube%20Data%20API-v3-red)\n\n## IRC Server Details\n\nJoin us on MansionNET IRC to chat with us, test the bot, and discover new YouTube content!\n\n🌐 **Server:** irc.inthemansion.com\n🔒 **Port:** 6697 (SSL)\n📝 **Channels:** #opers, #general, #welcome, #music, #heavy_metal, #devs, #test_room, #lobby\n\n## Features\n\n- Automatically detects YouTube video links shared in the chat and responds with:\n  - Video title\n  - Channel name\n  - View count\n  - Like count\n- Allows users to search for YouTube videos using the `!yt search \u003cquery\u003e` command\n- Allows users to retrieve information about a YouTube channel using the `!yt channel \u003cname\u003e` command\n- Supports multiple IRC channels\n- Utilizes YouTube Data API for video and channel information\n- SSL/TLS support for secure IRC connections\n- Easy to configure and customize\n\n## Requirements\n\n- Python 3.6 or higher\n- `irc` library for IRC client functionality\n- `google-api-python-client` library for YouTube Data API integration\n- YouTube Data API key\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/MansionNET/YouTubeBot.git\n   cd YouTubeBot\n   ```\n\n2. Create and activate a virtual environment (recommended):\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows use: venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Obtain a YouTube Data API key:\n   - Go to the [Google Developers Console](https://console.developers.google.com/)\n   - Create a new project or select an existing one\n   - Enable the YouTube Data API v3\n   - Create an API key\n\n5. Create a `config.py` file in the project directory with the following content:\n   ```python\n   YOUTUBE_API_KEY = 'YOUR_API_KEY'\n   ```\n   Replace `'YOUR_API_KEY'` with your actual YouTube Data API key.\n\n## Usage\n\nStart the bot:\n```bash\npython youtubebot.py\n```\n\n### Available Commands\n\nIn any channel where the bot is present:\n- `!yt search \u003cquery\u003e` - Search for YouTube videos based on the provided query\n  - Example: `!yt search funny cat videos`\n- `!yt channel \u003cname\u003e` - Retrieve information about a YouTube channel with the specified name\n  - Example: `!yt channel PewDiePie`\n- `!yt help` - Display available commands\n\n## API Information\n\nYouTubeBot uses the YouTube Data API v3 for video and channel information. An API key is required, and you must comply with the [YouTube API Services Terms of Service](https://developers.google.com/youtube/terms/api-services-terms-of-service).\n\nPlease be aware of the API usage limits and quotas to avoid exceeding them.\n\n## Contributing\n\nContributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) for details on how to submit pull requests, report issues, and contribute to the project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- YouTube for providing the YouTube Data API\n- The IRC community for continued support of the protocol\n\n## Project Status\n\nThis project is actively maintained. If you encounter any issues or have suggestions, please open an issue on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmansionnet%2Fyoutubebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmansionnet%2Fyoutubebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmansionnet%2Fyoutubebot/lists"}