Exporting/Importing Bookmarks
I've been using Hackertab from past few weeks. I'm using it in my work laptop as well as my personal laptop. So the issue happens when I try to get the bookmarked article from one laptop to another one. or wants to share the bookmarks with someone.
Exporting/Importing bookmarks will help anyone to organize there favorite articles.
Hope you got the point :)
Hey @medyo ! Can I work on this feature?
@idebenone with pleasure, Can you provide a compact tech spec for the feature, explain your proposed implementation method, and share any available UIs if available.
Hey @medyo ! I was thinking of using storage.sync which is a part of Chrome/Firefox extension API and have an option to sync bookmarks.
Update ! I tried to do with storage.sync , but its not reliable. IMO it would be better to do it from backend(ex: OAuth) and plus we can save a lot metadata like UI state and user preferences which will be in sync across devices. I think backend is not available to work on as of now ryt? Please let me know what you think of this @medyo.
Hello @idebenone You might be right. If will be better if we can implement it from the back end. But I guess for now we can at least provide a feature of Import/Export. We can Optimize or make it better later on. Tell me, If I'm missing something here?
What do you say? @medyo
@arth2002 @idebenone did you check the chrome.bookmarks API?
@medyo Interesting! Will look into it.
Hi @medyo, I wanted to work on this feature, but apparently I'm getting an error. Tried re-installing the packages, still no luck.
Hi @medyo, I wanted to work on this feature, but apparently I'm getting an error. Tried re-installing the packages, still no luck.
I think react-icons has removed or changed the icon name, please replace in the project GoPrimitiveDot by GoDotFill and push the fix (to develop)
@idebenone Fixed, feel free to pull the last changes
@medyo I have created a function which will create a folder(bookmark's folder) in browser and adds all the hackertab bookmarks. Is this sufficient?
yes sounds good, do you ask for the bookmarks permission on click ?
Not at the moment, but I will include if that's required.
Hey @idebenone Are you working on this issue? 👀 If not then I would like to do it myself if possible. 🙂 Thanks 😊 cc: @medyo
Hey @us3r64bit Yeah sure, my hands are full at the moment.
Hello @medyo
It might be so stupid to ask for this type of doubt but I'm very bad with setting up projects on local. :sweat_smile:
I was getting error and I don't know WTH is VITE_API_URL and where to get it from. (I've never used VITE too :face_with_spiral_eyes:)
Please guide me about how can I get VITE_API_URL and other env variables if there are any.
Thanks :slightly_smiling_face:
Hi @us3r64bit, Actually I forgot to update the README,
create an .env at the root of the project with the following vars:
VITE_BUILD_TARGET=extension
VITE_API_URL=https://api.hackertab.dev/
Pinging you in case you miss my message on PR. :slightly_smiling_face: @medyo
