Toolkit for building ActivityPub servers
Find a file
2024-06-06 22:42:55 +03:00
.gitignore Inital commit 2019-09-04 12:34:29 +03:00
actor.go i want to ed25519 key being as actor primary key 2024-06-06 22:42:55 +03:00
go.mod Support Go modules 2020-03-17 13:03:21 -04:00
go.sum Support Go modules 2020-03-17 13:03:21 -04:00
http.go upload files 2024-05-31 20:41:29 +03:00
LICENSE Add license 2020-04-09 11:02:23 -04:00
nodeinfo.go Add instance nodeinfo 2019-10-28 23:14:36 -04:00
readme.md Update readme.md 2024-05-23 12:38:07 +03:00
remoteActor.go feature,fix: add request validation and fix attachment 2024-05-16 22:31:02 +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
TODO Cleanup 2019-10-08 15:23:25 +03:00
util.go Fix \\n in the publicKey and add http 204 as a success condition 2019-11-08 16:01:18 +02:00

Fork notice

This project is forked from activityserve

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.