Generate tokens for your fediverse instances. Supports Mastodon, Misskey and Pleroma
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Renovate Bot 8b5052b786
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
chore(deps): update dependency eslint to v8.37.0
2 days ago
src Migrate to ESM 3 months ago
.drone.jsonnet fix(deps): Migrate to pnpm 8 4 days ago
.eslintrc.json get rid of semicolons 5 months ago
.gitignore Migrate to Yarn v2 11 months ago
.prettierignore Migrate to Yarn v2 11 months ago
LICENSE Relicense + lint 10 months ago
README.md add NPM instructions 3 months ago
package.json chore(deps): update dependency eslint to v8.37.0 2 days ago
pnpm-lock.yaml chore(deps): update dependency eslint to v8.37.0 2 days ago
renovate.json Migrate to Yarn v2 11 months ago
tsconfig.json Migrate to ESM 3 months ago

README.md

JS-Feditoken

Build Status

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

  1. Set up using the Gitea registry

    npm config set @froth:registry https://git.froth.zone/api/packages/sam/npm/
    
  2. 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

  1. You need to have npm and nodejs installed.
  • Node 16 or greater is required.
  1. Install pnpm:
    corepack enable
    Check https://pnpm.io/installation for more information.

  2. Clone the repository:
    git clone https://git.froth.zone/sam/js-feditoken.git

  3. Install dependencies:
    pnpm i

  4. Build:
    pnpm run build