Ralf Vogler
0ad324b756
docker: upgrade node 16 -> 19, +60MB
2022-12-23 00:28:49 +01:00
Ralf Vogler
c44d1641ea
cleanup Dockerfile, merged apt runs -> saved ~90MB
...
Image size from 1.04GB to 952MB.
2022-12-21 09:05:30 +01:00
Ralf Vogler
34393eec76
pg: also use firefox
...
Dropping chromium reduced image size by ~500MB from 1.55GB to 1.04GB.
2022-12-21 01:25:32 +01:00
Ralf Vogler
31fb97345e
docker: nicer entrypoint log
2022-12-19 16:50:01 +01:00
Ralf Vogler
a6f7c6d7e4
Readme: Xbox Live Games with Gold - planned
2022-12-17 09:17:31 +01:00
Ralf Vogler
ba545632f5
docker: also install firefox
2022-12-17 00:27:15 +01:00
Ralf Vogler
d616de2096
eg: use firefox instead of chromium, fixes #34
2022-12-17 00:23:22 +01:00
Ralf Vogler
f5c5bc4852
update playwright
2022-12-17 00:14:14 +01:00
Ralf Vogler
89ba21d2cb
update lowdb
2022-12-17 00:12:59 +01:00
Ralf Vogler
aa53075ab5
Merge pull request #36 from gladiopeace/patch-1
...
fix copy multiple files
2022-11-30 02:52:00 +01:00
gladiopeace
b49862060c
fix copy multiple files
...
when copying multiple files you need to point to a directory rather a single file "."
2022-11-30 03:16:51 +02:00
Ralf Vogler
e1cd3117b6
fix #33
2022-11-12 13:43:27 +01:00
Ralf Vogler
0df7bf35ba
pg: redeem code for microsoft games
2022-11-01 22:21:47 +01:00
Ralf Vogler
7ffdd61c44
pg: indent logging per game
2022-11-01 22:18:33 +01:00
Ralf Vogler
569e690d9e
eg: log indent 'This game contains mature content'
2022-10-27 14:09:43 +02:00
Ralf Vogler
aae396fa80
eg: more info around login
2022-10-21 17:21:23 +02:00
Ralf Vogler
4e88964fcd
lint with trunk
2022-10-21 16:24:52 +02:00
Ralf Vogler
4d6d2f47d9
update readme and docker scripts
2022-10-21 12:38:32 +02:00
Ralf Vogler
d58ca2037e
metadata in package.json
2022-10-21 01:48:34 +02:00
Ralf Vogler
11b1a96f3b
no longer build for arm/v7
2022-10-21 01:19:19 +02:00
Ralf Vogler
746d226cf6
eg: fix page.type: text: expected string, got number
2022-10-21 00:47:36 +02:00
Ralf Vogler
e931892b76
need Checkout Action after all?
2022-10-21 00:05:58 +02:00
Ralf Vogler
b82507e0af
Revert "Buildx failed to read dockerfile"
...
This reverts commit 43f390ddb5 .
2022-10-21 00:05:34 +02:00
Ralf Vogler
43f390ddb5
Buildx failed to read dockerfile
...
https://github.com/vogler/free-games-claimer/actions/runs/3292559451/jobs/5429519946
2022-10-21 00:03:39 +02:00
Ralf Vogler
ab84346945
GitHub Action to build & push Docker image
2022-10-20 22:01:27 +02:00
Ralf Vogler
2de5b8e4ab
eg: info depending on NOVNC_PORT
2022-10-20 21:21:48 +02:00
Ralf Vogler
4e4410f5d6
clean up entrypoint.sh, quiet noisy x11vnc, echo status
2022-10-20 21:21:14 +02:00
Ralf Vogler
fbc33ffcaf
same resolution for docker as for browser
2022-10-20 21:20:15 +02:00
Ralf Vogler
a789034c51
clean up Dockerfile and move down config such that it does not trigger rebuild
2022-10-20 20:45:44 +02:00
Ralf Vogler
9f0e50afb6
remove VNC_PASSWORD
...
Usually behind firewall and process is short-lived, except for when no longer logged in.
2022-10-20 20:09:12 +02:00
Ralf Vogler
1dbe239e48
rm -f /tmp/.X1-lock, fixes #31
2022-10-20 19:56:24 +02:00
Ralf Vogler
ef72506431
docker: respect package-lock.json, not just package.json
2022-10-20 19:55:42 +02:00
Ralf Vogler
e3eb26d527
docekr compose: shorter names for image and container
2022-10-20 19:55:10 +02:00
Ralf Vogler
f450d29bc3
eg: login from CLI, prompts for email, password, OTP
2022-10-20 18:07:34 +02:00
Ralf Vogler
ac0ecc0f7a
eg: ignoring --enable-automation now shows info bar about unsupported --no-sandbox
2022-10-20 16:43:41 +02:00
Ralf Vogler
1532726b2a
update deps via ncu -u
2022-10-20 16:34:03 +02:00
Ralf Vogler
2ab4b8b841
remove unused @playwright/test
2022-10-20 16:29:01 +02:00
Ralf Vogler
fb23408522
remove unused scripts: login, codegen
...
"login": "npx playwright open --save-storage=auth.json https://www.epicgames.com/login ",
"codegen": "npx playwright codegen --load-storage=auth.json https://www.epicgames.com/store/en-US/free-games ",
2022-10-20 16:28:10 +02:00
Ralf Vogler
d42b0b38ad
add docker-compose.yml, #31
...
works for first run of a container but then fails with:
free-games-claimer | 16/10/2022 15:29:57 passing arg to libvncserver: -rfbport
free-games-claimer | 16/10/2022 15:29:57 passing arg to libvncserver: 5900
free-games-claimer | 16/10/2022 15:29:57 passing arg to libvncserver: -passwd
free-games-claimer | 16/10/2022 15:29:57 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 8
free-games-claimer | 16/10/2022 15:29:57 XOpenDisplay(":1.0") failed.
free-games-claimer | 16/10/2022 15:29:57 Trying again with XAUTHLOCALHOSTNAME=localhost ...
free-games-claimer |
free-games-claimer | 16/10/2022 15:29:57 ***************************************
free-games-claimer | 16/10/2022 15:29:57 *** XOpenDisplay failed (:1.0)
free-games-claimer |
free-games-claimer | *** x11vnc was unable to open the X DISPLAY: ":1.0", it cannot continue.
free-games-claimer | *** There may be "Xlib:" error messages above with details about the failure.
...
free-games-claimer | browserType.launchPersistentContext:
free-games-claimer | ╔════════════════════════════════════════════════════════════════════════════════════════════════╗
free-games-claimer | ║ Looks like you launched a headed browser without having a XServer running. ║
free-games-claimer | ║ Set either 'headless: true' or use 'xvfb-run <your-playwright-app>' before running Playwright. ║
free-games-claimer | ║ ║
free-games-claimer | ║ <3 Playwright Team ║
free-games-claimer | ╚════════════════════════════════════════════════════════════════════════════════════════════════╝
2022-10-16 17:30:23 +02:00
Ralf Vogler
2012c7e2f2
eg: set cookie instead of click 'Accept All Cookies'
2022-10-06 23:33:39 +02:00
Ralf Vogler
094662aefc
eg: write data/browser/cookies.json for easy access
2022-10-06 23:27:27 +02:00
Ralf Vogler
ed5f2d8486
Update README.md
2022-10-06 21:07:39 +02:00
Ralf Vogler
c2cb284121
add store icons to readme
2022-10-06 21:04:10 +02:00
Ralf Vogler
d67fb59355
eg: use NopeCHA extension to solve hcaptcha challenges
...
20 credits refill every 24h, but should not be needed
even if there are several games to claim every day.
2022-10-06 20:24:23 +02:00
Ralf Vogler
f28c465f8f
eg: check for hcaptcha challenge
2022-10-06 20:18:27 +02:00
Ralf Vogler
32d432deb6
epic-games: Windows userAgent avoids 'Device not supported'-Continue?
2022-10-06 17:02:05 +02:00
Ralf Vogler
ac758d39e4
epic-games: migrateDb: rm .runs, .claimed[] -> .[user][game_id], closes #27
...
If you'd like to keep the .runs data: `cp -a data/epic-games.{json, v1.json}`
Objects also have insertion order for non-number strings, so there's not need for a list:
https://stackoverflow.com/questions/5525795/does-javascript-guarantee-object-property-order
2022-10-06 16:31:46 +02:00
Ralf Vogler
61af4e35f6
util.datetimeLocal
2022-10-06 14:20:50 +02:00
Ralf Vogler
548ba67e10
indent logging per game
2022-09-30 17:13:31 +02:00
Ralf Vogler
777b00b3fb
log signed in user
2022-09-30 17:02:41 +02:00