{"id":20441376,"url":"https://github.com/buape/carbon","last_synced_at":"2026-04-10T08:12:35.323Z","repository":{"id":256688978,"uuid":"786266329","full_name":"buape/carbon","owner":"buape","description":"A fully-featured HTTP library for Discord bots","archived":false,"fork":false,"pushed_at":"2026-03-01T22:35:37.000Z","size":8101,"stargazers_count":39,"open_issues_count":17,"forks_count":25,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-02T01:43:04.838Z","etag":null,"topics":["buape","bun","cloudflare-workers","discord","hacktoberfest","http","nextjs","nodejs"],"latest_commit_sha":null,"homepage":"https://carbon.buape.com/","language":"TypeScript","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/buape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"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":{"custom":"https://go.buape.com/donate","github":["buape"]}},"created_at":"2024-04-13T23:28:01.000Z","updated_at":"2026-03-01T22:35:40.000Z","dependencies_parsed_at":"2024-11-05T05:25:07.754Z","dependency_job_id":"39e15986-e90d-4aa7-8eb0-86f25c3f7fb2","html_url":"https://github.com/buape/carbon","commit_stats":null,"previous_names":["buape/carbon"],"tags_count":57,"template":false,"template_full_name":null,"purl":"pkg:github/buape/carbon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buape%2Fcarbon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buape%2Fcarbon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buape%2Fcarbon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buape%2Fcarbon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buape","download_url":"https://codeload.github.com/buape/carbon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buape%2Fcarbon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30182686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["buape","bun","cloudflare-workers","discord","hacktoberfest","http","nextjs","nodejs"],"created_at":"2024-11-15T09:32:26.037Z","updated_at":"2026-04-10T08:12:35.312Z","avatar_url":"https://github.com/buape.png","language":"TypeScript","readme":"# Carbon\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://go.buape.com/carbon\"\u003e\u003cimg src=\"https://cdn.buape.com/carbon/wordmark.png\" alt=\"Carbon Wordmark\"\u003e\u003c/a\u003e\n\n\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/1280628625904894072?style=for-the-badge\"\u003e\n\u003cimg alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@buape/carbon?style=for-the-badge\"\u003e\n\u003cimg alt=\"NPM Downloads\" src=\"https://img.shields.io/npm/dm/@buape/carbon?style=for-the-badge\"\u003e\n\u003c/div\u003e\n\nCarbon is a fully typed Discord bot framework for TypeScript that helps you ship quickly with HTTP interactions first, then scale into richer features through plugins, reusable classes, and optional Gateway support without rewriting your architecture later.\n\n## Features\n\n- Build every common interaction type in one place: slash commands, user/message commands, buttons, select menus, and modals.\n- Start with simple HTTP interactions, then add Gateway or Gateway Forwarder only when your bot needs non-interaction events.\n- Run the same bot across Node.js, Bun, and Fetch-style runtimes like Cloudflare Workers or Next.js.\n- Components can register themselves automatically, and you can still register them globally or per command when you need persistence.\n- For quick flows, you can parse custom IDs cleanly and wait for a single component click with `replyAndWaitForComponent`.\n- Use prechecks and wildcard handlers to add safety rules and fallback behavior without turning command code into a mess.\n- Host multiple Discord applications from one deployment with `ClientManager`.\n- Grow through plugins like Linked Roles, Command Data, Paginator, Sharding, and Voice.\n- Tune request/event processing with queue lanes, concurrency controls, and runtime metrics when traffic grows.\n\n## Installation\n\nTo get started with Carbon, you can check out the [Getting Started](https://carbon.buape.com/carbon/getting-started) guides for your preferred platform.\n\n## Useful Links\n\n- [Documentation](https://carbon.buape.com/carbon)\n- [Discord](https://go.buape.com/carbon)\n- [NPM](https://www.npmjs.com/package/@buape/carbon)\n- [Cloudflare Workers Demo](https://github.com/buape/carbon/tree/main/apps/cloudo)\n- [Node.js Demo](https://github.com/buape/carbon/tree/main/apps/rocko)\n\n## Contributing\n\nWe welcome contributions to Carbon! If you're interested in contributing, please check out the [Contributing Guide](https://carbon.buape.com/even-more/contributing) for more information, and join our [Discord](https://go.buape.com/carbon) to get involved!\n","funding_links":["https://go.buape.com/donate","https://github.com/sponsors/buape"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuape%2Fcarbon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuape%2Fcarbon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuape%2Fcarbon/lists"}