Skip to content
项目

wwwescape/VideoGameTrackarr

在 GitHub 查看

关于

A self-hosted web app for tracking your video game collection: what you own, what you want, what you're playing, and how it's going. IGDB catalog, Steam library and wishlist sync, wishlist sale alerts (IsThereAnyDeal, PlatPrices), and in-browser play for games you own.

游戏与模拟器

这些数字如何统计

52 星标9 复刻 +1 24小时

可以做什么

  • Library tracking — owned games and a wishlist, per platform, region, and format (physical, digital, ISO, ROM, or Abandonware), with edition, storefront, steelbook, notes, and purchase or target price.
  • IGDB-powered catalog — search IGDB, preview a game before adding it, or bulk-add several at once. Genres, companies, platforms, media, release dates, store links, collections, series, and addons (DLC, expansions, and packs) all come along.
  • Personal tracking — progress, play sessions and a review per platform you own a game on, your own 1–10 star rating per game (shown beside IGDB's member and critic ratings), notes, and colored tags (with a Tag Manager and bulk tagging).
  • Guides & Cheats — keep guides, cheat sheets, manuals and receipts with each game: upload a PDF, Word (.docx), Markdown, text file or image, or save a link, optionally for one platform or one of your copies. Files open in a built-in reader with find on page, and it remembers where you left off. See docs/guides.md.

实测星标增长

24小时
+1
7天
+4
15天
+9
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

VideoGameTrackarr logo

VideoGameTrackarr

A self-hosted web app for tracking your video game collection — what you own, what you want, what you're playing, and how it's going — with Steam sync, wishlist sale alerts, and in-browser play for the games you own.

GitHub release GitHub last commit GitHub code size

Screenshots

Features

  • Library tracking — owned games and a wishlist, per platform, region, and format (physical, digital, ISO, ROM, or Abandonware), with edition, storefront, steelbook, notes, and purchase or target price.
  • IGDB-powered catalog — search IGDB, preview a game before adding it, or bulk-add several at once. Genres, companies, platforms, media, release dates, store links, collections, series, and addons (DLC, expansions, and packs) all come along.
  • Personal tracking — progress, play sessions and a review per platform you own a game on, your own 1–10 star rating per game (shown beside IGDB's member and critic ratings), notes, and colored tags (with a Tag Manager and bulk tagging).
  • Guides & Cheats — keep guides, cheat sheets, manuals and receipts with each game: upload a PDF, Word (.docx), Markdown, text file or image, or save a link, optionally for one platform or one of your copies. Files open in a built-in reader with find on page, and it remembers where you left off. See docs/guides.md.
  • Manuals & Documents — the same for devices, accessories and Toys to Life packs: manuals, quick-start sheets, receipts, warranty cards and repair guides, each optionally for one of your copies, plus a one-click link to the manufacturer's own manual or LEGO's building instructions where there is one. Uploaded photos have their location and other metadata removed.
  • Views, filters & sort — Covers, Table, or Overview views with an adjustable card size; filter by platform (the same cards as the Platforms page, PC split per storefront), format, storefront, tag, ownership, play status, game type, source, steelbook, collection, series or genre (each with an Exclude option), release status and year, local players, online multiplayer, co-op, time to beat, or IGDB rating, or, with the Screensaver lab on, whether a game is shown in the screensaver; sort by name or release date. Pages remember your search, filters, and sort.
  • Game Shelf (Labs) — your physical games as cases on a shelf, one per platform you own each on, drawn at their real relative sizes in each platform's spine colours and logo, with the usual search, filters, and sort, plus a scale slider. Cases come from a curated list of standard retail cases (cartridge-only systems have none); turn a platform's cases on or off in Settings → Game Cases, where each preview opens large.
  • Screensaver (Labs) — a floating button that shows your game covers full screen, one after another, with the VideoGameTrackarr badge in the corner; swipe to browse, tap a cover to open the game. Set the time per cover in Settings → Screensaver, and hide a game from its page, or many at once from the Games list. Handy on a wall-mounted tablet.
  • Filter Presets (Labs) — save the game lists' filters under a name ("Couch co-op") from the ▾ on the Filter button and put them back in one tap; the preset in use shows as the first filter chip. In Settings → Filter Presets, switch off the Filter dialog fields you never use, and rename or delete your presets.
  • Local Player Counts (Labs) — set a game's local player count on its page when IGDB has none or the wrong one, so the Players filter finds couch games IGDB knows nothing about. In Settings → Local Player Counts, fill in the missing ones from PCGamingWiki (PC games) and the Steam store (games matched to Steam).
  • Connectors (Labs) — let other software add games to your library: a Nintendo Switch running NX Remote Launcher, a script or launcher that sends a list of games over HTTP, or a CSV file from a store with no API. Devices pair once with a code you approve, then sync into the connector's platform and storefront; set them up in Settings → Connectors.
  • Labs — opt-in features that are still taking shape, off by default and switched on in Settings → Labs.
  • Hardware — devices and accessories from a curated Sony, Microsoft, Nintendo, and Sega catalog, with product photos.
  • What's New — after an upgrade, the release notes of every version you haven't seen yet, shown once per account.
  • Toys to Life — every LEGO Dimensions pack, starter kits included, each with its own page for your copies (owned or wishlisted, with a price and notes), your rating, tags, and notes; the game's page lists them in place of its add-ons.
  • Steam sync — import your Steam library and wishlist with playtime, review every change before it's applied, and relink or unlink mismatched entries.
  • GOG sync — sign in to GOG to import your GOG library and wishlist the same way, and download GOG's DRM-free offline installers to your server, then to any device. See docs/gog.md.
  • Epic Store Sync — sign in to Epic Games to import your Epic Games Store library and sync it game by game. See docs/epic.md.
  • Sale tracking — opt-in wishlist price tracking via IsThereAnyDeal (PC, Mac, Linux, and Android) and PlatPrices (PlayStation), with target prices and an On Sale page.
  • Events — upcoming gaming-industry events from IGDB, with any featured games already in your library.
  • In-browser play — upload ROMs for games you own and play over 25 systems right in the browser, with a self-hosted emulator and saves kept on your server. See docs/emulation.md.
  • Media viewer — a lightbox for screenshots and artwork, and a video player for trailers.
  • Overview & insights — headline numbers, what you're playing, recent additions, and gaps worth filling on the Overview; breakdowns by play status, platform, genre, and hardware on Insights; plus release calendars, duplicate detection, missing addons, orphaned accessories, and side-by-side game comparison.
  • Share links — unlisted, read-only links to your Games, Game Shelf, or Hardware collection.
  • Jobs — scheduled catalog resyncs, Steam, GOG and Epic imports, sale refreshes, and event syncs, with live progress, a log of each run, and catch-up of runs missed while the app was down.
  • Backup & restore — one JSON backup of your library, hardware, target prices and settings, or a .zip that also carries your pick of ROMs and saves, BIOS files, uploaded images, guide files and document files, with an automatic safety snapshot before every restore.
  • PWA — installable (see Installing the app), works offline for anything you've already viewed, and syncs offline edits when you reconnect.
  • Design — light, dark, and high-contrast modes with your choice of accent color (Material 3 color schemes), a sidebar that becomes a drawer on phones, and virtualized lists for large collections.
  • Languages — English, Spanish, French, and Portuguese.
  • Single admin, self-hosted — no public registration, no multi-tenancy.

Installation

The published Docker image bundles the frontend and backend into a single container. Create a docker-compose.yml:

services:
  app:
    image: wwwescape/videogametrackarr:latest
    container_name: videogametrackarr
    ports:
      - "8000:8000"
    env_file:
      - .env
    volumes:
      - db-data:/app/backend/db
      - uploads-data:/app/backend/uploads
    restart: unless-stopped

volumes:
  db-data:
  uploads-data:

Create a .env file next to it (see Configuration), then start it:

docker compose up -d

Open http://localhost:8000. The first visit shows a create-admin form — fill it in once and you're signed in. It asks for a one-time setup code, so nobody else who reaches the page first can claim your instance: find it with docker compose logs app (or set your own with SETUP_CODE in .env). Change your password later under Settings → General → Account. If you ever get locked out, docker compose exec app python -m scripts.create_admin --username admin resets the password.

Migrations run automatically on startup, and your database and uploads live in the named volumes, so they survive restarts and upgrades. Reverse proxy examples (Nginx, Traefik) are in docs/deployment/.

Upgrading

docker compose pull && docker compose up -d

Running from source instead? git pull, reinstall dependencies if they changed, then run alembic upgrade head from backend/ before starting the app. Any breaking change is called out in that release's notes.

Installing the app

VideoGameTrackarr can be installed like an app, with its own window and home-screen or desktop icon. Settings → General → App has an Install button where the browser offers one (Chrome, Edge, Android), and says how otherwise (on an iPhone or iPad: Share → Add to Home Screen). Browsers only install apps opened over HTTPS (or on localhost): at a plain http:// address such as http://192.168.1.10:8000, use a reverse proxy with a certificate or a Cloudflare tunnel.

Configuration

Settings live in .env (see .env.example for every option). Only IGDB and a JWT secret are required:

IGDB_CLIENT_ID=your_igdb_client_id
IGDB_CLIENT_SECRET=your_igdb_client_secret
JWT_SECRET_KEY=            # generate with: python -c "import secrets; print(secrets.token_hex(32))"

Get IGDB credentials at https://api-docs.igdb.com/#getting-started (free, requires a Twitch developer account).

Optional integrations — add a key to .env, then run docker compose up -d (a plain docker compose restart doesn't pick up .env changes). Each shows a live status in Settings → Integrations, along with the store region in use for the price integrations:

Integration Setting Get a key Notes
Steam STEAM_API_KEY steamcommunity.com/dev/apikey Your SteamID64 is set in-app, under Settings → Integrations.
IsThereAnyDeal ITAD_API_KEY isthereanydeal.com/apps/my PC, Mac, Linux, and Android prices. ITAD_COUNTRY (two-letter code, default US) sets the store country.
PlatPrices PLATPRICES_API_KEY platprices.com/api-request PlayStation prices. The free tier tracks any 2 PS Store regions, chosen on your PlatPrices dashboard. PLATPRICES_REGION (two-letter code such as GB or IN, default US) must be one of them.

Other options: ROM_MAX_UPLOAD_MB (default 2048) caps ROM uploads and GUIDE_MAX_UPLOAD_MB (default 50) caps Guides & Cheats and Manuals & Documents files — raise your reverse proxy's upload limit to match. Behind a reverse proxy, set FORWARDED_ALLOW_IPS to the proxy's address (or its Docker network, such as 172.16.0.0/12) so login rate limits count each visitor rather than the proxy. Set TZ (such as Europe/Lisbon) so job schedules run in your timezone; Docker containers otherwise use UTC. REFRESH_TOKEN_EXPIRE_DAYS (default 90) is how long you stay signed in without opening the app; using it renews that. DATABASE_URL (SQLite by default), REDIS_URL, and CORS_ORIGINS are optional.

Development

Requires Git, Node.js 22+, and Python 3.12+.

git clone https://github.com/wwwescape/VideoGameTrackarr.git
cd VideoGameTrackarr
npm install
cd backend
python -m venv .venv
.venv\Scripts\activate          # Windows; use `source .venv/bin/activate` on macOS/Linux
pip install -r requirements-dev.txt
alembic upgrade head

Create .env in the project root as described in Configuration, then run the backend and frontend in two terminals:

cd backend && .venv\Scripts\activate && uvicorn app.main:app --reload --port 8000
npm start

The frontend runs on http://localhost:3000 and talks to the backend on http://localhost:8000.

Test

npm run lint && npm run typecheck && npm test && npm run build
cd backend && ruff check . && pytest

A Playwright end-to-end suite (npm run test:e2e) covers critical user journeys as a manual pre-release check — see e2e/README.md.

Release a new version

git tag v1.26.0
git push origin v1.26.0

The tag push publishes the Docker image to GHCR and Docker Hub (tagged with the version and latest) and creates a GitHub Release. Publishing to Docker Hub needs the DOCKERHUB_USERNAME and DOCKERHUB_TOKEN repository secrets.

Project layout

frontend/   TypeScript, Vite, MUI, TanStack Query, React Router — own package.json
backend/    FastAPI, SQLAlchemy, Alembic (SQLite by default) — own requirements.txt
e2e/        Playwright end-to-end suite (manual pre-release check)
docs/       Developer guide, diagrams, emulation and guides docs, and deployment examples

See docs/developer-guide.md for conventions, and CONTRIBUTING.md if you're sending a PR.

License

GPL-3.0 — see LICENSE.

Support

If you find VideoGameTrackarr useful, consider buying me a coffee:

Buy Me A Coffee

探索相关项目

加载中…