2024-12-15 18:14:11 +01:00
|
|
|
# misskey gooner remover 3000
|
|
|
|
|
2025-01-18 11:11:38 +01:00
|
|
|
Simple nodejs script to remove inactive accounts on sharkey / misskey fediverse instances
|
2024-12-15 18:14:11 +01:00
|
|
|
|
2025-01-18 11:11:38 +01:00
|
|
|
## Installation
|
2024-12-15 18:14:11 +01:00
|
|
|
|
2025-01-18 11:11:38 +01:00
|
|
|
1. Install bun and run:
|
2024-12-15 18:14:11 +01:00
|
|
|
|
2025-01-18 11:11:38 +01:00
|
|
|
```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
|
|
|
|
```
|
2024-12-15 18:14:11 +01:00
|
|
|
|
|
|
|
License: MIT
|