Comments (3)
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.
However, with ungoogled-chromium, you have a fixed local profile path(without login of course!).
Combine the
userDataDir
andChromePath
function from EsportsHelper, in initial setup, rundocker 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, nowdocker 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.
@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.However, with ungoogled-chromium, you have a fixed local profile path(without login of course!).
Combine the
userDataDir
andChromePath
function from EsportsHelper, in initial setup, rundocker 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, nowdocker 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.
close as the new headless login method look promising, Userdata method is no longer necessary,hence no need to support new browser.
from esportshelper.
Related Issues (20)
- 挂代理网速慢的情况下会闪退 HOT 3
- 軟體啓動后紅字報錯,重新安裝chrome也無法修復 HOT 2
- program stuck on Init2 HOT 2
- an issue with stream definition HOT 4
- Error On Start HOT 4
- Giving This Errors HOT 2
- linux登录问题 HOT 1
- Closing itself HOT 1
- stuck in init2 HOT 4
- linux 设置headless为True有比赛的话会观看失败一直重试 HOT 7
- ERROR AT FINAL STEP HOT 5
- can i run it on terminal only HOT 2
- Keep Closing
- Always doing like this HOT 16
- 有办法一次多开帐号在程式上吗 HOT 1
- 似乎最近拳頭强迫會自動登出 HOT 1
- Not starting: "Is Chrome installed?" HOT 2
- 处在不停初始化2的状态,一直刷新rewards界面 HOT 2
- LCK challenge转播源存在问题 HOT 2
- 脚本打开的浏览器登录失败,手动打开浏览器却可以登录 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esportshelper.