{"id":13765708,"url":"https://github.com/rowanlupton/pylodon","last_synced_at":"2025-04-10T05:11:42.061Z","repository":{"id":79223764,"uuid":"88553333","full_name":"rowanlupton/pylodon","owner":"rowanlupton","description":"Flask-based ActivityPub server","archived":false,"fork":false,"pushed_at":"2018-08-28T23:51:57.000Z","size":32533,"stargazers_count":100,"open_issues_count":8,"forks_count":14,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-10T05:11:34.356Z","etag":null,"topics":["activipy","activitypub","activitystreams","federated","federation","flask","flask-login","flask-pymongo","flask-restful","jinja2","mastodon-social-network","mongodb","python3","webfinger"],"latest_commit_sha":null,"homepage":"","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/rowanlupton.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}},"created_at":"2017-04-17T21:42:33.000Z","updated_at":"2025-01-14T03:08:54.000Z","dependencies_parsed_at":"2023-03-07T14:15:45.187Z","dependency_job_id":null,"html_url":"https://github.com/rowanlupton/pylodon","commit_stats":{"total_commits":410,"total_committers":4,"mean_commits":102.5,"dds":0.009756097560975618,"last_synced_commit":"5eaa92ca70a067d24a843b88809e91139c705a76"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanlupton%2Fpylodon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanlupton%2Fpylodon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanlupton%2Fpylodon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanlupton%2Fpylodon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rowanlupton","download_url":"https://codeload.github.com/rowanlupton/pylodon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161276,"owners_count":21057555,"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":["activipy","activitypub","activitystreams","federated","federation","flask","flask-login","flask-pymongo","flask-restful","jinja2","mastodon-social-network","mongodb","python3","webfinger"],"created_at":"2024-08-03T16:00:44.351Z","updated_at":"2025-04-10T05:11:42.039Z","avatar_url":"https://github.com/rowanlupton.png","language":"Python","funding_links":[],"categories":["Implementations"],"sub_categories":[],"readme":"# pylodon\n\n[![Join the chat at https://gitter.im/pylodon/Lobby](https://badges.gitter.im/pylodon/Lobby.svg)](https://gitter.im/pylodon/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n![pylodon](docs/pylodon.png)\n*image courtesy of [@banjofox](https://dev.glitch.social/@banjofox)*\n\n## Setup\n\nCreate a virtualenv (e.g. `virtualenv -p python3 venv`), activate it (e.g. `. venv/bin/activate`), and then `pip install -r requirements.txt`. *(Make sure it's a Python3 environment; some of our dependencies require it.)*\n\nCreate an account with [MongoDB's cloud service](https://www.mongodb.com/cloud/atlas); it's free for a very small cluster. Set up an admin user with a separate password, create an IP whitelist and connect to the database cluster to make sure it's working. I use a blanket whitelist, and Atlas complains at me every time. (Install `mongodb` to your machine, with Homebrew, for example.)\n\nDocs:\n* [MongoDB Atlas docs: Getting Started](https://docs.atlas.mongodb.com/getting-started/)\n\n## Config\n\nUpdate `config.py` wherever the information looks inadequate (e.g. anything that says .rowan.website should have your own domain).\n\nCreate a `.env` file (or otherwise configure environment variables), based off of the included `.env.example`. This is conveniently loaded in by python-dotenv.\n\nFor local development, you probably want to leave SSLify disabled (`STRICT_HTTPS` in `config.py`), to access the server over HTTP rather than HTTPS. The `STRICT_HEADERS` config variable is also disabled by default, so that you don't have to worry about content headers to debug the API server.\n\n## Run it!\n\n```\n$ . venv/bin/activate\n$ gunicorn run:app\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowanlupton%2Fpylodon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frowanlupton%2Fpylodon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowanlupton%2Fpylodon/lists"}