Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting/Importing Bookmarks #156

Open
user-64bit opened this issue Aug 18, 2023 · 18 comments
Open

Exporting/Importing Bookmarks #156

user-64bit opened this issue Aug 18, 2023 · 18 comments

Comments

@user-64bit
Copy link

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 :)

@idebenone
Copy link
Contributor

Hey @medyo !
Can I work on this feature?

@medyo
Copy link
Owner

medyo commented Sep 1, 2023

@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.

@idebenone
Copy link
Contributor

idebenone commented Sep 2, 2023

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.

@idebenone
Copy link
Contributor

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.

@user-64bit
Copy link
Author

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

@medyo
Copy link
Owner

medyo commented Oct 15, 2023

@arth2002 @idebenone did you check the chrome.bookmarks API?

@idebenone
Copy link
Contributor

@medyo
Interesting! Will look into it.

@idebenone
Copy link
Contributor

Hi @medyo,
I wanted to work on this feature, but apparently I'm getting an error. Tried re-installing the packages, still no luck.

image

@medyo
Copy link
Owner

medyo commented Dec 18, 2023

Hi @medyo, I wanted to work on this feature, but apparently I'm getting an error. Tried re-installing the packages, still no luck.

image

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)

@medyo
Copy link
Owner

medyo commented Dec 18, 2023

@idebenone Fixed, feel free to pull the last changes

@idebenone
Copy link
Contributor

@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?

@medyo
Copy link
Owner

medyo commented Dec 22, 2023

yes sounds good, do you ask for the bookmarks permission on click ?

@idebenone
Copy link
Contributor

Not at the moment, but I will include if that's required.

@user-64bit
Copy link
Author

Hey @idebenone
Are you working on this issue? 👀
If not then I would like to do it myself if possible. 🙂
Thanks 😊
cc: @medyo

@idebenone
Copy link
Contributor

Hey @us3r64bit
Yeah sure, my hands are full at the moment.

@user-64bit
Copy link
Author

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. 😅
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 😵‍💫)
Please guide me about how can I get VITE_API_URL and other env variables if there are any.
Thanks 🙂

@medyo
Copy link
Owner

medyo commented May 2, 2024

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/

@user-64bit
Copy link
Author

Pinging you in case you miss my message on PR. 🙂
@medyo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants