fedikit

🧱 Building Blocks for Fediverse.

MIT License

Downloads
836
Stars
11
Committers
1

FediKit

Building Blocks for Fediverse.

Features

  • Available on multiple runtimes.
    • FediKit is a Deno modules, published to npm with the help of
      dnt.
  • Focus on Web Standard.
    • FediKit uses Web Standard APIs for functionality such as fetch, Request
      and Response wherever possible.
    • For HTTP Signature, it uses the
      Web Crypto API.

Setup

Deno

Add FediKit to your deno.json or import_map.json (replace {{version}} with the current version):

{
  "imports": {
    "fedikit/": "https://deno.land/x/fedikit@{{version}}/"
  }
}

Node.js / Bun

FediKit is published under the @fedikit scope of npm, and you can download a package individually to suit your needs.

bun add @fedikit/http-signature # bun
pnpm add @fedikit/http-signature # pnpm
yarn add @fedikit/http-signature # yarn
npm i @fedikit/http-signature # npm

Blocks

HostMeta

HTTP Signature [WIP]

NodeInfo

Webfinger

Roadmap

FediKit currently only has a few peripheral libraries, mostly because of my limited energy.

I might consider writing some ActivityPub libraries (e.g. Actor, Activity Queues) once this project have other contributors on board.

License

Licensed under MIT.

Third Party Licenses

This project partially copies code from the following projects: