Go to file
Matt Baer e7781b8f65 Use log.Error instead of log.Info where necessary
Closes #5
2024-08-30 17:38:06 -04:00
.gitignore Inital commit 2019-09-04 12:34:29 +03:00
LICENSE Add license 2020-04-09 11:02:23 -04:00
TODO Cleanup 2019-10-08 15:23:25 +03:00
actor.go Go fmt files 2024-08-30 17:27:33 -04:00
go.mod Update go-fed/httpsig to v1.1.0 2024-08-30 17:24:15 -04:00
go.sum Update dependencies 2024-08-30 17:23:04 -04:00
http.go Use log.Error instead of log.Info where necessary 2024-08-30 17:38:06 -04:00
nodeinfo.go Add instance nodeinfo 2019-10-28 23:14:36 -04:00
readme.md Cleanup 2019-10-08 15:23:25 +03:00
remoteActor.go Use log.Error instead of log.Info where necessary 2024-08-30 17:38:06 -04:00
setup.go Remove unused code in setup.go 2024-08-30 17:34:24 -04:00
snips.md Make activityserve a free-standing library ready to "go get" it 2019-09-14 11:25:52 +03:00
util.go Remove commented imports in util.go 2024-08-30 17:32:56 -04: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.