{"id":14990261,"url":"https://github.com/vincenius/bsky-embed","last_synced_at":"2025-10-07T02:18:51.329Z","repository":{"id":224091478,"uuid":"762332909","full_name":"Vincenius/bsky-embed","owner":"Vincenius","description":"A web-component to easily embed a bluesky feed.","archived":false,"fork":false,"pushed_at":"2025-09-01T11:02:10.000Z","size":2570,"stargazers_count":221,"open_issues_count":11,"forks_count":18,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-10-02T16:56:58.453Z","etag":null,"topics":["bluesky","web-component"],"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/Vincenius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"wweb_dev","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"polar":null,"custom":null}},"created_at":"2024-02-23T15:03:28.000Z","updated_at":"2025-09-27T18:34:22.000Z","dependencies_parsed_at":"2024-02-23T18:31:38.491Z","dependency_job_id":"9f86798a-85fc-4568-86c1-4a7ad3aa4738","html_url":"https://github.com/Vincenius/bsky-embed","commit_stats":{"total_commits":42,"total_committers":6,"mean_commits":7.0,"dds":0.5238095238095238,"last_synced_commit":"5d776e20052bbc9a61c683cda964c6e331e3f714"},"previous_names":["vincenius/bsky-embed"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/Vincenius/bsky-embed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincenius%2Fbsky-embed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincenius%2Fbsky-embed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincenius%2Fbsky-embed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincenius%2Fbsky-embed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vincenius","download_url":"https://codeload.github.com/Vincenius/bsky-embed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincenius%2Fbsky-embed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708004,"owners_count":26031932,"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-10-07T02:00:06.786Z","response_time":59,"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":["bluesky","web-component"],"created_at":"2024-09-24T14:19:47.692Z","updated_at":"2025-10-07T02:18:51.323Z","avatar_url":"https://github.com/Vincenius.png","language":"TypeScript","funding_links":["https://ko-fi.com/wweb_dev"],"categories":[],"sub_categories":[],"readme":"\n# bsky-embed\n\nA web-component to easily embed a bluesky feed.\n\nSee it in action on [CodePen](https://codepen.io/Vincenius/pen/RwdXgyw?editors=1000).\n\n```html\n  \u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/bsky-embed/dist/bsky-embed.es.js\" async\u003e\u003c/script\u003e\n  \u003cbsky-embed\n    username=\"vincentwill.com\"\n    mode=\"dark\"\n    limit=\"5\"\n  \u003e\n  \u003c/bsky-embed\u003e\n```\n\n![screenshot-rocks](https://github.com/Vincenius/bsky-embed/assets/43953403/91661dd7-2a2d-47fe-b87e-c4fb6d9207b0)\n\n## Installation\n\n### Option 1. via CDN\n\n```html\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/bsky-embed/dist/bsky-embed.es.js\" async\u003e\u003c/script\u003e\n```\n\n### Option 2. via npm / yarn etc.\nInstall via CLI\n```bash\n  npm i bsky-embed --save\n```\n\nImport in any framework using:\n```javascript\n  import \"bsky-embed/dist/bsky-embed.es.js\"\n```\n\n## Usage\n\nMinimal:\n\n```html\n  \u003cbsky-embed username=\"vincentwill.com\"\u003e\u003c/bsky-embed\u003e\n```\n\nAll options:\n\n```html\n  \u003cbsky-embed\n    username=\"vincentwill.com\"\n    feed=\"at://...(decide between username, feed, or search)\"\n    search=\"#BuildInPublic (decide between username, feed, and search)\"\n    mode=\"dark\"\n    limit=\"5\"\n    link-target=\"_blank\"\n    link-image=\"true\"\n    load-more=\"true\"\n    disable-styles=\"false\"\n    custom-styles=\".border-slate-300 { border-color: red; }\"\n    date-format='{\"type\":\"absolute\",\"locale\":\"de-DE\",\"options\":{\"weekday\":\"long\",\"year\":\"numeric\",\"month\":\"long\",\"day\":\"numeric\"}}'\n    disable-images=\"true\"\n    disable-videos=\"true\"\n    disable-autoplay=\"true\"\n  \u003e\n  \u003c/bsky-embed\u003e\n```\n\n### Options\n\n#### Required (at least one of these options)\n\n| Option    | Value                       | Default Value |\n|-----------|-----------------------------|---------------|\n| `username`| User handle                 | -             |\n| `feed`    | Feed ID *                   | -             |\n| `search`  | Search term (eg. hashtags)  | -             |\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ci\u003e* How to find your feed id\u003c/i\u003e\u003c/summary\u003e\n  Open the URL of your feed. Open the Developer tools and go to the network tab. Find the call from bluesky to the `getFeedGenerator`. It should show the feed id.\u003cbr/\u003e\u003cbr/\u003e\n  \u003cimg src=\"https://github.com/Vincenius/bsky-embed/assets/43953403/604fc30c-4c19-4391-aca3-663505c09345\" alt=\"screenshot of the developer tools\"\u003e\n\u003c/details\u003e\n\n#### Optional\n\n| Option           | Value                                               | Default Value |\n|------------------|-----------------------------------------------------|---------------|\n| `limit`          | Positive integer                                    | `10`          |\n| `mode`           | `\"dark\"` or `\"\"`                                    | -             |\n| `link-target`    | `\"_self\"`, `\"_blank\"`, `\"_parent\"`, `\"_top\"`        | `\"_self\"`     |\n| `link-image`     | `\"true\"` or `\"false\"`                               | `\"false\"`     |\n| `load-more`      | `\"true\"` or `\"false\"`                               | `\"false\"`     |\n| `disable-styles` | `\"true\"` or `\"false\"`                               | `\"false\"`     |\n| `disable-images` | `\"true\"` or `\"false\"`                               | `\"false\"`     |\n| `disable-videos` | `\"true\"` or `\"false\"`                               | `\"false\"`     |\n| `disable-autoplay` | `\"true\"` or `\"false\"`                               | `\"false\"`     |\n| `custom-styles  `| String representing custom CSS styles               | -             |\n| `date-format`    | JSON String with type, locale \u0026 options (see [Issue#35](https://github.com/Vincenius/bsky-embed/issues/35))  | `'{\"type\":\"relative\"}'` |\n\n## Run Locally\n\nThe project is written in [Solid.js](https://www.solidjs.com/).\n\nClone the repository and Run\n\n```bash\n  npm i\n```\n\nTo start the dev server use:\n\n```bash\n  npm run dev\n```\n\nTo build the web component use\n\n```bash\n  npm run build\n```\n\nThe JavaScript file for the web component will be rendered into `./dist/`. You can test the web component with the `test.html` file.\n\n## Contributors\n\n[![](https://github.com/vincenius.png?size=50)](https://github.com/Vincenius)\n[![](https://github.com/NicoNotAvailable.png?size=50)](https://github.com/NicoNotAvailable)\n[![](https://github.com/sirteddi.png?size=50)](https://github.com/sirteddi)\n[![](https://github.com/antont.png?size=50)](https://github.com/antont)\n\u003ca href=\"https://github.com/RetroGameDeveloper\"\u003e\n  \u003cimg src=\"https://github.com/RetroGameDeveloper.png\" width=\"50\" height=\"50\" /\u003e\n\u003c/a\u003e\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincenius%2Fbsky-embed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincenius%2Fbsky-embed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincenius%2Fbsky-embed/lists"}