ganesshkumar / obsidian-plugins-stats-ui

📊 This tool helps you explore and track Obsidian plugin ecosystem.
https://obsidian-plugin-stats.vercel.app
MIT License
55 stars 5 forks source link

Favorite plugins page #6

Open ganesshkumar opened 2 years ago

ooker777 commented 2 years ago

How does the site remember my favorite plugins? Via cache? I'm not sure if registering account is ok for more permanent storage?

ganesshkumar commented 2 years ago

Yes, I am using the localStorage of the browser to store user's favorite list and it doesn't sync across browsers or devices.

As of now, the site is a light weight statically generated site. Not sure if we should add login capabilities and expose a backend just for favorites use case.

One alternative could be allowing the user to export the list of favorite plugins via json file and import it on another device.

ooker777 commented 2 years ago

yeah, I think we shouldn't make the site heavier. I have a better idea: why don't we make a plugin to store this data, or to combine with BRAT?

ganesshkumar commented 2 years ago

why don't we make a plugin to store this data

Mobile/tablets, PWA etc. won't have the support for plugins. Also, what will plugin provide us? Will it let us sync the data across devices? I don't think it is possible without supporting authentication on the plugin end.

or to combine with BRAT?

I know BRAT as a Beta plugins place. Are you suggesting to include the plugins from BRAT or store data like how BRAT does? (I haven't explored this yet, tbh)