Coder Social home page Coder Social logo

Comments (3)

RedrootDEV avatar RedrootDEV commented on June 17, 2024

@RedrootDEV

I believe it's possible to chain ungoogled chromium with EsportsHelper to run this script on headless mode in docker, therefore saving more resources.

https://github.com/ungoogled-software/ungoogled-chromium https://github.com/ich777/docker-ungoogled-chromium

One of the down side for using google-chromium in docker is the profile path isn't fixed, you have to login first(security alert!), and sometimes google will block the login. image However, with ungoogled-chromium, you have a fixed local profile path(without login of course!). image Combine the userDataDir and ChromePath function from EsportsHelper, in initial setup, run docker compose run with config file set toheadless:false, insert username and password manually and tick "stay signed in". After a successful login, ctrl+C, then turn on headless, save the config file, now docker compose up -d, u now have a headless docker version EsportsHelper.

I have verified EsportsHelper works with ungoogled-chromium in windows version.

I hope this idea could help u.

I like your idea, I will try to apply it!! The challenge is that the image needs to work for both ARM64 and AMD64 since Ungoogled Chromium binaries are specific to each architecture. I'd rather not have to maintain two versions of the image (one for each architecture).

from esportshelper.

zzz6839 avatar zzz6839 commented on June 17, 2024

@RedrootDEV
I believe it's possible to chain ungoogled chromium with EsportsHelper to run this script on headless mode in docker, therefore saving more resources.
https://github.com/ungoogled-software/ungoogled-chromium https://github.com/ich777/docker-ungoogled-chromium
One of the down side for using google-chromium in docker is the profile path isn't fixed, you have to login first(security alert!), and sometimes google will block the login. image However, with ungoogled-chromium, you have a fixed local profile path(without login of course!). image Combine the userDataDir and ChromePath function from EsportsHelper, in initial setup, run docker compose run with config file set toheadless:false, insert username and password manually and tick "stay signed in". After a successful login, ctrl+C, then turn on headless, save the config file, now docker compose up -d, u now have a headless docker version EsportsHelper.
I have verified EsportsHelper works with ungoogled-chromium in windows version.
I hope this idea could help u.

I like your idea, I will try to apply it!! The challenge is that the image needs to work for both ARM64 and AMD64 since Ungoogled Chromium binaries are specific to each architecture. I'd rather not have to maintain two versions of the image (one for each architecture).

No worries, no maintainence is required, I have forked this repo and new docker image will be generated upon new pushes from upstream(or trigger it manually), I havent PR my part to the upstream due to the usage of repo secrets.

https://hub.docker.com/r/zzz6839/esportshelper
https://github.com/zzz6839/EsportsHelper

For now I just need someone to test out weather my docker images could work for arm64.

from esportshelper.

zzz6839 avatar zzz6839 commented on June 17, 2024

close as the new headless login method look promising, Userdata method is no longer necessary,hence no need to support new browser.

4af53c5

from esportshelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.