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

[Feature Request] Self-Hosted Container #3

Open
ghost-of-cerberus opened this issue Jul 29, 2023 · 3 comments
Open

[Feature Request] Self-Hosted Container #3

ghost-of-cerberus opened this issue Jul 29, 2023 · 3 comments

Comments

@ghost-of-cerberus
Copy link

Greatly appreciate having Cobalt tab as a browser extension for Firefox, Microsoft Edge, and Chrome but would like to see a self-hosted container option.

It appears that with the extension active, opening a new tab incurs an approximate 1.5 second loading delay as the extension renders the page. Most times I don't need the page to load as I just need an empty tab but the brief delay and loading of the page distracts me from what I was intending to do, incurring a time loss in my activities. With a container, the page would be rendered once by the webserver until/unless settings are changed and there would be no time to wait for the page to (re-)render.

Though, this may all be moot if render performance increases and the page load is < 1sec. Have to remember it's still beta. 😃

For reference, my machine is an ASUS Zephyrus G14 (2020) 4900HS, 16GB RAM, nVIDIA RTX 2060 Max-Q, Windows 11 Pro (22H2), so wouldn't think it an issue with my hardware.

@joelacus
Copy link
Owner

This is a fair request, I have thought to myself the load times should be faster as well. I don't really know much about making containers, but I'll look into how I can do it. Would Docker containers be best?

In the mean time I will try to reduce the load times if I can.

Thank you for your feedback and support :)

@ghost-of-cerberus
Copy link
Author

Would Docker containers be best?

Yes. I would think that most container users are using Docker, though LXC/LXD and Podman are becoming more prevalent.

I don't really know much about making containers, but I'll look into how I can do it.

From what I can assume, Cobalt uses React and JS so a container with webserver "should" really be all you need. Would think an Nginx container to be the best option given speed and size.

Thank you for your feedback and support :)

No worries. More than happy to help if and where needed. :)

@joelacus
Copy link
Owner

joelacus commented Aug 3, 2023

The extension is just pure javascript and jQuery. I am trying to learn React though and plan to rewrite Cobalt with it, but that will take a long time. Nevertheless, a container with a webserver sounds like the way to go. I do have an idea how to speed it up in general, but I'll look into the containers you mentioned.

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

2 participants