forked from Leafus/misskey-gooner-remover
Merge pull request 'Make readme instructions more clear (#2)' (#2) from fsb/misskey-gooner-remover:update_readme into main
Reviewed-on: Leafus/misskey-gooner-remover#2
This commit is contained in:
commit
f9a8d22a5f
1 changed files with 21 additions and 6 deletions
27
README.md
27
README.md
|
@ -1,13 +1,28 @@
|
|||
# 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
|
||||
|
||||
```
|
||||
bun install
|
||||
node main.js
|
||||
1. Install bun and run:
|
||||
|
||||
```
|
||||
```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
|
||||
|
|
Loading…
Reference in a new issue