pylodon
pylodon copied to clipboard
Flask-based ActivityPub server
This is probably totally the wrong thing to do. But it seems better than throwing 500's?
(Please forgive my relative ignorance on the design practices.) Do we need separate URIs for the API and for the Web-accessible server? It appears as if api.py is returning results...
Created posts have an `@id` like: `"@id" : "http://api.smilodon.localhost:5000/test/posts/0"`, but the `viewPost` route queries for a post with `@id` at the request's `url_root`, which isn't typically the same. So, when...
mastodon sends things with 'id' instead of '@id', 'type' instead of '@type'. this needs to be addressed, probably be renaming them to have the @-prefixes
users should be managed by the API, because the API defines the instance, and can be accessed by any frontend