A minimial activitypub server written for Bun.js
Find a file
Gordon Pedersen 6f3e2f65ad Initial commit
Code based on (but not identical to) https://github.com/jakelazaroff/activitypub-starter-kit
Instead of using node/express, it's using Bun/bun's inbuilt server
Right now it can follow/unfollow (be followed/unfollowed) and create notes which get sent to followers
No UI yet
Stores posts as markdown with YAML frontmatter
Stores activities for creating those posts as json
Stores following/followers in json files
2023-09-16 10:28:06 +10:00
.vscode Initial commit 2023-09-16 10:28:06 +10:00
_content Initial commit 2023-09-16 10:28:06 +10:00
src Initial commit 2023-09-16 10:28:06 +10:00
.gitignore Initial commit 2023-09-16 10:28:06 +10:00
bun.lockb Initial commit 2023-09-16 10:28:06 +10:00
package.json Initial commit 2023-09-16 10:28:06 +10:00
README.md Initial commit 2023-09-16 10:28:06 +10:00
tsconfig.json Initial commit 2023-09-16 10:28:06 +10:00

bun-activitypub

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.0.0. Bun is a fast all-in-one JavaScript runtime.