Generate tokens for your fediverse instances. Supports Mastodon, Misskey and Pleroma
https://blog.froth.zone/sam/the-end-of-an-era
Renovate Bot
a28248cdc8
All checks were successful
continuous-integration/drone/push Build is passing
|
||
---|---|---|
src | ||
.drone.jsonnet | ||
.eslintrc.json | ||
.gitignore | ||
.prettierignore | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
renovate.json | ||
tsconfig.json |
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