Sam Therapy
97e798d44b
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
1.2 KiB
1.2 KiB
JS-Feditoken
Generating a token that can be used to botpost to the Fediverse.
Compatible with Mastodon, Misskey, and Pleroma.
Usage
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.
NPM
-
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
Running from Source
- You need to have
npm
andnodejs
installed.
- 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