Generate tokens for your fediverse instances. Supports Mastodon, Misskey and Pleroma https://blog.froth.zone/sam/the-end-of-an-era
This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Renovate Bot 3abc079c01
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update typescript-eslint monorepo to v5.59.1
2023-04-24 18:02:16 +00:00
src Migrate to ESM 2022-12-28 16:03:02 +01:00
.drone.jsonnet fix(deps): Migrate to pnpm 8 2023-03-28 16:11:07 +02:00
.eslintrc.json get rid of semicolons 2022-10-28 16:21:31 +02:00
.gitignore Migrate to Yarn v2 2022-05-09 17:23:18 +02:00
.prettierignore Migrate to Yarn v2 2022-05-09 17:23:18 +02:00
LICENSE Relicense + lint 2022-06-11 14:19:05 +02:00
package.json chore(deps): update typescript-eslint monorepo to v5.59.1 2023-04-24 18:02:16 +00:00
pnpm-lock.yaml chore(deps): update typescript-eslint monorepo to v5.59.1 2023-04-24 18:02:16 +00:00
README.md add NPM instructions 2022-12-29 15:15:37 +01:00
renovate.json Migrate to Yarn v2 2022-05-09 17:23:18 +02:00
tsconfig.json Migrate to ESM 2022-12-28 16:03:02 +01:00

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