{"id":30615379,"url":"https://github.com/document10/dumpling-bot","last_synced_at":"2025-10-31T13:30:41.489Z","repository":{"id":311069910,"uuid":"1038265045","full_name":"document10/dumpling-bot","owner":"document10","description":"Discord bot using bun","archived":false,"fork":false,"pushed_at":"2025-08-21T22:31:55.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-22T00:35:24.674Z","etag":null,"topics":["bun","bunjs","discord","discord-bot","discord-js","discordbot","discordjs","javascript","js","ts","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/document10.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-14T22:26:50.000Z","updated_at":"2025-08-21T22:31:59.000Z","dependencies_parsed_at":"2025-08-22T00:48:58.766Z","dependency_job_id":null,"html_url":"https://github.com/document10/dumpling-bot","commit_stats":null,"previous_names":["document10/dumpling-bot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/document10/dumpling-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/document10%2Fdumpling-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/document10%2Fdumpling-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/document10%2Fdumpling-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/document10%2Fdumpling-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/document10","download_url":"https://codeload.github.com/document10/dumpling-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/document10%2Fdumpling-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272821202,"owners_count":24998599,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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":["bun","bunjs","discord","discord-bot","discord-js","discordbot","discordjs","javascript","js","ts","typescript"],"created_at":"2025-08-30T08:02:06.801Z","updated_at":"2025-10-31T13:30:41.459Z","avatar_url":"https://github.com/document10.png","language":"TypeScript","readme":"# Dumpling-bot\n\n![Dumpling Bot Icon](/assets/dumplingbot.svg)\n\nDiscord bot implemented using the [Bun runtime](https://bun.com/) and [Discord JS](https://discord.js.org/), using Typescript for type safety. The bot is made to have as little external dependencies as possible, so a lot of things are manually implemented.\nThe bot was written long ago, going under the nickname \"Suno\" (sus noodle), so I'm migrating much of that code using modern tools and releasing it as FOSS for others to use and learn from it. Yes, the logo is the Bun logo, modified to look like Discord.\n\n**Currently the bot is a work in progress.**\n\n## Installation\n\n1. Follow the instructions from https://discordjs.guide/preparations/setting-up-a-bot-application.html and https://discordjs.guide/preparations/adding-your-bot-to-servers.html to create the basic bot.\n\n2. Clone the repo and install dependencies:\n\n[Make sure Bun is installed and at its latest version.](https://bun.com/docs/installation)\n\n```bash\ngit clone https://github.com/document10/dumpling-bot\ncd dumpling-bot\nbun install\n```\n\n3. Setup environment variables (`.env`) according to the instructions from `example.env`.\n\n4. Register the commands to the Discord API using:\n\n```bash\nbun deploy-global\n```\n\nor just to the development guild using:\n\n```bash\nbun deploy-local\n```\n\nIt's recommended to use the local deployment during development to avoid rate limits.\n\n5. Setup the database\n\n```bash\nbun db-setup\n```\n\nOptionally set `DATABASE_SECRETS` to `YES` so that all sensitive info (like API keys) are stored on the database. Then load them from the `.env` file:\n\n```bash\nbun db-secrets\n```\n\nUsing databases other than `PostgresSQL` requires [v1.2.21](https://bun.com/blog/bun-v1.2.21) or newer.\n\n6. Start the bot:\n\n```bash\nbun start\n```\n\nor in dev mode for restarting on changes:\n\n```bash\nbun dev\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocument10%2Fdumpling-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocument10%2Fdumpling-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocument10%2Fdumpling-bot/lists"}