{"id":15211403,"url":"https://github.com/stegripe/rawon","last_synced_at":"2026-04-28T04:03:03.328Z","repository":{"id":37001676,"uuid":"236645319","full_name":"stegripe/rawon","owner":"stegripe","description":"A simple powerful Discord music (multi-)bot built to fulfill your production desires. Easy to use, with no coding required.","archived":false,"fork":false,"pushed_at":"2026-04-28T02:01:22.000Z","size":24954,"stargazers_count":1506,"open_issues_count":2,"forks_count":1644,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-04-28T03:23:43.179Z","etag":null,"topics":["bot","discord-bot","discord-js","discord-music-bot","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://rawon.stegripe.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stegripe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["stegripe"],"patreon":"stegripe","custom":["https://stegripe.org/donate"]}},"created_at":"2020-01-28T02:53:21.000Z","updated_at":"2026-04-28T02:00:09.000Z","dependencies_parsed_at":"2026-02-02T08:07:17.056Z","dependency_job_id":null,"html_url":"https://github.com/stegripe/rawon","commit_stats":{"total_commits":575,"total_committers":28,"mean_commits":"20.535714285714285","dds":"0.36173913043478256","last_synced_commit":"03a2e3d4f26c6755598fa94a4bc6ccfb14c88a8e"},"previous_names":["stegripe/rawon","clytage/rawon"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/stegripe/rawon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stegripe%2Frawon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stegripe%2Frawon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stegripe%2Frawon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stegripe%2Frawon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stegripe","download_url":"https://codeload.github.com/stegripe/rawon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stegripe%2Frawon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32365519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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","discord-bot","discord-js","discord-music-bot","nodejs","typescript"],"created_at":"2024-09-28T08:40:42.176Z","updated_at":"2026-04-28T04:03:03.318Z","avatar_url":"https://github.com/stegripe.png","language":"TypeScript","funding_links":["https://github.com/sponsors/stegripe","https://patreon.com/stegripe","https://stegripe.org/donate"],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://cdn.stegripe.org/images/rawon_splash.png\" width=\"512\"\u003e\n\u003cbr\u003e\n\u003ca href=\"https://discord.com/oauth2/authorize?client_id=999162626036740138\u0026permissions=4855722558221376\u0026scope=bot%20applications.commands\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Invite%20Me\u0026message=Rawon%232575\u0026plastic\u0026color=5865F2\u0026logo=discord\"\u003e\u003c/a\u003e\n\u003cimg src=\"https://badgen.net/badge/icon/typescript?icon=typescript\u0026label\"\u003e\n\u003ca href=\"https://github.com/stegripe/rawon/actions?query=workflow%3A%22Lint+code+and+compile+setup+script%22\"\u003e\u003cimg src=\"https://github.com/stegripe/rawon/workflows/Lint%20code%20and%20compile%20setup%20script/badge.svg\" alt=\"CI Status\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n# Rawon\n\n\u003e A simple powerful Discord music (multi-)bot built to fulfill your production desires. Easy to use, with no coding required.\n\n## Features\n- Production-ready, no coding required\n- Request channel feature for seamless music experience\n- Support for YouTube, Spotify, SoundCloud, and direct files\n- Run multiple bot instances for different voice channels\n- Smart audio pre-caching for smoother playback\n- Built-in Google login via Puppeteer for cookie management\n\n## Installation\n\n### Prerequisites\n- [Node.js](https://nodejs.org) version `20.0.0` or higher\n- [FFmpeg](https://ffmpeg.org/) for audio processing\n\n\u003e **Note**: Docker users don't need to install FFmpeg manually — it's included in the Docker image.\n\n### Standard Setup (Node.js)\n1. Download and install the prerequisites above\n2. Clone or download this repository\n3. Copy `.env.example` to `.env` and fill in the required values (at minimum: `DISCORD_TOKEN`)\n4. Install dependencies:\n```sh\npnpm install\n```\n5. Build the project:\n```sh\npnpm run build\n```\n6. Start the bot:\n```sh\npnpm start\n```\n7. (Optional) After the bot is online, set up a dedicated music channel:\n```\n\u003cprefix\u003erequestchannel \u003c#channel\u003e\n```\nExample: `!requestchannel #music-requests`\n\n### Docker Setup (Recommended)\n\n#### Using Docker Compose\n1. Create a `.env` file with your configuration (copy from `.env.example`)\n2. (Optional) Create `dev.env` for additional settings\n3. Create a `docker-compose.yaml` file:\n```yaml\nservices:\n  rawon:\n    image: ghcr.io/stegripe/rawon:latest\n    container_name: rawon-bot\n    restart: unless-stopped\n    env_file:\n      - .env\n      - dev.env\n    ports:\n      - \"${DEVTOOLS_PORT:-3000}:${DEVTOOLS_PORT:-3000}\"\n    volumes:\n      - rawon:/app/cache\n\nvolumes:\n  rawon:\n```\n4. Start the bot:\n```sh\ndocker compose up -d\n```\n5. View logs:\n```sh\ndocker logs -f rawon-bot\n```\n\n#### Using Docker Run\n```sh\ndocker run -d \\\n  --name rawon-bot \\\n  --env-file .env \\\n  -p \"${DEVTOOLS_PORT:-3000}:${DEVTOOLS_PORT:-3000}\" \\\n  -v rawon:/app/cache \\\n  --restart unless-stopped \\\n  ghcr.io/stegripe/rawon:latest\n```\n\n#### Volume Information\nThe `/app/cache` volume stores:\n- `yt-dlp` binary for audio streaming\n- `data.*` for persistent settings (request channels, player states)\n- Cached audio files (if audio caching is enabled)\n- Cookie file and profile data from Google login (see [Cookies Setup](./docs/COOKIES_SETUP.md))\n\n#### Port Information\nThe `DEVTOOLS_PORT` (default: `3000`) is used for Chrome DevTools remote debugging proxy. This is required for `!login start` to work from a remote machine. Set `DEVTOOLS_PORT` in your `dev.env` file to use a different port.\n\n## Configuration Files\n- `.env.example` - Essential settings (Discord/Spotify token, prefix, IDs, etc.)\n- `dev.env.example` - Optional developer settings (prefix/slash toggles, sharding, DevTools, debug mode, etc.)\n- Bot-specific settings (embed color, yes/no emoji, splash, alt prefix, default volume, selection type, audio cache) are managed via the `setup` command (developer-only) and stored in the database. Use `setup view` to list available settings.\n\nUse the ones you need/should and fill in the values.\n\n### Multi-Bot Mode\n\nMulti-bot mode is adaptive - no extra configuration needed!\n\n- **Single token** = Single bot mode\n- **Multiple tokens (comma-separated)** = Multi-bot mode automatically enabled\n\nExample for multi-bot:\n```env\nDISCORD_TOKEN=\"token1, token2, token3\"\n```\n\nFeatures:\n- The first (order) token becomes the primary bot for general commands\n- Each bot handles music commands for users in its voice channel\n- Adaptive ordering - if the primary bot is not in a server, the next available bot takes over\n- Each bot requires its own Discord application\n\n## Documentation\n- [Disclaimers](./docs/DISCLAIMERS.md) - Important legal information\n- [Cookies Setup](./docs/COOKIES_SETUP.md) - Fix \"Sign in to confirm you're not a bot\" errors on hosting providers\n\n### Common Issues\n\n**\"Sign in to confirm you're not a bot\" errors?**\n\nIf you're hosting on cloud providers (AWS, GCP, Azure, Railway, etc.), you may encounter bot detection errors. See [Cookies Setup](./docs/COOKIES_SETUP.md) for the solution.\n\n**Quick fix using the login command:**\n```\n!login start    # Opens a browser for Google login\n!login status   # Check current login \u0026 cookie status\n!login logout   # Clear the login session (wipes all cookies and profile data)\n```\n\n## Support \u0026 Questions\nFor help and questions, join our official [Discord Server](https://stegripe.org/discord).\n\n## Contributors\n\n### Developers\n- [Stegripe Developers](https://github.com/orgs/stegripe/teams/developer)\n\n### Translators\n- [Stegripe Developers](https://github.com/orgs/stegripe/teams/developer) (en-US, id-ID, ko-KR, ms-MY)\n- [@21Z](https://github.com/21Z) (en-US)\n- [@lxndr-rl](https://github.com/lxndr-rl) (es-ES)\n- [@MoustacheOff](https://github.com/MoustacheOff) (fr-FR)\n- [@RabbitYuKu](https://github.com/RabbitYuKu) (zh-CN, zh-TW)\n- [@RomaDevWorld](https://github.com/RomaDevWorld) (uk-UA)\n- [@hmz121](https://github.com/hmz121) (vi-VN)\n- [@melloirl](https://github.com/melloirl) (pt-BR)\n- [@Ronner231](https://github.com/Ronner231) (ru-RU)\n- [@Fyphen1223](https://github.com/Fyphen1223) (ja-JP)\n- [@OsmanTunahan](https://github.com/OsmanTunahan) (tr-TR)\n\n\u003e © 2026 Stegripe Development\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstegripe%2Frawon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstegripe%2Frawon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstegripe%2Frawon/lists"}