Feature Request: Import links directly from xBrowserSync JSON #538
Labels
expected: unlikely unless contributed
This change is unlikely to be made unless someone contributes a PR for review.
good first ticket
help wanted
size: medium
status: idea-phase
Work is tentatively approved and is being planned / laid out, but is not ready to be implemented yet
touches: docs
why: functionality
Intended to improve ArchiveBox functionality or features
Type
What is the problem that your feature request solves
I would like to be able to add the links I have bookmarked in xBrowserSync directly into ArchiveBox.
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
I would like to be able to:
The json format is the same for both the backup/export from the extension, and directly from the API. From the web API, it first has to be decrypted (AES-GCM), and then decompressed (lzutf8).
I do currently have a python script for doing this, but I'm not sure what changes would need to be made to integrate with ArchiveBox. I'm new to python, so there probably lots of things that aren't ideal python practice.
https://github.com/TheCakeIsNaOH/xbs-to-archivebox
I'm definitely willing to work on developing this, I'm just checking in / looking for feedback before starting work.
Useful links:
https://api.xbrowsersync.org/
xbrowsersync/app#105
https://gist.github.com/nero120/e878e40b14655c9526680472376b4f8c
https://github.com/b-01/lzutf8.py
What hacks or alternative solutions have you tried to solve the problem?
I currently use a python script to download, decompress, and filter my xBrowserSync bookmarks, and it outputs a list of URLs that I then manually add to ArchiveBox. See the previous section for link. I would prefer that this be built into ArchiveBox.
How badly do you want this new feature?
The text was updated successfully, but these errors were encountered: