{"id":27966294,"url":"https://github.com/twowheeldev/markupbluesky","last_synced_at":"2025-05-07T20:17:53.616Z","repository":{"id":289772709,"uuid":"972308846","full_name":"TwoWheelDev/MarkupBluesky","owner":"TwoWheelDev","description":"Processwire Module to show a users Bluesky posts","archived":false,"fork":false,"pushed_at":"2025-04-29T10:18:02.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T20:17:50.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/TwoWheelDev.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-04-24T21:38:15.000Z","updated_at":"2025-04-29T10:18:06.000Z","dependencies_parsed_at":"2025-04-25T01:27:21.492Z","dependency_job_id":"7c57a9d6-1f36-42e3-af5b-0c01f294490c","html_url":"https://github.com/TwoWheelDev/MarkupBluesky","commit_stats":null,"previous_names":["twowheeldev/markupbluesky"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupBluesky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupBluesky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupBluesky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoWheelDev%2FMarkupBluesky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TwoWheelDev","download_url":"https://codeload.github.com/TwoWheelDev/MarkupBluesky/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252949241,"owners_count":21830154,"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","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":[],"created_at":"2025-05-07T20:17:52.986Z","updated_at":"2025-05-07T20:17:53.591Z","avatar_url":"https://github.com/TwoWheelDev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MarkupBluesky for ProcessWire\n\n![StyleCI Badge](https://github.styleci.io/repos/972308846/shield?branch=main) ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/twowheeldev/MarkupBluesky/php.yml?style=flat-square\u0026label=Tests) ![GitHub License](https://img.shields.io/github/license/twowheeldev/MarkupBluesky?style=flat-square)\n\nThe **MarkupBluesky** module allows you to embed and manage content from [Bluesky Social](https://bsky.app) within your ProcessWire pages using a custom fieldtype. Designed with flexibility in mind, it supports fetching posts from a given Bluesky handle and includes configurable options such as number of posts and whether to include reposts.\n\n## Features\n\n- Custom ProcessWire fieldtype with options for:\n  - Setting a Bluesky handle\n  - Choosing how many posts to show\n  - Toggling inclusion of reposts\n- Outputs formatted markup via `MarkupBluesky` for front-end rendering\n- Stores settings per-page using JSON in the database\n- Includes a `Textformatter` to render individual posts to a page\n\n## Installation\n\n1. Copy all module files to `site/modules/BlueskyFeed/`\n2. Inside ProcessWire Admin:\n   - Go to **Modules \u003e Refresh**\n   - Install `MarkupBluesky` (this will also install `InputfieldBluesky` and `FieldTypeBluesky`)\n   - Optionally install `TextformatterBluesky`\n\n## Usage\n\n### Feed Rendering\n\n#### 1. Add Field to Template\n- Create a new field of type `Bluesky`\n- Add it to any template where you want to configure a Bluesky feed\n\n#### 2. Configure Per Page\nOnce added, you can:\n- Enter the Bluesky handle (e.g. `@yourusername.bsky.social`)\n- Set the number of posts (default: 5)\n- Choose whether to include reposts\n\n#### 3. Rendering on Frontend\n\nWhen using the rendering two dependencies are needed:\n- `FancyBox` (to post images to be displayed full screen)\n- `HLS` (to allow users to play emebedded videos)\n\nThese can be added to the head of the page:\n```html\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.css\" /\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.umd.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/hls.js@latest\"\u003e\u003c/script\u003e\n```\n \nTo output the feed to the page:\n```php\necho $modules-\u003eget('MarkupBluesky')-\u003erenderFeed($page-\u003ebluesky);\n```\n\n### Post Rendering\n\n#### 1. Add the Textformatter to the required field\n#### 2. Add the URL of the post you want to display to the page (in the field configured with the Textformatter)\n- The post url is as displayed in the browser e.g https://bsky.app/profile/bsky.app/post/3lndjyecwcs2a\n- The user handle (bsky.app) will be converted to an atProto DID and stored in the database table, so if a user changes their handle \n  the original link will still render the correct post\n- To ensure images and videos are rendered and viewable, the `FancyBox` and `HLS` scripts should be added as detailed above\n\n### License\n\nMIT — do whatever you want, just don’t blame me if it breaks 😅\n\n### Credits\n\nBuilt by TwoWheelDev 💙\n\nPowered by ProcessWire and fueled by curiosity.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwowheeldev%2Fmarkupbluesky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwowheeldev%2Fmarkupbluesky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwowheeldev%2Fmarkupbluesky/lists"}