From f89c8253577ab0a7cc512cda092918e142cd8fd1 Mon Sep 17 00:00:00 2001 From: PawzyTheJawzy Date: Sat, 18 Jan 2025 10:11:38 +0000 Subject: [PATCH] Make readme instructions more clear (#2) Co-Authored-By: fivesevenblue --- README.md | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 25c9184..f0f50e3 100644 --- a/README.md +++ b/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