Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/writeas/activityserve
A very light ActivityPub library in Go
https://github.com/writeas/activityserve
activitypub
Last synced: 23 days ago
JSON representation
A very light ActivityPub library in Go
- Host: GitHub
- URL: https://github.com/writeas/activityserve
- Owner: writeas
- License: mit
- Created: 2019-09-14T08:28:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T00:00:21.000Z (8 months ago)
- Last Synced: 2024-04-14T01:18:19.607Z (7 months ago)
- Topics: activitypub
- Language: Go
- Size: 38.1 KB
- Stars: 17
- Watchers: 4
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# ActivityServe
## A very light ActivityPub library in go
This library was built to support the very little functions that [pherephone](https://github.com/writeas/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](https://github.com/writeas/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.