{"id":21970741,"url":"https://github.com/whosydd/carbon-api","last_synced_at":"2026-04-28T01:32:53.907Z","repository":{"id":121073478,"uuid":"576581812","full_name":"whosydd/carbon-api","owner":"whosydd","description":"API for carbon.now.sh","archived":false,"fork":false,"pushed_at":"2023-03-07T06:48:56.000Z","size":123,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T16:06:38.100Z","etag":null,"topics":["api","carbon-now-sh","vercel-serverless"],"latest_commit_sha":null,"homepage":"https://carbon-api.vercel.app/","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/whosydd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-12-10T09:57:37.000Z","updated_at":"2025-01-18T03:38:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f991558a-e7c6-40a9-a6e4-4cd4578c4790","html_url":"https://github.com/whosydd/carbon-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whosydd/carbon-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosydd%2Fcarbon-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosydd%2Fcarbon-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosydd%2Fcarbon-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosydd%2Fcarbon-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whosydd","download_url":"https://codeload.github.com/whosydd/carbon-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whosydd%2Fcarbon-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362781,"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":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["api","carbon-now-sh","vercel-serverless"],"created_at":"2024-11-29T14:42:23.838Z","updated_at":"2026-04-28T01:32:53.891Z","avatar_url":"https://github.com/whosydd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# carbon-api\n\n## Usage\n\n- url: `https://carbon-api.vercel.app/api`\n- method: `POST`\n- request.body: `code`, `theme`\n  - optional theme: `3024 Night`, `A11y Dark`, `Blackboard`, `Base 16 (Dark)`, `Cobalt`, `Dracula ProPurchase`, `Duotone`, `Hopscotch`, `Lucario`, `Material`, `Monokai`, `Night Owl`, `Nord`, `Oceanic Next`, `One Light`, `One Dark`, `Panda`, `Paraiso`, `Seti`, `Shades of Purple`, `Solarized (Dark)`, `Solarized (Light)`, `SynthWave '84`, `Twilight`, `Verminal`, `VSCode`, `Yeti`, `Zenburn`\n- response.data: `ArrayBuffer`\n\n```js\nconst res = await axios.post(\n  `https://carbon-api.vercel.app/api`,\n  { code, theme },\n  { responseType: 'arraybuffer' }\n)\n```\n\n## Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fwhosydd%2Fcarbon-api)\n\n## Known issues\n\nThe maximum execution timeout is **10 seconds** when deployed on a Personal Account (Hobby plan). [read more](https://vercel.com/docs/concepts/limits/overview#serverless-function-execution-timeout)\n\nIf you got error code `FUNCTION_INVOCATION_TIMEOUT`, please retry.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhosydd%2Fcarbon-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhosydd%2Fcarbon-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhosydd%2Fcarbon-api/lists"}