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

Hosted Fraidycat, Docker, etc. #17

Open
evertonstz opened this issue Nov 8, 2019 · 5 comments
Open

Hosted Fraidycat, Docker, etc. #17

evertonstz opened this issue Nov 8, 2019 · 5 comments
Assignees
Labels

Comments

@evertonstz
Copy link

@evertonstz evertonstz commented Nov 8, 2019

The is to faidycat available as a docker container, built inside a simple LAMP. Delivering fraidycat this way would benefit the selfhosting community, as it would free the cat to be able to play in any browser, anywhere without having to deal with browser extensions. Also having fraidycat in a home server is way more secure :)

@kickscondor

This comment has been minimized.

Copy link
Owner

@kickscondor kickscondor commented Nov 8, 2019

Fraidycat is completely client-side - it runs in a browser only. I'm not sure how to put something like this in a Docker container. Can you show me an example of how to?

@kickscondor kickscondor self-assigned this Nov 8, 2019
@kickscondor kickscondor added the question label Nov 8, 2019
@evertonstz

This comment has been minimized.

Copy link
Author

@evertonstz evertonstz commented Nov 8, 2019

Tbh I'm not sure how browser extension works, are they just some kind of a webpage? What I mean is, if I clone your repo and open index.html in a browser will the app work? If yes that would be simple to implement in docker.

@kickscondor

This comment has been minimized.

Copy link
Owner

@kickscondor kickscondor commented Nov 8, 2019

No - the web extension keeps its database in the browser. So the index.html won't work outside the browser. I specifically designed it so that people could use it without needing a server. So I'm not sure how Docker comes into play. I don't know hardly anything about Docker though. 🤣

@evertonstz

This comment has been minimized.

Copy link
Author

@evertonstz evertonstz commented Nov 8, 2019

At least IMO the docker isn't the hard part, if we somehow can run the code outside the browser, as some kind of backend pointing to the index.html, implementing it into docker is pretty easy (that's something I can do via a pullrequest or a fork). The problem is that I know zero about web-development, so I basically can understand 0% of your code lol.
Recently I made a dockerfile to host the Gelbooru Fork in my server, it's really simple, it's here if you wanna take a look.

@kickscondor kickscondor changed the title Deliver fraidcat as a Docker Container Hosted Fraidycat, Docker, etc. Nov 21, 2019
@kickscondor

This comment has been minimized.

Copy link
Owner

@kickscondor kickscondor commented Nov 21, 2019

h0p3 brought this up:

On behalf of those I spoke with, I've agreed to make a quick case for hosting options. Some people may feel more secure with the tool running outside the browser. A few would find it useful to deploy your tool on a server that can be accessed by any device, and others want to serve particular feeds to others via URL. You may find some skilled individuals to help you, I don't know. I'm not qualified to say if this is worthwhile for you, but at the very least, I hope your tool serves as an example for future tooling. As you've seen, one point of failure to widespread adoption (and continued use) is the dok to which you are beholden to having your extension rejected or taken down in the stores.

I'll think about this - my target is those who don't have the ability to host on a server - I kind of look at extensions as a way of hosting an app in the browser. I get the security concern - I need https://*/ permissions - which requires trust. Server access does, too, though. It feels like an arbitrary decision, so I tend to go with the path of least resistance for the fraidy folks out there.

I do recommend rss-bridge though. And maybe there is a way I can offer a static deployment of Fraidycat that calls out to RSS bridge. It seems simple - but I am totally unfamiliar with packaging and distribution of such a thing - perhaps someone can point me the right way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.