You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE | 3 years ago | |
TODO | 4 years ago | |
actor.go | 3 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
http.go | 3 years ago | |
nodeinfo.go | 3 years ago | |
readme.md | 4 years ago | |
remoteActor.go | 3 years ago | |
setup.go | 4 years ago | |
snips.md | 4 years ago | |
util.go | 3 years ago |
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.