Skip to content

iampopovich/GOG-Countries

GOG Countries

npm version npm downloads npm license node version

Find the cheapest price for any GOG game across 82 countries — by URL or from your wishlist.

Requires: Node.js ≥ 14

Install

From npm:

npm install -g @iampopovich/gog-countries

From GitHub Packages:

npm install -g @iampopovich/gog-countries --registry=https://npm.pkg.github.com

Without installing TUI mode (npx):

npx @iampopovich/gog-countries

Usage

Interactive mode (TUI)

Just run without arguments:

gog-countries
  ╔══════════════════════════════════════════╗
  ║         GOG Countries    v1.0.x          ║
  ║   Check game prices across all countries ║
  ╚══════════════════════════════════════════╝

? What would you like to do?
❯ Check game price by URL
  Check wishlist by username
  ──────────────
  Quit

Checking a game by URL:

? What would you like to do? Check game price by URL

  GOG game URL: https://www.gog.com/game/cyberpunk_2077
  Normalize to USD? (y/N): y
  Number of countries to show (default 10): 5
  Pretty table? (y/N): y

  ✔ Done!

Country                   Price      Currency
------------------------------------------
Argentina                 14.99      USD
Turkey                    17.49      USD
Brazil                    19.99      USD
Colombia                  22.99      USD
India                     24.99      USD

Checking a wishlist:

? What would you like to do? Check wishlist by username

  GOG username: johndoe
  Normalize to USD? No
  Pretty table? Yes

  ✔ Done!

Product                   Price     Currency  Country
-----------------------------------------------------
Cyberpunk 2077            899.00    ARS       Argentina
The Witcher 3             499.00    ARS       Argentina
Disco Elysium             12.49     USD       Turkey

CLI mode

# Single game by URL
gog-countries -u https://www.gog.com/game/diablo --normalize --pretty --count 5

# Wishlist
gog-countries -w username --pretty

# gogdb.org links also work
gog-countries -u https://www.gogdb.org/product/1207658992

All flags

Flag Short Description Default
--url -u GOG game page URL
--wishlist -w GOG username
--normalize -n Convert all prices to USD off
--count -c How many countries to show 10
--pretty -p Table output instead of plain text off
--verbose -v Debug logging off
--help -h Show help

License

MIT

About

gog price checker tool in different countries all over the world

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors