Generating a token that can be used to botpost to the Fediverse.
Compatible with Mastodon, Misskey, and Pleroma.
Download prebuilt binaries from here (currently supports x86_64 and arm64 on Linux [glibc or musl], macOS and Windows), download from NPM, or build from source.
-
Set up using the Gitea registry
npm config set @froth:registry https://git.froth.zone/api/packages/sam/npm/ -
After setting up the registry, either run it once
npx --package=@froth/feditoken feditoken
or install globally
npm i -g @froth/feditoken
- You need to have
npmandnodejsinstalled.
- Node 16 or greater is required.
-
Install
pnpm:
corepack enable
Check https://pnpm.io/installation for more information. -
Clone the repository:
git clone https://git.froth.zone/sam/js-feditoken.git -
Install dependencies:
pnpm i -
Build:
pnpm run build