From 9dfde0448a1da2597f8709e9d1455e4cdf98c0d1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 6 Jan 2024 06:05:28 -0800
Subject: feat(tools): dump profile tool

---
 src/routes/tools/+page.svelte | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/routes/tools/+page.svelte')

diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte
index 066ccd2f..e5bda954 100644
--- a/src/routes/tools/+page.svelte
+++ b/src/routes/tools/+page.svelte
@@ -9,6 +9,7 @@
 	import { closest } from '$lib/Error/path';
 	import HeadTitle from '$lib/HeadTitle.svelte';
 	import RandomFollower from '$lib/Tools/RandomFollower.svelte';
+	import DumpProfile from '$lib/Tools/DumpProfile.svelte';
 
 	export let data;
 
@@ -43,6 +44,10 @@
 			name: 'Random Follower Finder',
 			description: 'Find a random follower of any given user'
 		},
+		dump_profile: {
+			name: 'Dump Profile',
+			description: "Dump a user's profile to JSON"
+		},
 		activity_history: {
 			name: 'Activity History Analyser'
 		}
@@ -65,6 +70,7 @@
 		<option value="sequel_spy">Sequel Spy</option>
 		<option value="discussions">Episode Discussion Collector</option>
 		<option value="random_follower">Random Follower Finder</option>
+		<option value="dump_profile">Dump Profile</option>
 		<option value="activity_history">Activity History Analyser</option>
 	</select>
 </blockquote>
@@ -121,5 +127,7 @@
 		<SequelSpy user={data.user} />
 	{:else if tool === 'random_follower'}
 		<RandomFollower />
+	{:else if tool === 'dump_profile'}
+		<DumpProfile />
 	{/if}
 {/if}
-- 
cgit v1.2.3

