{"id":29966457,"url":"https://github.com/k0in/can-i-use-embed","last_synced_at":"2026-04-15T23:31:32.043Z","repository":{"id":304119562,"uuid":"1017045967","full_name":"K0IN/can-i-use-embed","owner":"K0IN","description":"Create beautiful svg that you can embed in your website / readme to show which browsers are supported.","archived":false,"fork":false,"pushed_at":"2025-07-17T23:45:26.000Z","size":1231,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T03:32:02.213Z","etag":null,"topics":["browser-compat-data","can-i-use","deno","deno-deploy","image-generation","serverless","svg","web-standards"],"latest_commit_sha":null,"homepage":"","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/K0IN.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,"zenodo":null}},"created_at":"2025-07-10T00:15:05.000Z","updated_at":"2025-07-17T23:45:29.000Z","dependencies_parsed_at":"2025-07-11T10:32:16.184Z","dependency_job_id":"bd4e8aa9-6f35-4f31-924d-d8529077994a","html_url":"https://github.com/K0IN/can-i-use-embed","commit_stats":null,"previous_names":["k0in/can-i-use-embed"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/K0IN/can-i-use-embed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0IN%2Fcan-i-use-embed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0IN%2Fcan-i-use-embed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0IN%2Fcan-i-use-embed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0IN%2Fcan-i-use-embed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/K0IN","download_url":"https://codeload.github.com/K0IN/can-i-use-embed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K0IN%2Fcan-i-use-embed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271751896,"owners_count":24814702,"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-23T02:00:09.327Z","response_time":69,"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":["browser-compat-data","can-i-use","deno","deno-deploy","image-generation","serverless","svg","web-standards"],"created_at":"2025-08-04T03:00:55.540Z","updated_at":"2026-04-15T23:31:31.992Z","avatar_url":"https://github.com/K0IN.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Can I Use Embed\n\nGenerate browser compatibility badges for your projects.\n\nThis service creates SVG badges showing which browsers support specific web features, using Mozilla's official browser compatibility data.\n\n## What it does\n\nShows minimum browser versions required for web features you use in your project. Instead of manually checking compatibility tables, get a visual badge that updates automatically.\n\n## Quick Start\n\nAdd this to your README to show Service Worker support:\n\n```markdown\n![Browser Support](https://can-i-use-embed.1k0.in/min-browser-version?features=api:navigator:serviceworker\u0026filter=main)\n```\n\nResult:\n\n![example-image](https://can-i-use-embed.1k0.in/min-browser-version?features=api:navigator:serviceworker\u0026filter=main\u0026cache=false) \u003c!-- github did somehow cache a broken version, the url change fixes this --\u003e\n\n## Usage\n\nThere is a public instance of the service running at [can-i-use-embed.1k0.in](https://can-i-use-embed.1k0.in). You can use it to generate badges for your projects.\nIf you think your service will be used by many people, consider running your own instance to avoid rate limits.\n\n### Basic syntax\n\n```url\nhttps://can-i-use-embed.1k0.in/min-browser-version?features=FEATURE_NAME\u0026filter=FILTER\n```\n\n**Parameters:**\n\n- `features` - Web feature identifier (e.g., `api:navigator:serviceworker`)\n- `filter` - Target browsers: `main`, `desktop`, `mobile`, etc. (defaults to `all`)\n\n**Multiple features:** Add multiple `\u0026features=` parameters to check several features at once.\n\n📋 [View all available features](https://can-i-use-embed.1k0.in/all-features)\n\n### Multiple features\n\nCheck several features at once:\n\n```url\nhttps://can-i-use-embed.1k0.in/min-browser-version?features=api:navigator:serviceworker\u0026features=api:indexeddb\u0026features=api:webgl\n```\n\n### Browser filtering\n\nUse `\u0026filter=` to target specific browsers:\n\n- `main` - Chrome, Firefox, Safari, Edge (recommended for most projects)\n- `desktop` - Desktop browsers only\n- `mobile` - Mobile browsers only (Chrome Android, Firefox Android, Safari iOS, Opera Mobile, WebViews, Samsung Internet)\n- `chrome` - Chrome and Chrome Android\n- `firefox` - Firefox and Firefox Android\n- `safari` - Safari and Safari iOS\n- `web` - Web browsers (includes all major browsers)\n- `legacy` - Older browsers like IE, Node.js, etc.\n- `chromium` - Chromium-based browsers (Chrome, Edge, Opera)\n- `webview` - WebView browsers (Android, iOS)\n- `standaloneEngines` - Standalone engines (Deno, Node.js)\n- `vr` - VR browsers (Oculus)\n- `all` - All browsers\n\n## Examples\n\n### Installable Progressive Web App\n\n```markdown\n![PWA Support](https://can-i-use-embed.1k0.in/min-browser-version?features=api:navigator:serviceworker\u0026features=manifests:webapp:serviceworker\u0026features=api:beforeinstallpromptevent\u0026filter=main)\n```\n\n![PWA Support](https://can-i-use-embed.1k0.in/min-browser-version?features=api:navigator:serviceworker\u0026features=manifests:webapp:serviceworker\u0026features=api:beforeinstallpromptevent\u0026filter=main)\n\n### WebGL Application\n\n```markdown\n![WebGL Support](https://can-i-use-embed.1k0.in/min-browser-version?features=api:htmlcanvaselement:getcontext:webgl2_context\u0026filter=main)\n```\n\n![WebGL Support](https://can-i-use-embed.1k0.in/min-browser-version?features=api:htmlcanvaselement:getcontext:webgl2_context\u0026filter=main)\n\n### Unsupported Feature (ambientlightsensor)\n\nNote features behind flags are shown as unsupported\n\n```markdown\n![WebGL Support](https://can-i-use-embed.1k0.in/min-browser-version?features=api:ambientlightsensor\u0026filter=main)\n```\n\n![WebGL Support](https://can-i-use-embed.1k0.in/min-browser-version?features=api:ambientlightsensor\u0026filter=main)\n\n### Multiple Features (serviceworker, indexeddb, webgl2renderingcontext, abortcontroller)\n\n```markdown\n![Multiple Features](https://can-i-use-embed.1k0.in/min-browser-version?features=api:navigator:serviceworker\u0026features=api:indexeddb\u0026features=api:webgl2renderingcontext\u0026features=api:abortcontroller\u0026filter=main)\n```\n\n![Multiple Features](https://can-i-use-embed.1k0.in/min-browser-version?features=api:navigator:serviceworker\u0026features=api:indexeddb\u0026features=api:webgl2renderingcontext\u0026features=api:abortcontroller\u0026filter=main)\n\n## Deployment\n\nWant to run your own instance?\n\n```bash\n# Clone and run locally\ngit clone https://github.com/K0IN/can-i-use-embed.git\ncd can-i-use-embed\n\n# Deploy to Deno Deploy\ndeno deploy main.ts\n```\n\n## API Endpoints\n\n- `/min-browser-version` - renders the badge\n- `/all-features` - Lists all available features (JSON)\n\n## Credits\n\n- Browser data: [MDN Browser Compat Data](https://github.com/mdn/browser-compat-data)\n- Built with: [Deno](https://deno.land/) and [Hono](https://hono.dev/)\n- Icons: [Font Awesome](https://fontawesome.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0in%2Fcan-i-use-embed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0in%2Fcan-i-use-embed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0in%2Fcan-i-use-embed/lists"}