Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doug-wade/lemmy-scorecard

outputs a simple scorecard for a lemmy user
https://github.com/doug-wade/lemmy-scorecard

Last synced: 19 days ago
JSON representation

outputs a simple scorecard for a lemmy user

Awesome Lists containing this project

README

        

# lemmyscorecard

Gets the total post and comment karma for a Lemmy user.

## Usage

Run it with the username and instance of the user you want to calculate the
scorecard for

```shell
# Deno
dpx lemmyscorecard -u -i

# Nodejs
npx lemmyscorecard -u -i
```

Outputs a little scorecard like this

```shell
Counts for
count score
post 139 4493
comment 135 249
```

We also take `-h, --help` and `-v, --version` flags to show a help message and
the current version, respectively.

```shell
# Deno
dpx lemmyscorecard -h
dpx lemmyscorecard -v

# Nodejs
npx lemmyscorecard -h
npx lemmyscorecard -v
```

## Required permissions

The following permissions are required for use

- `--allow-read`
- `--allow-env`
- `--allow-net`