4chan-x icon indicating copy to clipboard operation
4chan-x copied to clipboard

Backup only the threads in my threadwatcher?

Open pzrd opened this issue 1 year ago • 3 comments

My threadwatcher is extremely long, there are more than 1000 threads in it with some dating back almost 10 years. I want to clear it as it's really tedious to even find the thread with new (You)'s but I'm a hoarder and want to have a backup of all of the old threads in there. How can I do that?

pzrd avatar May 28 '23 18:05 pzrd

Depends on what you're asking.

4chan X really only stores the thread link, and will switch to the native archive or an external one when the thread dies. When you export your settings, in theory it does everything. Then the thread links will be sitting in a JSON file. If you want the thread as in literally the whole page, your best bet would be to save the webpage, Ctrl+s style. Or perhaps creating/finding a tool that will save these pages locally for you.

Out of curiosity, are you using a userscript manager? How big is your 4chan X with 1000s of threads? image You could also grab the watched threads from the userscript storage (watchedThreads) image

saxamaphone69 avatar May 30 '23 06:05 saxamaphone69

Damn, you're right. I could've swore it didn't backup watched threads because the watched threads on my Chrome and Edge 4chan X are different despite being from the same backup. I don't use it via userscript, but the browser extension is only 1.1MB and the backup json is 0.99MB. But the backup json is 31386 lines long, from the start of the threadwatcher "watchedThreads": { to }, "lastChecked": at the bottom of the last thread in my list is over 29000 lines, from line 995 to 30397

pzrd avatar May 30 '23 21:05 pzrd

Alright so it keeps the storage separate, good to know. In comparison, my JSON backup with 3 threads and a few filters is just under 40KB.

I think an option to export just watched threads would be a good idea though (don't think that issue exists here), so I'll keep this open.

saxamaphone69 avatar May 31 '23 06:05 saxamaphone69