chtorr/vendor/github.com/writeas/activityserve
Uriel Fanelli a318691954 Initial commit 2023-02-14 11:33:38 +01:00
..
.gitignore Initial commit 2023-02-14 11:33:38 +01:00
LICENSE Initial commit 2023-02-14 11:33:38 +01:00
TODO Initial commit 2023-02-14 11:33:38 +01:00
actor.go Initial commit 2023-02-14 11:33:38 +01:00
http.go Initial commit 2023-02-14 11:33:38 +01:00
nodeinfo.go Initial commit 2023-02-14 11:33:38 +01:00
readme.md Initial commit 2023-02-14 11:33:38 +01:00
remoteActor.go Initial commit 2023-02-14 11:33:38 +01:00
setup.go Initial commit 2023-02-14 11:33:38 +01:00
snips.md Initial commit 2023-02-14 11:33:38 +01:00
util.go Initial commit 2023-02-14 11:33:38 +01: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.