{"id":19568292,"url":"https://github.com/lon9/discord-generalized-sound-bot","last_synced_at":"2026-04-09T15:43:00.180Z","repository":{"id":36079124,"uuid":"141404119","full_name":"lon9/discord-generalized-sound-bot","owner":"lon9","description":"Generalized sound bot on Discord","archived":false,"fork":false,"pushed_at":"2023-01-03T15:15:57.000Z","size":3784,"stargazers_count":6,"open_issues_count":35,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T20:23:52.041Z","etag":null,"topics":["bot","discord","discord-bot","docker","golang","nuxt","sound","vue"],"latest_commit_sha":null,"homepage":"","language":"Go","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/lon9.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-07-18T08:21:46.000Z","updated_at":"2024-12-28T23:51:04.000Z","dependencies_parsed_at":"2023-01-16T13:01:26.478Z","dependency_job_id":null,"html_url":"https://github.com/lon9/discord-generalized-sound-bot","commit_stats":null,"previous_names":["lon9/discord-generalized-voice-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lon9%2Fdiscord-generalized-sound-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lon9%2Fdiscord-generalized-sound-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lon9%2Fdiscord-generalized-sound-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lon9%2Fdiscord-generalized-sound-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lon9","download_url":"https://codeload.github.com/lon9/discord-generalized-sound-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251080744,"owners_count":21533142,"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","discord","discord-bot","docker","golang","nuxt","sound","vue"],"created_at":"2024-11-11T06:03:17.454Z","updated_at":"2026-04-09T15:42:55.161Z","avatar_url":"https://github.com/lon9.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Generalized Sound Bot \n\nDiscord Generalized Sound Bot is a bot that can play sounds on your Discord server.\n\n[![Build Status](https://travis-ci.org/lon9/discord-generalized-sound-bot.svg?branch=master)](https://travis-ci.org/lon9/discord-generalized-sound-bot)\n\n## Features\n\n* Playing a sound on your Discord server.\n* You can add sounds with web interface.\n* You can search sounds on the web.\n* No limit of the number of sounds.\n\n## Usage\n\n1. Create config files\n\n      `.env`\n\n      ```shell\n      BACKEND_URL=http://localhost:3000\n      BACKEND_VIRTUAL_HOST=backend.example.com\n      BACKEND_LETSENCRYPT_HOST=backend.example.com\n      BACKEND_LETSENCRYPT_EMAIL=example.com\n      ADMIN_VIRTUAL_HOST=admin.example.com\n      ADMIN_LETSENCRYPT_HOST=admin.example.com\n      ADMIN_LETSENCRYPT_EMAIL=example.com\n      WEB_VIRTUAL_HOST=example.com\n      WEB_LETSENCRYPT_HOST=example.com\n      WEB_LETSENCRYPT_EMAIL=example.com\n      ADMIN_TITLE=Admin title here\n      WEB_TITLE=Web title here\n      WEB_DESCRIPTION=Description\n      WEB_OG_DESCRIPTION=Og description\n      WEB_OG_URL=Og url\n      WEB_OG_IMAGE=Og image\n      WEB_TWITTER_CARD=summary_large_image\n      ```\n\n      `backend/config/environment/production.yaml`\n\n      ```yaml\n      db:\n        url: \"data/production/sounds.db\"\n      server:\n        port: \"3000\"\n        cors:\n          - \"http://example.com\"\n          - \"http://admin.example.com\"\n      data:\n        path: \"data/production\"\n        prefix: \"sounds_dca\"\n      auth:\n        secret: \"secret\"\n        username: \"admin\"\n        password: \"Hashed password\"\n      ```\n\n      You can make password using genpass\n\n      ```shell\n      docker build -t genpass genpass/\n      docker run --rm -it genpass genpass\n      ```\n\n      `bot/config.yml`\n\n      ```yaml\n      botToken: abcde [Discord bot token]\n      dbUrl: /sounds_dca/sounds.db [Where the sounds.db is]\n      botPrefix: $ [Bot command prefix]\n      botHelp: Help message [Bot help message]\n      botPlaying: Playing something [Bot status]\n      botNotFound: Sound not found [The message when sound not found]\n      soundDir: /\n      name: ExampleBot [Bot name]\n      applicationId: 1234567 [Discord application id]\n      soundCacheSize: 100 [The number of cached sounds]\n      maxQueueSize: 6 [The size of queue per guild]\n      env: development [Environment]\n      logChannelId: 1234567 [Channel ID you want to send log on the channel]\n      ```\n\n1. `docker-compose up -d`\n\n\n### addsound module\n\nYou can use `addsound` module to initialize database from a directory structure.\n\nCheck out addsound [directory](https://github.com/lon9/discord-generalized-sound-bot/tree/master/addsound)\n\n\n## Development\n\nI'm maintaining backend with test.\n\n```shell\ndocker-compose -f docker-compose-test.yml run --rm backend-test\n```\n\n### Dependencies\n\nbackend depends on FFmpeg with opus and libvorbis\n\n### TODO\n\n- [x] Making a bot.\n- [x] Making a web site to search sound name.\n- [x] Making a admin site to add sounds.\n- [x] Add Docker things.\n- [x] Implement session sharding.\n- [x] Implement a command to search sounds.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flon9%2Fdiscord-generalized-sound-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flon9%2Fdiscord-generalized-sound-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flon9%2Fdiscord-generalized-sound-bot/lists"}