Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
e5f996b2c7
commit
97e798d44b
1 changed files with 21 additions and 1 deletions
22
README.md
22
README.md
|
@ -8,7 +8,27 @@ Compatible with Mastodon, Misskey, and Pleroma.
|
|||
|
||||
## Usage
|
||||
|
||||
Download prebuilt binaries from [here](https://git.froth.zone/sam/js-feditoken/releases/latest) (currently supports x86_64 and arm64 on Linux [glibc or musl], macOS and Windows), or build from source.
|
||||
Download prebuilt binaries from [here](https://git.froth.zone/sam/js-feditoken/releases/latest) (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](https://git.froth.zone/sam/fediverse-imagebot/packages)
|
||||
|
||||
```sh
|
||||
npm config set @froth:registry https://git.froth.zone/api/packages/sam/npm/
|
||||
```
|
||||
|
||||
2. After setting up the registry, either run it once
|
||||
|
||||
```sh
|
||||
npx --package=@froth/feditoken feditoken
|
||||
```
|
||||
|
||||
or install globally
|
||||
|
||||
```sh
|
||||
npm i -g @froth/feditoken
|
||||
```
|
||||
|
||||
### Running from Source
|
||||
|
||||
|
|
Reference in a new issue