https://github.com/writeas/activityserve-example
A simple go app that uses activityserve to create an actor and post hello to the world
https://github.com/writeas/activityserve-example
Last synced: 11 months ago
JSON representation
A simple go app that uses activityserve to create an actor and post hello to the world
- Host: GitHub
- URL: https://github.com/writeas/activityserve-example
- Owner: writeas
- Created: 2019-09-14T08:36:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-23T07:49:26.000Z (over 6 years ago)
- Last Synced: 2023-03-13T04:25:30.229Z (over 3 years ago)
- Language: Go
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Activityserve-example is a simple go app that creates and actor and posts "hello" to the world
This file just illustrates the usage philosophy of activityserve. More complicated examples (might) come later.
For now you will just have to set up your actor using `MakeActor` (which creates the storage backend and saves your actor to disk) and then use that actor to perform the familiar ActivityPub actions (for example `actor.follow("https://fosstodon.org/users/qwazix")` or `actor.CreateNote("Hello World", "")`)