Skip to content

About

Every Steam, GOG and Epic discount in one Android app. Kotlin + Jetpack Compose, no account, no tracking.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Discount Hunter

Version Unit tests Minimum Android License

Download APK v2.0.0 Star on GitHub

An Android app built with Kotlin and Jetpack Compose for discovering, comparing, and tracking PC game deals and free giveaways across Steam, Epic Games Store, and GOG.


Screenshots

Screenshots captured from the v2.0.0 signed release build on an emulator.

Deals Wishlist
Deals
Multi-store feed, date calendar strip, store chips, sort menu, and in-feed search
Wishlist
Saved games persisted locally via Room with cross-store pricing and bulk undoable clear
Search Game Details
Search
Progressive live cross-store search ranked by relevance with wishlisted deals pinned
Game Details
Price comparison table, swipeable ExoPlayer trailers, screenshots, description, and PC specs
Appearance Settings
Appearance
System, Light, Dark, and AMOLED themes, 6 accent presets + color wheel, and 15 bundled fonts
Settings
Storefront region selector, deal notifications, Sample Preview Mode, Diagnostics, and About

Features

  • First-Launch Onboarding (OnboardingScreen): 4-page animated walkthrough introducing deal discovery, price comparison, and wishlisting, ending with an interactive theme and accent color picker. Persists completion in DataStore and can be replayed from Settings.
  • Deals Calendar & Combined Feed (DealsScreen):
    • Horizontal calendar strip spanning -7 to +21 days around today, marking active free giveaways, upcoming scheduled offers, paid discounts, and unannounced Epic mystery giveaway slots.
    • Combined deals feed sorted with wishlisted items always pinned to the top, paired with store filter chips (Steam, Epic, GOG), a Free Only toggle, an in-feed title search filter, and sorting (Recommended, Name (A–Z), Price: High to Low, Price: Low to High).
  • Wishlist (WishlistScreen): Local Room-backed wishlist (WishlistEntity) for tracking games across stores, complete with a Remove all action and snackbar Undo.
  • Cross-Store Search (SearchScreen): Progressive live search across Steam, Epic Games Store, and GOG sorted by title relevance (SearchRelevanceRanker) with wishlisted pinning.
  • Game Details (GameDetailsScreen):
    • Side-by-side store price comparison with currency mismatch detection when stores return differing currencies.
    • Ordered description fallback (Steam → Epic → GOG), hiding the About this game section completely when no store provides readable text.
    • Horizontal swipeable in-app video trailer carousel powered by Media3 ExoPlayer (HLS + progressive streams) and a fullscreen zoomable/pannable screenshot viewer.
    • Expandable minimum/recommended PC system requirements and validated outbound store links (StoreUrlValidator).
  • Appearance Customization (SettingsScreens):
    • Four theme modes: System, Light, Dark, and true-black AMOLED (#000000).
    • Six accent presets (Cyan Pulse, Emerald Mint, Amber Flare, Violet Nebula, Coral Blaze, Crimson Spark) plus a custom HSV color wheel dialog.
    • 15 locally bundled Google Fonts (res/font/) and an expressive animations toggle.
  • User Preferences, Notifications & Diagnostics:
    • Eight selectable storefront regions: US (USD), GB (GBP), DE (EUR), PL (PLN), CA (CAD), AU (AUD), JP (JPY), and BR (BRL).
    • Optional periodic background deal & giveaway alerts every 6 hours via WorkManager (requests POST_NOTIFICATIONS at runtime on Android 13+).
    • Optional offline Sample Preview Mode (every sample card is explicitly badged SAMPLE DATA and never presented as live store pricing).
    • Live Diagnostics screen probing endpoint latency, local storage health, and Epic catalog ingestion counters, plus a sanitized diagnostics report copier.
  • In-App Update Checker (Settings → About):
    • Manual Check for updates button and a Check for updates on app start toggle querying public GitHub Releases (JuggyBob/DiscountHunterAndroid).
    • Displays a release changelog pop-up with Install & Update (opens the release APK download or GitHub Release page in the browser), Cancel, and a per-version Never show again toggle.

Stores, Data Sources & Limitations

Discount Hunter queries unauthenticated, publicly accessible storefront endpoints directly from the Android client over HTTPS (User-Agent: DiscountHunter-Android/2.0.0):

Store Public Endpoints Used Notes & Limitations
Steam store.steampowered.com/api/featuredcategories, storesearch, appdetails Public storefront JSON; subject to Valve rate limits (HTTP 429) and regional currency formatting.
Epic Games Store store-site-backend-static.ak.epicgames.com/freeGamesPromotions (with -ipv4 fallback) and store.epicgames.com/graphql (with graphql.epicgames.com/graphql fallback, paginated up to 15 pages × 40 items) Free-games feed covers active/upcoming/mystery giveaways; GraphQL catalog queries OnSale offers and can encounter HTTP 403 (Cloudflare/WAF) or HTTP 429 depending on client network/IP.
GOG catalog.gog.com/v1/catalog and api.gog.com/products Public catalog and product metadata APIs; some titles omit structured system requirements or trailers.

Important Transparency Notes:

  • Discount Hunter is an independent, unofficial client and is not affiliated with Valve Corporation, Epic Games, Inc., or GOG sp. z o.o.
  • Public store APIs do not provide guaranteed SLAs and may rate-limit, geo-restrict, or change payload schemas without notice. When a store fails, times out, or returns partial results, Discount Hunter surfaces explicit Partial, Stale, Offline, or RateLimited indicators rather than hiding errors or fabricating live offers.
  • No private API keys, OAuth tokens, or backend servers are required to fetch public storefront deals.

Tech Stack & Requirements

  • Application ID: com.discounthunter.android
  • Minimum SDK: Android 7.0 (minSdk = 24)
  • Compile / Target SDK: compileSdk = 36.1, targetSdk = 36
  • Current Version: 2.0.0 (versionCode = 12)
  • Build Toolchain: Gradle 9.3.1, Android Gradle Plugin 9.1.1, Kotlin 2.4.21, JDK 17+ (Java 11 bytecode target with core library desugaring via desugar_jdk_libs)
  • Core Libraries: Jetpack Compose (BOM 2025.10.00) & Material 3, Navigation Compose (kotlinx.serialization routes), Room + KSP, DataStore Preferences, WorkManager, Retrofit + OkHttp + Moshi, Coil Compose, AndroidX Media3 ExoPlayer (media3-exoplayer, media3-exoplayer-hls, media3-ui), JUnit 4 + Robolectric + Coroutines Test.

Getting Started (Local Build)

1. Clone the Repository

git clone https://github.com/JuggyBob/DiscountHunterAndroid.git
cd DiscountHunterAndroid

2. Generate a Local Debug Keystore (First-Time Setup)

app/build.gradle.kts configures signingConfigs.debugConfig using a gitignored debug.keystore at the repository root (storepass: android, alias: androiddebugkey, keypass: android). On a fresh clone, generate it once with keytool:

keytool -genkeypair -v \
  -keystore debug.keystore \
  -storepass android \
  -alias androiddebugkey \
  -keypass android \
  -keyalg RSA \
  -keysize 2048 \
  -validity 10000 \
  -dname "CN=Android Debug,O=Android,C=US"

3. Secrets & Configuration Files

  • No API keys are required. The template .env.example contains only commented placeholder lines (# GEMINI_API_KEY=MY_GEMINI_API_KEY), and no .env file is needed.
  • No google-services.json is required. Firebase dependencies are commented out in app/build.gradle.kts, and gradle.properties sets googleServices.missing.passthrough=true.

4. Build, Test & Lint

# Run JVM unit and Robolectric tests
./gradlew :app:testDebugUnitTest

# Run Android Lint
./gradlew :app:lintDebug

# Build debug APK
./gradlew :app:assembleDebug

Debug APK output is written to app/build/outputs/apk/debug/.

Upgrading from v1.2.0: The Android applicationId remains com.discounthunter.android, so this installs as an update rather than a second app. However, v2.0 is a complete rewrite: v1.x kept the wishlist and settings in DataStore, while v2 uses a new Room schema and different preference keys. Existing wishlists, alert history and most settings do not migrate automatically — treat this as a fresh start and export anything you need from v1.x before updating.


Permissions & Privacy

Declared in app/src/main/AndroidManifest.xml:

  • android.permission.INTERNET and android.permission.ACCESS_NETWORK_STATE: Required to fetch public storefront deals, media, and diagnostics checks.
  • android.permission.POST_NOTIFICATIONS: Requested at runtime on Android 13+ (API 33+) only if you enable periodic Deal Alerts in Settings.

Discount Hunter stores your wishlist, cached catalog snapshots, alert deduplication history, and preferences strictly locally on your device. No analytics SDKs, ad trackers, or user accounts are included.


Troubleshooting

  • Epic Games deals show partial or HTTP 403 / 429 status: Epic's GraphQL endpoint may rate-limit or challenge certain VPN/datacenter IP ranges. Check Settings → Diagnostics to inspect per-endpoint latency and error details, switch regions or retry later, or enable Sample Preview Mode to explore the UI offline.
  • Build fails complaining about missing debug.keystore: Run the keytool command in Getting Started at the repository root.
  • Deal notifications do not appear on Android 13+: Confirm notification permission is granted in Android system settings and that Deal Alerts is toggled on under Settings → User Preferences.

Contributing, Security & Legal

  • Contributing: See CONTRIBUTING.md for branch conventions, code style, and PR verification requirements.
  • Changelog: See CHANGELOG.md for tracked changes.
  • Security: Please report vulnerabilities privately as described in SECURITY.md. Do not file public issues for security bugs.
  • Release Process: Maintainer pre-release steps are documented in RELEASE_CHECKLIST.md.
  • License & Attribution: Licensed under the Apache License, Version 2.0 (LICENSE). Copyright 2026 JuggyBob — see NOTICE for full attribution and third-party trademark notices.

About

Every Steam, GOG and Epic discount in one Android app. Kotlin + Jetpack Compose, no account, no tracking.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages