forked from Leafus/misskey-gooner-remover
Make readme instructions more clear (#2)
Co-Authored-By: fivesevenblue <fivesevenblue@disroot.org>
This commit is contained in:
parent
1e08498b92
commit
f89c825357
1 changed files with 21 additions and 6 deletions
27
README.md
27
README.md
|
@ -1,13 +1,28 @@
|
||||||
# misskey gooner remover 3000
|
# misskey gooner remover 3000
|
||||||
|
|
||||||
simple nodejs script to remove inactive accounts on sharkey / misskey fediverse instances
|
Simple nodejs script to remove inactive accounts on sharkey / misskey fediverse instances
|
||||||
|
|
||||||
## installation
|
## Installation
|
||||||
|
|
||||||
```
|
1. Install bun and run:
|
||||||
bun install
|
|
||||||
node main.js
|
|
||||||
|
|
||||||
```
|
```text
|
||||||
|
bun install
|
||||||
|
node main.js
|
||||||
|
```
|
||||||
|
|
||||||
|
## Create env file
|
||||||
|
|
||||||
|
1. Create an API key with the permissions
|
||||||
|
- Delete user account
|
||||||
|
- View private user info
|
||||||
|
|
||||||
|
2. Create a `.env` file in the current directory with:
|
||||||
|
|
||||||
|
```env
|
||||||
|
USER_TOKEN=token
|
||||||
|
INSTANCE_URL=https://example.com
|
||||||
|
PERIOD=int // Time in days
|
||||||
|
```
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
Loading…
Reference in a new issue