{"id":15486504,"url":"https://github.com/marshalx/bluesky-feed-generator","last_synced_at":"2025-10-11T14:37:52.990Z","repository":{"id":170184254,"uuid":"646102237","full_name":"MarshalX/bluesky-feed-generator","owner":"MarshalX","description":"🦋 Bluesky custom feed algorithms server in Python 🐍","archived":false,"fork":false,"pushed_at":"2025-02-25T11:15:04.000Z","size":70,"stargazers_count":276,"open_issues_count":1,"forks_count":87,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-30T09:04:04.431Z","etag":null,"topics":["atp","atproto","bluesky","bluesky-feed","bluesky-generator","bsky","custom-feed","feed-generator"],"latest_commit_sha":null,"homepage":"https://atproto.blue/en/latest/atproto_firehose/index.html","language":"Python","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/MarshalX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"MarshalX"}},"created_at":"2023-05-27T09:42:21.000Z","updated_at":"2025-04-27T10:20:33.000Z","dependencies_parsed_at":"2024-06-01T13:11:28.831Z","dependency_job_id":"83a23ab2-f6a6-4fff-b58e-a70c07173264","html_url":"https://github.com/MarshalX/bluesky-feed-generator","commit_stats":{"total_commits":48,"total_committers":4,"mean_commits":12.0,"dds":0.0625,"last_synced_commit":"3c9c302418759225310e8d744183b7910db954d8"},"previous_names":["marshalx/bluesky-feed-generator"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/MarshalX/bluesky-feed-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshalX%2Fbluesky-feed-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshalX%2Fbluesky-feed-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshalX%2Fbluesky-feed-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshalX%2Fbluesky-feed-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarshalX","download_url":"https://codeload.github.com/MarshalX/bluesky-feed-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshalX%2Fbluesky-feed-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007453,"owners_count":26084313,"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-11T02:00:06.511Z","response_time":55,"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":["atp","atproto","bluesky","bluesky-feed","bluesky-generator","bsky","custom-feed","feed-generator"],"created_at":"2024-10-02T06:08:41.268Z","updated_at":"2025-10-11T14:37:52.971Z","avatar_url":"https://github.com/MarshalX.png","language":"Python","funding_links":["https://github.com/sponsors/MarshalX"],"categories":[],"sub_categories":[],"readme":"# ATProto Feed Generator powered by [The AT Protocol SDK for Python](https://github.com/MarshalX/atproto)\n\n\u003e Feed Generators are services that provide custom algorithms to users through the AT Protocol.\n\nOfficial overview (read it first): https://github.com/bluesky-social/feed-generator#overview\n\n## Getting Started\n\nWe've set up this simple server with SQLite to store and query data. Feel free to switch this out for whichever database you prefer.\n\nNext, you will need to do two things:\n\n1. Implement filtering logic in `server/data_filter.py`.\n2. Copy `.env.example` to `.env`\n3. Optionally implement custom feed generation logic in `server/algos`.\n\nWe've taken care of setting this server up with a did:web. However, you're free to switch this out for did:plc if you like - you may want to if you expect this Feed Generator to be long-standing and possibly migrating domains.\n\n## Publishing your feed\n\nTo publish your feed, simply run `python publish_feed.py`.\n\nTo update your feed's display data (name, avatar, description, etc.), just update the relevant variables in `.env` and re-run the script.\n\nAfter successfully running the script, you should be able to see your feed from within the app, as well as share it by embedding a link in a post (similar to a quote post).\n\n## Running the Server\n\nInstall Python 3.7+.\n\nRun `setupvenv.sh` to setup a virtual environment and install the dependencies:\n\n```shell\n./setupvenv.sh\n```\n\n**Note**: To get value for `FEED_URI` you need to publish the feed first\n\nTo run a development Flask server:\n\n```shell\nflask run\n```\n\n**Warning** The Flask development server is not designed for production use. In production, you should use production WSGI server such as [`waitress`](https://flask.palletsprojects.com/en/stable/deploying/waitress/) behind a reverse proxy such as NGINX instead.\n\n```shell\npip install waitress\nwaitress-serve --listen=127.0.0.1:8080 server.app:app\n```\n\nTo run a development server with debugging:\n\n```shell\nflask --debug run\n```\n\n**Note**: Duplication of data stream instances in debug mode is fine.\n\n**Warning**: If you want to run server in many workers, you should run Data Stream (Firehose) separately.\n\n### Endpoints\n\n- `/.well-known/did.json`\n- `/xrpc/app.bsky.feed.describeFeedGenerator`\n- `/xrpc/app.bsky.feed.getFeedSkeleton`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarshalx%2Fbluesky-feed-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarshalx%2Fbluesky-feed-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarshalx%2Fbluesky-feed-generator/lists"}