Ralf Vogler
84d4b9b7bc
docker compose comments, only noVNC by default, use fgc volume as in README
2023-01-09 20:21:29 +01:00
Ralf Vogler
6a7594fa32
use dotenv for loading env vars from data/config.env
2023-01-09 10:56:18 +01:00
Ralf Vogler
2168c40aa5
centralize env vars in config.js
2023-01-09 10:47:19 +01:00
Ralf Vogler
af0c9a6f2d
lowdb: fix for 'Can't import JSONFile'
2023-01-09 10:26:10 +01:00
Ralf Vogler
792b4b3915
options: store-specific logins, drop SCREEN_
2023-01-07 13:55:31 +01:00
Ralf Vogler
577fd84a7c
update README, explain options via env vars, TODOs
2023-01-07 13:47:53 +01:00
Ralf Vogler
09c3e57a8a
use SHOW for pg and eg, headless by default for both, but show inside Docker
2023-01-07 13:47:08 +01:00
Ralf Vogler
cc183a6303
eg: set cookie accept time to 5 days ago instead of a static value
2023-01-07 12:40:25 +01:00
Ralf Vogler
cf9c31e544
eg: cookie comment
2023-01-07 12:32:55 +01:00
Ralf Vogler
6305ffd15d
gog: login, claim (waiting), unsubscribe newsletter
2023-01-07 12:31:23 +01:00
Ralf Vogler
593677ca19
cp prime-gaming.js gog.js
2022-12-30 21:36:34 +01:00
Ralf Vogler
21a2bc01a4
mention how to change default command with docker run, #42
2022-12-30 15:37:49 +01:00
Ralf Vogler
67ccf032e5
eg: catch pending optional promise to avoid time out
2022-12-29 15:38:17 +01:00
Ralf Vogler
a4d39b6a6e
pg: fix for #41
2022-12-29 15:23:22 +01:00
Ralf Vogler
446c1c9346
pg: comment external microsoft
2022-12-29 15:22:55 +01:00
Ralf Vogler
3c6d7f4300
pg: index by user and title, migrateDB
2022-12-29 15:17:08 +01:00
Ralf Vogler
db7cf88c1b
eg: don't await MFA
2022-12-29 14:55:04 +01:00
Ralf Vogler
a10c61379b
pg: prompts for login & MFA
2022-12-29 14:54:13 +01:00
Ralf Vogler
4ed5aa7774
pg: no longer track runs in json
2022-12-29 12:58:18 +01:00
Ralf Vogler
8edc4727b3
pg: changes from eg
2022-12-29 12:54:45 +01:00
Ralf Vogler
bea048cc72
update README chromium -> firefox
2022-12-29 12:05:43 +01:00
Ralf Vogler
09b867158c
viewport dimensions via env
2022-12-29 01:23:17 +01:00
Ralf Vogler
1c38f730ab
docker: run both epic-games and prime-gaming by default
2022-12-24 15:20:45 +01:00
Ralf Vogler
67e622e6ec
docker: move firefox install up to other apt deps; --with-deps needed!
...
Without --with-deps we get and error starting the browser:
node:internal/process/esm_loader:108
internalBinding('errors').triggerUncaughtException(
^
browserType.launchPersistentContext:
╔══════════════════════════════════════════════════════╗
║ Host system is missing dependencies to run browsers. ║
║ Please install them with the following command: ║
║ ║
║ npx playwright install-deps ║
║ ║
║ Alternatively, use apt: ║
║ apt-get install libgtk-3-0\ ║
║ libasound2\ ║
║ libxcomposite1\ ║
║ libpangocairo-1.0-0\ ║
║ libpango-1.0-0\ ║
║ libatk1.0-0\ ║
║ libcairo-gobject2\ ║
║ libcairo2\ ║
║ libgdk-pixbuf-2.0-0\ ║
║ libdbus-glib-1-2\ ║
║ libxcursor1 ║
║ ║
║ <3 Playwright Team ║
╚══════════════════════════════════════════════════════╝
at async file:///fgc/prime-gaming.js:25:17 {
name: 'Error'
}
2022-12-24 15:02:28 +01:00
Ralf Vogler
8ce6c2fdc9
docker: hadolint: pipefail
...
Can't do the recommended --no-install-recommends for curl because
otherwise it has problems with certificates:
curl: (77) error setting certificate file: /etc/ssl/certs/ca-certificates.crt
2022-12-24 14:46:40 +01:00
Ralf Vogler
3c4f79a1ed
docker: upgrade Ubuntu 20.04 (focal) -> 22.04 (jammy), +60MB
2022-12-24 14:37:02 +01:00
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