{"id":25022884,"url":"https://github.com/briangershon/bsky-tldr","last_synced_at":"2026-03-07T03:31:10.430Z","repository":{"id":275697959,"uuid":"926216906","full_name":"briangershon/bsky-tldr","owner":"briangershon","description":"Retrieve your daily Bluesky feed as simplified JSON, perfect for building feed readers or AI-powered summarization tools.","archived":false,"fork":false,"pushed_at":"2025-04-21T03:58:48.000Z","size":142,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T00:46:56.557Z","etag":null,"topics":["atproto","bluesky","bluesky-api","bsky","feed-aggregator","feed-reader","llm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/bsky-tldr","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/briangershon.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-02-02T20:23:36.000Z","updated_at":"2025-07-06T06:08:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"641f13f6-2897-481d-b8d8-1b91c5d093df","html_url":"https://github.com/briangershon/bsky-tldr","commit_stats":null,"previous_names":["briangershon/bsky-tldr"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/briangershon/bsky-tldr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fbsky-tldr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fbsky-tldr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fbsky-tldr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fbsky-tldr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briangershon","download_url":"https://codeload.github.com/briangershon/bsky-tldr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangershon%2Fbsky-tldr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"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":["atproto","bluesky","bluesky-api","bsky","feed-aggregator","feed-reader","llm"],"created_at":"2025-02-05T14:19:29.031Z","updated_at":"2026-03-07T03:31:10.405Z","avatar_url":"https://github.com/briangershon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bsky-tldr\n\nRetrieve your daily Bluesky feed as simplified JSON, perfect for building feed readers or AI-powered summarization tools.\n\nFor example [Building an MCP Server to Explore My Bluesky Feed](https://www.briangershon.com/blog/bluesky-daily-mcp-server/) with code available at \u003chttps://github.com/briangershon/bluesky-daily-mcp\u003e.\n\n## Features\n\n- Posts are retrieved for a specific day, with ability to specify the timezone offset.\n- Posts from Bluesky feed are in a simplified JSON format.\n- API:\n  - `retrieveFollows()` retrieves follows from an author.\n  - `retrieveAuthorFeed()` retrieves posts from an author, for a specific day.\n  - `uriToUrl` converts a post uri to a public url to view post on the web.\n\nInformation returned for each post:\n\n```json\n{\n  \"uri\": \"at://did:plc:oeio7zuhrsvmlyhia7e44nk6/app.bsky.feed.post/3lgzvm46vhu2c\",\n  \"content\": \"TIL about process.exitCode = 1;\\n\\nUseful if you want to mark a process as failed without immediately exiting it\",\n  \"createdAt\": \"2025-01-31T11:32:00.769Z\",\n  \"isRepost\": false,\n  \"links\": [\"https://example.com\"]\n}\n```\n\n## How to integrate into your own project\n\nWalk through the working code that retrieves posts for follows in `./scripts/retrieve-posts.ts`.\n\nHow to run it:\n\n1. Create a new App password in Bluesky, and provide your `BLUESKY_USERNAME` and `BLUESKY_PASSWORD` in an `.env` file in your root directory. You can create these via `Bluesky account settings \u003e Privacy \u0026 Security \u003e App passwords`.\n\n```bash\nBLUESKY_USERNAME=\nBLUESKY_PASSWORD=\n```\n\n2. Update script\n\nChange `SOURCE_ACTOR`, `TARGET_DATE` and `TIMEZONE_OFFSET` in `./src/scripts/retrieve-posts.ts` to your Bluesky handle or `did`, a date in `yyyymmdd` format and a timezone offset in hours (e.g. `-8` for PST).\n\n3. Run the script\n\n```bash\nnpm install\nnpm run retrievePosts\n```\n\n## How to integrate into your own project\n\n```bash\nnpm install @atproto/api\nnpm install bsky-tldr\n```\n\nGrab sample code from `./scripts/retrieve-posts.ts`.\n\n## Data Structure\n\nHere's the post data structure returned from our `retrieveAuthorFeed` function for viewing posts for a specific author:\n\n```json\n{\n  \"uri\": \"at://did:plc:oeio7zuhrsvmlyhia7e44nk6/app.bsky.feed.post/3lgzvm46vhu2c\",\n  \"content\": \"TIL about process.exitCode = 1;\\n\\nUseful if you want to mark a process as failed without immediately exiting it\",\n  \"createdAt\": \"2025-01-31T11:32:00.769Z\",\n  \"isRepost\": false,\n  \"links\": []\n}\n```\n\nPosts that include `uri`, `content`, `createdAt`, `isRepost` (`false` means it's an original by the author) and `links` which are the full links mentioned in the post.\n\nIf you need more information in your app, use `@atproto/api` library directly to retrieve the author's profile using their `did`, or the full post and replies via its `uri`.\n\n## Help for Contributors to this project\n\n### Local Development with watch mode\n\n```bash\nnpm install\nnpm run dev\n```\n\n### Run tests or coverage reports\n\n```bash\nnpm run test:watch\nnpm run coverage\n```\n\n### Testing package in another project\n\nIf you want to make changes to this package while testing it with another project:\n\n```bash\n# In your package directory\nnpm link\n\n# In your test project directory\nnpm link your-package-name\n```\n\n### Steps for publishing package to NPM\n\nAfter merging latest code to `main` branch:\n\n1. Locally, `git checkout main \u0026\u0026 git pull`\n2. `npm version patch` # or minor, or major\n3. `git push --follow-tags`\n4. A GitHub release is automatically written and published\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangershon%2Fbsky-tldr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriangershon%2Fbsky-tldr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangershon%2Fbsky-tldr/lists"}