RecipeSage-selfhost icon indicating copy to clipboard operation
RecipeSage-selfhost copied to clipboard

Support for self-hosted instances in the Mobile App/Browser extensions

Open MathieuMoalic opened this issue 1 year ago • 5 comments

Hello,

I haven't been able to find the code repositary for either the RecipeSage mobile app or browser extension, they might not be open source, so I'm posting it here, I hope it's fine. I think it would be nice to add the option to choose the RecipeSage instance that we want to connect to. As of right now, the app and browser extensions can't be used for selfhosted servers. I think Bitwarden/Vaultwarden did it correctly for example with the default URL set to the official server.

image

image

MathieuMoalic avatar Oct 30 '23 08:10 MathieuMoalic

Thanks for opening an issue! Happy to add this, though I have a bunch of things on my todo. If you're handy with JavaScript I'd welcome a PR, otherwise I'll probably take a stab at adding some instructions for building a copy of the extension yourself with a modified API URL.

julianpoy avatar Nov 02 '23 05:11 julianpoy

Sure, I can try helping you with this feature. Would you mind pointing me to the source code?

MathieuMoalic avatar Nov 02 '23 17:11 MathieuMoalic

Sorry! Missed this reply.

You can find the associated source code for the webextension here: https://github.com/julianpoy/RecipeSage/tree/master/packages/webextension-v3

julianpoy avatar Nov 22 '23 07:11 julianpoy

Sorry! Missed this reply.

You can find the associated source code for the webextension here: julianpoy/RecipeSage@master/packages/webextension-v3

Is the Android app native, or a wrapper of the mobile website (I can't seem to find the source code)? Would like to take a stab at implementing this feature if I have the time :)

theasianpianist avatar May 18 '24 15:05 theasianpianist

The android app is just a wrapper of the website, so not much to implement there - just add your self hosted site to home screen and it'll be the same experience and the mobile app.

For the webextension, there's an ongoing effort here to bring support but a few outstanding issues before it's ready to be merged. The author may have moved on, so you're welcome to take a stab at finishing it up if you'd like!

https://github.com/julianpoy/RecipeSage/pull/1220

julianpoy avatar Jun 05 '24 01:06 julianpoy