Go to file
Michael Demetriou 5bbc0fca4c Make "Announce" "To" property an array according to
https://git.pleroma.social/pleroma/pleroma/issues/1326#note_43069
2019-10-21 13:24:29 +03:00
.gitignore Inital commit 2019-09-04 12:34:29 +03:00
TODO Cleanup 2019-10-08 15:23:25 +03:00
actor.go Make "Announce" "To" property an array according to 2019-10-21 13:24:29 +03:00
http.go Cleanup 2019-10-08 15:23:25 +03:00
readme.md Cleanup 2019-10-08 15:23:25 +03:00
remoteActor.go Make sure endpoints["sharedInbox"] exists before using it 2019-10-14 12:01:07 +03:00
setup.go Fixes to enable following pixelfed 2019-09-20 16:21:21 +03:00
snips.md Make activityserve a free-standing library ready to "go get" it 2019-09-14 11:25:52 +03:00
util.go Make activityserve a free-standing library ready to "go get" it 2019-09-14 11:25:52 +03:00

readme.md

ActivityServe

A very light ActivityPub library in go

This library was built to support the very little functions that pherephone requires. It might never be feature-complete but it's a very good point to start your activityPub journey. Take a look at activityserve-example for a simple main file that uses activityserve to post a "Hello, world" message.

For now it supports following and unfollowing users, accepting follows, announcing (boosting) other posts and this is pretty much it.

The library is still a moving target and the api is not guaranteed to be stable.

You can override the auto-accept upon follow by setting the actor.OnFollow to a custom function.