mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
parent
1d0d5fa8b1
commit
faaf1d83a2
3 changed files with 3 additions and 2 deletions
|
@ -26,7 +26,7 @@ Getting closer to a stable release, it should be the "last" migration.
|
|||
## Features
|
||||
|
||||
- Implements a basic [ActivityPub](https://activitypub.rocks/) server (with federation)
|
||||
- Compatible with [Mastodon](https://joinmastodon.org/) and others ([Pleroma](https://pleroma.social/), Hubzilla...)
|
||||
- Compatible with [Mastodon](https://joinmastodon.org/) and others ([Pleroma](https://pleroma.social/), Plume, PixelFed, Hubzilla...)
|
||||
- Also implements a remote follow compatible with Mastodon instances
|
||||
- Exposes your outbox as a basic microblog
|
||||
- Support all content types from the Fediverse (`Note`, `Article`, `Page`, `Video`, `Image`, `Question`...)
|
||||
|
|
1
app.py
1
app.py
|
@ -2585,6 +2585,7 @@ def post_to_outbox(activity: ap.BaseActivity) -> str:
|
|||
|
||||
# Assign create a random ID
|
||||
obj_id = back.random_object_id()
|
||||
|
||||
activity.set_id(back.activity_url(obj_id), obj_id)
|
||||
|
||||
back.save(Box.OUTBOX, activity)
|
||||
|
|
|
@ -17,7 +17,7 @@ bcrypt
|
|||
mf2py
|
||||
passlib
|
||||
git+https://github.com/erikriver/opengraph.git
|
||||
git+https://github.com/tsileo/little-boxes.git
|
||||
git+https://github.com/tsileo/little-boxes.git@litepub
|
||||
pyyaml
|
||||
pillow
|
||||
cachetools
|
||||
|
|
Loading…
Reference in a new issue