You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in importing some link sets that are exported by other applications (think, for example, "starred repos on GitHub" or bookmarked posts from your social network of choice). Those tend to come in whatever format that the upstream vendor feels like producing, but in most cases JSON is an option.
However, it seems like buku's -i import feature has some expectations about how the JSON files it imports ought to be arranged. I presume it's looking for something like the browsers export, but I don't find documentation anywhere that says what structure it actually wants.
If the necessary JSON structure for import is documented, then at least we could transform the from-elsewhere exported file into something useful (or, you know, long term maybe add support for importing it natively, if it's popular enough)....
The text was updated successfully, but these errors were encountered:
(It would make sense to support the output format used by --json, and/or the Chrome bookmarks file format used during automatic import, but there's no such code as of yet)
Those tend to come in whatever format that the upstream vendor feels like producing, but in most cases JSON is an option.
I doubt these are all using the same exact JSON scheme, so you're likely going to have to convert these files anyway.
The simplest solution might be to use markdown (* [title](url) <!-- TAGS: tags -->... description not supported though).
P.S. If I end up implementing a plugin system for buku as I was planning to, it might be possible to support whatever import formats you like using those… but that's still at the draft stage for now.
I'm interested in importing some link sets that are exported by other applications (think, for example, "starred repos on GitHub" or bookmarked posts from your social network of choice). Those tend to come in whatever format that the upstream vendor feels like producing, but in most cases JSON is an option.
However, it seems like buku's
-i
import feature has some expectations about how the JSON files it imports ought to be arranged. I presume it's looking for something like the browsers export, but I don't find documentation anywhere that says what structure it actually wants.If the necessary JSON structure for import is documented, then at least we could transform the from-elsewhere exported file into something useful (or, you know, long term maybe add support for importing it natively, if it's popular enough)....
The text was updated successfully, but these errors were encountered: