Compare commits
No files matched your search
+18
-9
@@ -1,7 +1,21 @@
|
||||
* text = auto
|
||||
* eol = lf
|
||||
* text=auto eol=lf
|
||||
|
||||
# Binary assets (never normalize)
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.webp binary
|
||||
*.ico binary
|
||||
*.icns binary
|
||||
*.tiff binary
|
||||
*.jks binary
|
||||
*.keystore binary
|
||||
*.rtf -text
|
||||
|
||||
# Generated catalog data: collapse in GitHub diffs / language stats
|
||||
data_game/*.json linguist-generated=true
|
||||
|
||||
/tests/ export-ignore
|
||||
/.github/* export-ignore
|
||||
.gitignore export-ignore
|
||||
.gitattributes export-ignore
|
||||
@@ -9,13 +23,7 @@
|
||||
.idea/ export-ignore
|
||||
.vscode/ export-ignore
|
||||
|
||||
CODE_OF_CONDUCT.md export-ignore
|
||||
CONTRIBUTING.md export-ignore
|
||||
SECURITY.md export-ignore
|
||||
/docs/My_Stuff.md export-ignore
|
||||
/docs/PrivacyPolicy.md export-ignore
|
||||
CHANGELOG.md export-ignore
|
||||
README.md export-ignore
|
||||
|
||||
*.csv export-ignore
|
||||
*.log export-ignore
|
||||
@@ -27,3 +35,4 @@ Thumbs.db export-ignore
|
||||
/node_modules/ export-ignore
|
||||
/vendor/ export-ignore
|
||||
/.env export-ignore
|
||||
webapp/worker-configuration.d.ts linguist-generated=true
|
||||
@@ -0,0 +1,5 @@
|
||||
# Code owners: automatically requested as reviewers on pull requests.
|
||||
# Solo-maintained project, so the Maintainer owns everything.
|
||||
# Syntax: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
|
||||
|
||||
* @poli0981
|
||||
@@ -0,0 +1,103 @@
|
||||
name: ♿ Accessibility barrier
|
||||
description: Something on the website or in the apps doesn't work with your keyboard, screen reader, zoom, contrast settings or other assistive technology
|
||||
title: "[Accessibility] "
|
||||
labels: ["accessibility"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for taking the time to report this. Every report helps, even a partial one — describe what happened in your own words, and skip whatever you'd rather not share. Please don't include health information.
|
||||
|
||||
Prefer email, or don't have a GitHub account? Write to **contact@poli0981.dev** (English or Vietnamese). What happens next, and the response targets, are in [ACCESSIBILITY.md](https://github.com/poli0981/free-games-itchio-list/blob/main/ACCESSIBILITY.md#7-reporting-an-accessibility-barrier).
|
||||
|
||||
**Found a security vulnerability?** Please don't file it here: report it privately (see SECURITY.md).
|
||||
|
||||
- type: dropdown
|
||||
id: where
|
||||
attributes:
|
||||
label: Where did it happen?
|
||||
description: Pick all that apply.
|
||||
multiple: true
|
||||
options:
|
||||
- Website (freeitchgames.win)
|
||||
- Desktop app — Windows
|
||||
- Desktop app — macOS
|
||||
- Desktop app — Linux
|
||||
- Android app
|
||||
- Not sure
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: page
|
||||
attributes:
|
||||
label: Page or screen
|
||||
description: The address of the page, or the screen in the app.
|
||||
placeholder: e.g. https://freeitchgames.win/charts, or "the Games list in the Android app"
|
||||
|
||||
- type: textarea
|
||||
id: details
|
||||
attributes:
|
||||
label: What were you trying to do, and what happened?
|
||||
description: What you expected, what happened instead, and the steps to get there if you can.
|
||||
placeholder: |
|
||||
e.g. I pressed Tab to reach the "Platform" filter, but focus jumped back to the top of the page.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: kind
|
||||
attributes:
|
||||
label: What kind of barrier? (optional)
|
||||
multiple: true
|
||||
options:
|
||||
- Keyboard (can't reach or use something, focus lost or hidden)
|
||||
- Screen reader (missing or wrong name, nothing announced, wrong reading order)
|
||||
- Zoom, text size or layout at large sizes
|
||||
- Colour or contrast (including Windows contrast themes)
|
||||
- Motion or animation
|
||||
- Charts
|
||||
- Language (read in the wrong language or voice)
|
||||
- Speech input or switch access
|
||||
- Something else
|
||||
|
||||
- type: dropdown
|
||||
id: severity
|
||||
attributes:
|
||||
label: How much does it get in your way?
|
||||
description: Just your best guess; it may change during triage.
|
||||
options:
|
||||
- Critical — I can't do a main task at all (find, open or read a game, change settings)
|
||||
- Serious — I can, but only with great effort or a workaround
|
||||
- Moderate — annoying or inconsistent, but I get there
|
||||
- Minor — a small polish issue
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: assistive-tech
|
||||
attributes:
|
||||
label: Assistive technology and version (if any)
|
||||
placeholder: e.g. Windows Narrator, NVDA 2026.1, VoiceOver on iOS 26, TalkBack, keyboard only, Windows contrast theme
|
||||
|
||||
- type: input
|
||||
id: environment
|
||||
attributes:
|
||||
label: Device, operating system, browser or app version
|
||||
description: The app version is shown on the About page.
|
||||
placeholder: e.g. Windows 11 + Edge 142; Android 15 + app 4.6.0
|
||||
|
||||
- type: textarea
|
||||
id: media
|
||||
attributes:
|
||||
label: Screenshot or recording (optional)
|
||||
description: Paste or drag files here. Please hide any personal information.
|
||||
|
||||
- type: checkboxes
|
||||
id: conduct
|
||||
attributes:
|
||||
label: Code of Conduct
|
||||
description: By submitting this issue you agree to follow the project's [Code of Conduct](https://github.com/poli0981/free-games-itchio-list/blob/main/CODE_OF_CONDUCT.md).
|
||||
options:
|
||||
- label: I agree to follow the Code of Conduct.
|
||||
required: true
|
||||
@@ -1,12 +1,19 @@
|
||||
name: 🎮 Add Games
|
||||
description: Suggest new free itch.io games (max 15 per issue pls)
|
||||
name: 🎮 Add Games (bulk list)
|
||||
description: Got a whole list of free itch.io games? Use this. For one game, the Suggest page is faster.
|
||||
title: "[Add Games] "
|
||||
labels: ["contribution", "games"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks bro! This repo lives on additions because I'm too lazy to hunt alone :D Only free-to-play itch.io games.
|
||||
Thanks bro! This catalog lives on additions because I'm too lazy to hunt alone :D Only free-to-play itch.io games.
|
||||
|
||||
The game must be playable or downloadable **on its itch.io page itself** (a browser build or an uploaded file). A page that only points to a launcher or a download on another site doesn't qualify.
|
||||
|
||||
**Just one game? Use the Suggest page instead: https://freeitchgames.win/suggest** — no GitHub account needed, and it goes straight into the review queue.
|
||||
This issue form is the fallback for **bulk lists** (several games at once).
|
||||
|
||||
How it works either way: every link lands in a review queue, and nothing enters the catalog until the Maintainer approves it. Approved links are scraped by the data pipeline; paid games and games already in the catalog are skipped.
|
||||
|
||||
- type: dropdown
|
||||
id: count
|
||||
@@ -25,7 +32,7 @@ body:
|
||||
attributes:
|
||||
label: Game Links (one per line!)
|
||||
description: |
|
||||
I'll check (no guarantee perfect). One link per line — two on same line? Your loss :v
|
||||
itch.io game page links only (like `https://creator.itch.io/game`). One link per line — two on the same line? Your loss :v
|
||||
placeholder: |
|
||||
https://example.itch.io/game1
|
||||
https://example.itch.io/game2
|
||||
@@ -41,8 +48,17 @@ body:
|
||||
- type: textarea
|
||||
id: notes
|
||||
attributes:
|
||||
label: Notes for table? (optional)
|
||||
description: Personal rating, warnings, etc. — I'll add to "Notes" column
|
||||
label: Anything the Maintainer should know? (optional)
|
||||
description: Warnings (adult content, suspicious download, needs an account...), your personal take, etc. The Maintainer may use it for the game's `notes`, `nsfw` or `safe_virus` fields.
|
||||
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Quick checks (optional)
|
||||
options:
|
||||
- label: I searched https://freeitchgames.win/games and these games aren't listed yet
|
||||
- label: These games are free to play on itch.io (not paid)
|
||||
- label: Each page has its own browser build or download on itch.io (not only a link to another site)
|
||||
|
||||
- type: checkboxes
|
||||
id: agreement
|
||||
@@ -50,4 +66,4 @@ body:
|
||||
label: Agreement (required)
|
||||
options:
|
||||
- label: I agree — if this issue is off-topic, spam, or violates repo policy, it may be ignored/closed without response.
|
||||
required: true
|
||||
required: true
|
||||
@@ -1,12 +1,49 @@
|
||||
name: 🐛 Bug Report
|
||||
description: Report a bug in the list, tables, scripts, or anything broken
|
||||
name: 🛠️ Report a problem (wrong data, something broke)
|
||||
description: Wrong or outdated game data, a dead link, or something that stopped working on the website or in the apps. Not for feature requests.
|
||||
title: "[Bug] "
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for reporting! I'm a lazy unemployed dev, so bugs happen a lot :D Grok fixes most, but your help is gold.
|
||||
Thanks for reporting! I'm a lazy unemployed dev, so bugs happen a lot :D My AI buddies fix most, but your help is gold.
|
||||
|
||||
**The project is in maintenance mode** (stable, no new features): this form is for wrong game data and for things that broke. Ideas and feature requests are closed without review.
|
||||
|
||||
**Found a security vulnerability?** Please don't file it here — report it privately via https://github.com/poli0981/free-games-itchio-list/security/advisories/new or security@poli0981.dev.
|
||||
Want a game removed (or you're its creator)? Use the "Remove a Game" template instead.
|
||||
Something doesn't work with your keyboard, screen reader, zoom or contrast settings? The "Accessibility barrier" template asks the right questions.
|
||||
|
||||
- type: dropdown
|
||||
id: where
|
||||
attributes:
|
||||
label: Where did it happen?
|
||||
description: Pick all that apply.
|
||||
multiple: true
|
||||
options:
|
||||
- Website (freeitchgames.win)
|
||||
- Desktop app — Windows
|
||||
- Desktop app — macOS
|
||||
- Desktop app — Linux
|
||||
- Android app
|
||||
- Game data itself (wrong info, same everywhere)
|
||||
- Data pipeline / GitHub Actions / scripts
|
||||
- Not sure
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Version
|
||||
description: Shown on the About page (website and apps). For the desktop/Android app, the release you installed.
|
||||
placeholder: e.g. 4.1.0
|
||||
|
||||
- type: input
|
||||
id: environment
|
||||
attributes:
|
||||
label: Browser / device / OS (if relevant)
|
||||
placeholder: e.g. Firefox on Windows 11, Safari on macOS 15, Android 13 phone
|
||||
|
||||
- type: checkboxes
|
||||
id: bug_types
|
||||
@@ -14,13 +51,15 @@ body:
|
||||
label: What kind of bug(s)? (check all that apply)
|
||||
options:
|
||||
- label: Broken/dead link (game page 404 or not loading)
|
||||
- label: Thumbnail not showing or wrong
|
||||
- label: Table missing columns or broken format
|
||||
- label: Wrong game name or dev name
|
||||
- label: Wrong game count in tables
|
||||
- label: Wrong genre classification
|
||||
- label: Cover image not showing or wrong
|
||||
- label: Wrong game name or developer name
|
||||
- label: Wrong genre, tags, platforms or other game info
|
||||
- label: Wrong or outdated description
|
||||
- label: NSFW/Safe flag wrong
|
||||
- label: NSFW flag or safety note (safe_virus) wrong
|
||||
- label: Game count or charts look wrong
|
||||
- label: Page/app crashes, won't load, or layout broken
|
||||
- label: Search, filters or sorting not working
|
||||
- label: Suggest page not working
|
||||
- label: Other (must describe below)
|
||||
|
||||
- type: textarea
|
||||
@@ -28,7 +67,7 @@ body:
|
||||
attributes:
|
||||
label: Details (Game name(s)/URL(s), what happened?)
|
||||
description: |
|
||||
If "Other" checked, or multiple games — explain here. The more specific, the faster I fix (or Grok does).
|
||||
What did you do, what did you expect, what happened instead? If "Other" is checked, or multiple games — explain here. The more specific, the faster it gets fixed.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -36,17 +75,17 @@ body:
|
||||
id: screenshots
|
||||
attributes:
|
||||
label: Screenshots/Proof (optional but super helpful)
|
||||
description: Paste links or describe — I believe you, but visuals make me less lazy :D
|
||||
description: Paste images or links, or describe — I believe you, but visuals make me less lazy :D Please hide any personal info.
|
||||
|
||||
- type: checkboxes
|
||||
- type: dropdown
|
||||
id: urgency
|
||||
attributes:
|
||||
label: Urgency level?
|
||||
options:
|
||||
- label: Low (annoying but not critical)
|
||||
- label: Medium (affects some games)
|
||||
- label: High (breaks tables or many games)
|
||||
- label: Critical (whole repo broken)
|
||||
- Low (annoying but not critical)
|
||||
- Medium (affects some games or one page)
|
||||
- High (breaks a whole page or many games)
|
||||
- Critical (website or app unusable)
|
||||
|
||||
- type: checkboxes
|
||||
id: agreement
|
||||
@@ -55,4 +94,4 @@ body:
|
||||
description: I gotta cover my lazy ass :D
|
||||
options:
|
||||
- label: I agree — if this issue is off-topic, spam, or violates repo policy, it may be ignored/closed without response.
|
||||
required: true
|
||||
required: true
|
||||
@@ -0,0 +1,14 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: 🎮 Suggest a game (fastest way)
|
||||
url: https://freeitchgames.win/suggest
|
||||
about: Suggest one free itch.io game right on the website, no GitHub account needed. Every suggestion is reviewed by the Maintainer before it enters the catalog.
|
||||
- name: 🔒 Report a security vulnerability (private)
|
||||
url: https://github.com/poli0981/free-games-itchio-list/security/advisories/new
|
||||
about: Please report vulnerabilities privately here (or email security@poli0981.dev), never in a public issue.
|
||||
- name: 💬 Questions, feedback, anything else
|
||||
url: https://github.com/poli0981/free-games-itchio-list/discussions
|
||||
about: Issues are for the catalog data only (add, fix or remove a game). Everything else goes to Discussions.
|
||||
- name: 🧊 Feature requests are closed
|
||||
url: https://github.com/poli0981/free-games-itchio-list#project-status
|
||||
about: The project is stable and in maintenance mode — security fixes and dependency updates only. Feature requests and code pull requests are closed without review.
|
||||
@@ -1,62 +0,0 @@
|
||||
name: 💡 Feature Request / Improvement
|
||||
description: Suggest a new feature or code improvement
|
||||
title: "[Feature/Improvement] "
|
||||
labels: ["enhancement"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Yo legend! My code is mediocre at best, so ideas are welcome. Grok helps, but you might have better ones :D
|
||||
|
||||
- type: checkboxes
|
||||
id: type
|
||||
attributes:
|
||||
label: Type (choose one only)
|
||||
options:
|
||||
- label: New Feature
|
||||
- label: Code Improvement
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: title
|
||||
attributes:
|
||||
label: Feature/Improvement Name
|
||||
description: Short title — what is it?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: reason
|
||||
attributes:
|
||||
label: Why? (e.g tables too slow, missing info, etc.)
|
||||
description: Explain the problem it solves or why it's cool/good for the repo.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: checkboxes
|
||||
id: priority
|
||||
attributes:
|
||||
label: How necessary? (choose one only)
|
||||
options:
|
||||
- label: Not urgent (nice to have)
|
||||
- label: Maybe needed
|
||||
- label: Very needed
|
||||
- label: Extremely urgent (repo dying without it)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: code
|
||||
attributes:
|
||||
label: (Optional) Pseudo-code, snippet, or file idea
|
||||
description: |
|
||||
Share code ideas — I'll check (no malware pls, I'm paranoid and lazy :D). My skill is average, so keep it simple.
|
||||
|
||||
- type: checkboxes
|
||||
id: agreement
|
||||
attributes:
|
||||
label: Agreement (required)
|
||||
options:
|
||||
- label: I agree — if this issue is off-topic, spam, or violates repo policy, it may be ignored/closed without response.
|
||||
required: true
|
||||
@@ -1,36 +0,0 @@
|
||||
name: 💬 Feedback
|
||||
description: General feedback about the repo/docs
|
||||
title: "[Feedback] "
|
||||
labels: ["feedback"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Roast me, praise me, or complain — I'm introvert but I'll read :D
|
||||
|
||||
- type: checkboxes
|
||||
id: reasons
|
||||
attributes:
|
||||
label: What's the feedback about? (can check multiple)
|
||||
options:
|
||||
- label: EULA/ToS too strict/annoying
|
||||
- label: Repo concept wrong/bad
|
||||
- label: Anti-AI vibes (but Grok built half of it :v)
|
||||
- label: Delete the repo pls
|
||||
- label: Other (describe below)
|
||||
|
||||
- type: textarea
|
||||
id: details
|
||||
attributes:
|
||||
label: Full feedback/details
|
||||
description: Be honest — my self-loathing can handle it
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: checkboxes
|
||||
id: agreement
|
||||
attributes:
|
||||
label: Agreement (required)
|
||||
options:
|
||||
- label: I agree — if this issue is off-topic, spam, or violates repo policy, it may be ignored/closed without response.
|
||||
required: true
|
||||
@@ -1,68 +0,0 @@
|
||||
name: 🤖 Game already submitted via Telegram bot
|
||||
description: Tracking issue for games you submitted via @my_skull_bot
|
||||
title: "[Bot] "
|
||||
labels: ["contribution", "games", "via-telegram-bot"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Use this template **only after** the bot has acknowledged your submission
|
||||
in Telegram. This issue is for tracking + so you get credited in
|
||||
ACKNOWLEDGEMENTS.md.
|
||||
|
||||
New here? See [CONTRIBUTING §1b — Add games via Telegram bot](../blob/main/CONTRIBUTING.md#1b-add-games-via-telegram-bot-my_skull_bot--alternative-to-issues).
|
||||
|
||||
**Privacy reminder**: do **not** paste your Telegram numeric ID into
|
||||
this issue. The numeric ID is private; the username (@SkullMute0011-style)
|
||||
is fine if you want credit on it.
|
||||
|
||||
- type: input
|
||||
id: telegram_username
|
||||
attributes:
|
||||
label: Telegram username (optional, for credit)
|
||||
description: e.g. `@yourname`. Leave blank if you'd rather stay anonymous.
|
||||
placeholder: "@yourname"
|
||||
|
||||
- type: input
|
||||
id: bot_run_id
|
||||
attributes:
|
||||
label: Bot run ID or commit SHA
|
||||
description: |
|
||||
Either the GitHub Actions run ID the bot reported back to you in
|
||||
Telegram, or the commit SHA `bot-ingest: run NNN`.
|
||||
placeholder: "e.g. 25627763897 or 2b22b85"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: links
|
||||
attributes:
|
||||
label: itch.io URLs you submitted (one per line)
|
||||
description: |
|
||||
Same URLs you sent the bot. Helps cross-check that the scraper picked
|
||||
them up correctly.
|
||||
placeholder: |
|
||||
https://example.itch.io/game1
|
||||
https://example.itch.io/game2
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: notes
|
||||
attributes:
|
||||
label: Anything weird with the run? (optional)
|
||||
description: |
|
||||
Bot timed out, scraper missed a field, duplicate already in catalog,
|
||||
etc. If everything went smoothly leave this blank.
|
||||
|
||||
- type: checkboxes
|
||||
id: agreement
|
||||
attributes:
|
||||
label: Agreement (required)
|
||||
options:
|
||||
- label: I confirm the bot acknowledged this submission in Telegram before I opened this issue.
|
||||
required: true
|
||||
- label: I did NOT paste my Telegram numeric ID into this issue.
|
||||
required: true
|
||||
- label: I agree to the [Terms of Use](../blob/main/docs/ToS.md) and [Privacy Policy](../blob/main/docs/PrivacyPolicy.md).
|
||||
required: true
|
||||
@@ -1,25 +0,0 @@
|
||||
name: ❓ General / Off-Topic
|
||||
description: Anything not fitting other templates
|
||||
title: "[General] "
|
||||
labels: ["question"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Not bug/feature/games/feedback? Drop it here. Memes welcome :D
|
||||
|
||||
- type: textarea
|
||||
id: content
|
||||
attributes:
|
||||
label: What's on your mind?
|
||||
description: Questions, random thoughts, or just saying hi
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: checkboxes
|
||||
id: agreement
|
||||
attributes:
|
||||
label: Agreement (required)
|
||||
options:
|
||||
- label: I agree — if this issue is off-topic, spam, or violates repo policy, it may be ignored/closed without response.
|
||||
required: true
|
||||
@@ -1,12 +1,17 @@
|
||||
name: 🚫 Remove Games
|
||||
description: Request to remove games from the list (max 10 per issue)
|
||||
name: 🚫 Remove a Game (or copyright request)
|
||||
description: Ask to remove games from the catalog or correct their data, including requests from creators and rights holders (max 10 per issue)
|
||||
title: "[Remove Games] "
|
||||
labels: ["removal"]
|
||||
labels: ["delete-game"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Sad to see them go, but ok! Max 10 because I'm lazy :D
|
||||
Sad to see them go, but ok! Max 10 per issue because I'm lazy :D
|
||||
|
||||
**This issue is public.** Don't post private contact details or anything confidential here.
|
||||
Prefer to keep it private? Email **takedown@poli0981.dev** instead, with the game URL, who you are (creator, rights holder, or someone authorized to act for them) and the reason.
|
||||
|
||||
What happens next (for a removal): the Maintainer removes the record from the catalog (the removal and its reason are logged in the public list of removed games at https://freeitchgames.win/removed), deletes the resized cover copies the website stores, and cached copies expire from Cloudflare's cache. Older versions stay in the public git history. Target: within 7 days; urgent legal requests sooner.
|
||||
|
||||
- type: dropdown
|
||||
id: count
|
||||
@@ -22,8 +27,11 @@ body:
|
||||
- type: textarea
|
||||
id: games
|
||||
attributes:
|
||||
label: Game Name(s) or Link(s)
|
||||
description: List them — one per line or clear
|
||||
label: Game Link(s)
|
||||
description: itch.io links work best (game names are ok too). One per line.
|
||||
placeholder: |
|
||||
https://example.itch.io/game1
|
||||
https://example.itch.io/game2
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -38,6 +46,8 @@ body:
|
||||
- label: Don't like it anymore
|
||||
- label: Potential malware/virus
|
||||
- label: I'm the dev and don't want it listed
|
||||
- label: I'm the dev and the data shown is wrong (please correct it instead of removing)
|
||||
- label: Copyright / rights-holder request (fill in the section below)
|
||||
- label: Other (describe below)
|
||||
validations:
|
||||
required: true
|
||||
@@ -45,7 +55,46 @@ body:
|
||||
- type: textarea
|
||||
id: other_reason
|
||||
attributes:
|
||||
label: If "Other" — explain here
|
||||
label: Details / if "Other" — explain here
|
||||
description: For a correction, say which field is wrong and what it should be.
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
---
|
||||
### Copyright / rights-holder section (optional)
|
||||
Fill this in only if you are the creator or rights holder of the listed game (or authorized to act for them), for example when your description text or cover image is shown here and you want it removed.
|
||||
Game descriptions and cover images remain the property of their creators; the catalog only copies what is on the public itch.io page.
|
||||
|
||||
- type: input
|
||||
id: rights_holder
|
||||
attributes:
|
||||
label: Your name, studio or itch.io account, and your role
|
||||
description: e.g. "Creator, itch.io account example" or "Publisher, authorized by the developer". Public — no private contact details please.
|
||||
|
||||
- type: checkboxes
|
||||
id: affected
|
||||
attributes:
|
||||
label: Which content is affected?
|
||||
options:
|
||||
- label: The whole listing
|
||||
- label: Description text
|
||||
- label: Cover image / thumbnail
|
||||
- label: Game name, logo or trademark
|
||||
- label: Something else (explain below)
|
||||
|
||||
- type: textarea
|
||||
id: claim
|
||||
attributes:
|
||||
label: Details of the request
|
||||
description: Where the original work lives (e.g. your itch.io page) and what you want done.
|
||||
|
||||
- type: checkboxes
|
||||
id: rights_confirmation
|
||||
attributes:
|
||||
label: Confirmation (copyright requests only)
|
||||
options:
|
||||
- label: I am the creator or rights holder of the content above, or authorized to act for them, and the information in this issue is accurate.
|
||||
|
||||
- type: checkboxes
|
||||
id: agreement
|
||||
@@ -53,4 +102,4 @@ body:
|
||||
label: Agreement (required)
|
||||
options:
|
||||
- label: I agree — if this issue is off-topic, spam, or violates repo policy, it may be ignored/closed without response.
|
||||
required: true
|
||||
required: true
|
||||
@@ -1,20 +1,20 @@
|
||||
**🎮 Add New Games**
|
||||
|
||||
Thanks for feeding the list! (Normally I prefer the "Add Games" issue template so Actions auto-scrape, but PR direct to game_info.json also works if you wanna be extra :D)
|
||||
Thanks for feeding the list! Easiest ways first: one game → the Suggest page (https://freeitchgames.win/suggest, no GitHub needed); a bulk list → the "Add Games" issue template. A PR also works if you wanna be extra :D
|
||||
|
||||
**How to add games in a PR:** put the itch.io game URLs in `scripts/temp_link.json` (a JSON array of URL strings). Please don't edit `data_game/` by hand — the pipeline writes it. Merging the PR is the Maintainer's approval; the ingest workflow (`update.yml`) then scrapes each link and adds the free ones. Paid games and games already in the catalog are skipped.
|
||||
|
||||
### Games Added
|
||||
List the itch.io URLs (free-to-play only!):
|
||||
|
||||
### Why these games?
|
||||
Optional: short notes, why they rock, NSFW/safe concerns.
|
||||
|
||||
### Description
|
||||
How you added them (manual edit game_info.json? scraped yourself?). Keep format consistent!
|
||||
Optional: short notes, why they rock, NSFW/safety concerns (the Maintainer sets the `nsfw`, `safe_virus` and `notes` fields).
|
||||
|
||||
### Checklist
|
||||
- [ ] All links are free itch.io games
|
||||
- [ ] No duplicates (check existing)
|
||||
- [ ] Format correct (json valid, fields match)
|
||||
- [ ] Tested generate_md.py after
|
||||
- [ ] All links are free itch.io game pages
|
||||
- [ ] Each page has its own browser build or download on itch.io (not only a link to another site)
|
||||
- [ ] No duplicates (searched https://freeitchgames.win/games)
|
||||
- [ ] Only `scripts/temp_link.json` changed, and it's still valid JSON
|
||||
- [ ] I agree my contribution is licensed under CC BY 4.0, like the rest of the catalog data (`data_game/LICENSE.md`)
|
||||
|
||||
You're making this boredom project bigger — legend status unlocked! 🚀
|
||||
You're making this boredom project bigger — legend status unlocked! 🚀
|
||||
@@ -1,25 +0,0 @@
|
||||
**🐛 Bug Fix**
|
||||
|
||||
Thanks for fixing my mediocre code! I'm just an unemployed noob dev, so bugs are my specialty :D
|
||||
|
||||
### What bug did you fix?
|
||||
- [ ] Broken link / wrong info in list
|
||||
- [ ] Wrong NSFW/Safe flag
|
||||
- [ ] Genre classification error
|
||||
- [ ] Scraping failure (itch.io changed HTML again)
|
||||
- [ ] Generate MD tables broken (split/part wrong)
|
||||
- [ ] GitHub Actions fail
|
||||
- [ ] Other (describe below)
|
||||
|
||||
### Description
|
||||
Explain the bug and how your fix works. Bonus points if you tested locally!
|
||||
|
||||
### Related Issues
|
||||
Closes # (link issue number if any)
|
||||
|
||||
### Checklist
|
||||
- [ ] Tested locally (run update_games.py + generate_md.py)
|
||||
- [ ] No new bugs introduced (hopefully)
|
||||
- [ ] Followed the vibe (chill, no drama)
|
||||
|
||||
Grok approved? (just kidding, but thanks legend!) 🚀
|
||||
@@ -1,22 +0,0 @@
|
||||
**📝 Documentation Update / Other**
|
||||
|
||||
Not code or games? Fix my bad English, typos, or update legal docs — still super helpful!
|
||||
|
||||
### What did you update?
|
||||
- [ ] Fix typo/grammar in README/docs
|
||||
- [ ] Update DISCLAIMER/PRIVACY/TERMS/etc.
|
||||
- [ ] Improve MY_STUFF or ACKNOWLEDGEMENTS
|
||||
- [ ] Add badges/screenshots
|
||||
- [ ] Other small polish
|
||||
|
||||
### Description
|
||||
Explain changes and why.
|
||||
|
||||
### Related Issues
|
||||
References # (if any)
|
||||
|
||||
### Checklist
|
||||
- [ ] No breaking changes
|
||||
- [ ] Keeps the self-deprecating vibe :D
|
||||
|
||||
Even small fixes make this repo look less noob — thanks bro! 🚀
|
||||
@@ -1,24 +0,0 @@
|
||||
**💡 New Feature / Code Improvement**
|
||||
|
||||
Yo legend! My code is "kinda works" level, so any upgrade is huge. Grok helps me, but real humans are better :D
|
||||
|
||||
### What feature/improvement?
|
||||
- [ ] Better scraping (more info, rating, etc.)
|
||||
- [ ] Prettier tables (new columns, better split)
|
||||
- [ ] Auto stuff (badge, index README, search?)
|
||||
- [ ] Performance fix (faster Actions)
|
||||
- [ ] Refactor my messy code
|
||||
- [ ] Other (describe)
|
||||
|
||||
### Description
|
||||
Explain what it does and why it's cool. Include code snippets if needed.
|
||||
|
||||
### Related Issues
|
||||
References # (link if any)
|
||||
|
||||
### Checklist
|
||||
- [ ] Tested locally
|
||||
- [ ] Doesn't break daily update
|
||||
- [ ] Keeps the noob vibe intact
|
||||
|
||||
If this makes the repo less mediocre — you're the MVP. 🚀
|
||||
@@ -0,0 +1,87 @@
|
||||
# Dependabot version updates. Security updates are a separate switch in
|
||||
# Settings → Code security (when on, they are not limited by open-pull-requests-limit).
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: npm
|
||||
directory: /webapp
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: monday
|
||||
time: '01:30'
|
||||
timezone: Asia/Ho_Chi_Minh
|
||||
cooldown:
|
||||
default-days: 3
|
||||
open-pull-requests-limit: 5
|
||||
groups:
|
||||
react:
|
||||
patterns: ['react', 'react-dom', '@types/react*', 'react-router*']
|
||||
tanstack:
|
||||
patterns: ['@tanstack/*']
|
||||
radix:
|
||||
patterns: ['@radix-ui/*', 'radix-ui']
|
||||
tauri-js:
|
||||
patterns: ['@tauri-apps/*']
|
||||
# @vitest/coverage-v8 requires the exact vitest version (peer dependency).
|
||||
vitest:
|
||||
patterns: ['vitest', '@vitest/*']
|
||||
build-tooling:
|
||||
patterns:
|
||||
- 'vite'
|
||||
- '@vitejs/*'
|
||||
- 'typescript'
|
||||
- '@typescript/*'
|
||||
- 'typescript-eslint'
|
||||
- 'eslint*'
|
||||
- '@eslint/*'
|
||||
- 'knip'
|
||||
- 'tailwindcss'
|
||||
- '@tailwindcss/*'
|
||||
- 'tw-animate-css'
|
||||
- 'wrangler'
|
||||
- '@cloudflare/*'
|
||||
ignore:
|
||||
# `typescript` is an alias of @typescript/typescript6 (the 6.0 API):
|
||||
# typescript-eslint supports TypeScript < 6.1 only. TypeScript 7 itself
|
||||
# is `@typescript/native`. Never move the alias to a new major.
|
||||
- dependency-name: 'typescript'
|
||||
update-types: ['version-update:semver-major']
|
||||
# Match the Node 26 runtime.
|
||||
- dependency-name: '@types/node'
|
||||
versions: ['>=27']
|
||||
|
||||
- package-ecosystem: pip
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: monday
|
||||
cooldown:
|
||||
default-days: 3
|
||||
groups:
|
||||
python:
|
||||
patterns: ['*']
|
||||
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: monday
|
||||
groups:
|
||||
actions:
|
||||
patterns: ['*']
|
||||
|
||||
# Weekly on Mondays like npm, so tauri-rs and tauri-js bumps land together:
|
||||
# `tauri build` (release workflows only) refuses crate / npm versions on a
|
||||
# different major.minor; Webapp CI's check:tauri step catches a one-sided bump.
|
||||
- package-ecosystem: cargo
|
||||
directory: /webapp/src-tauri
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: monday
|
||||
groups:
|
||||
tauri-rs:
|
||||
patterns: ['tauri*']
|
||||
rust-other:
|
||||
patterns: ['*']
|
||||
ignore:
|
||||
- dependency-name: 'tauri*'
|
||||
versions: ['>=3.0.0-0']
|
||||
@@ -0,0 +1,31 @@
|
||||
<!--
|
||||
The project is in maintenance mode (stable, no new features — see README → Project status).
|
||||
Pull requests from contributors are accepted for ONE thing: adding itch.io URLs to
|
||||
scripts/temp_link.json. For that, add ?template=add_games.md to this page's address.
|
||||
Code, UI and docs pull requests are closed without review; a game's data is fixed or removed
|
||||
through an issue or email (CONTRIBUTING.md). This template is the Maintainer's own checklist.
|
||||
-->
|
||||
|
||||
### What and why
|
||||
|
||||
What does this change, and why?
|
||||
|
||||
### Related issues
|
||||
|
||||
Closes # (if any)
|
||||
|
||||
### Checklist
|
||||
|
||||
- [ ] Tested locally — Python: `pytest`, `ruff check scripts tests webapp/scripts`; webapp: `npm test`, `npm run lint`, `npm run knip`, `npx tsc -b`
|
||||
- [ ] No secrets, tokens or personal data in the diff
|
||||
- [ ] New UI text is in both `webapp/src/lib/i18n/en.ts` and `vi.ts`; a changed English doc has its Vietnamese mirror updated (or I said so above)
|
||||
- [ ] I agree my contribution is licensed like the part it changes: MIT for code, CC BY 4.0 for data and docs
|
||||
|
||||
### Accessibility (UI or docs changes — see [ACCESSIBILITY.md](https://github.com/poli0981/free-games-itchio-list/blob/main/ACCESSIBILITY.md#8-for-contributors))
|
||||
|
||||
- [ ] N/A — no UI or docs change
|
||||
- [ ] Works with the keyboard alone: everything reachable, focus visible and never lost
|
||||
- [ ] Every control has a name; nothing relies on colour alone; `npm test` (contrast check) passes
|
||||
- [ ] Respects reduced motion; no new auto-playing motion
|
||||
- [ ] Checked once with a screen reader (Narrator, NVDA, VoiceOver or TalkBack)
|
||||
- [ ] Docs: headings in order, descriptive link text, alt text for images
|
||||
@@ -0,0 +1 @@
|
||||
3.15
|
||||
@@ -2,9 +2,9 @@ name: Announce to Discussion
|
||||
|
||||
# Two triggers, two destinations:
|
||||
# 1. release:published → Announcements category
|
||||
# 2. push (paths: docs/**, CHANGELOG.md, README.md, README.vi.md) → General
|
||||
# The push job is gated by a `[skip-discuss]` token in the head-commit message
|
||||
# so dev can opt out for typo-only commits.
|
||||
# 2. push touching the changelog (CHANGELOG.md index or changelog/**) →
|
||||
# General (docs-only edits don't post; put user-facing changes in the
|
||||
# changelog). Add `[skip-discuss]` to the head-commit message to opt out.
|
||||
#
|
||||
# No pre-flight needed — repo ID and category IDs are auto-discovered at
|
||||
# runtime via GraphQL (by category slug: "announcements" / "general").
|
||||
@@ -16,10 +16,8 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'CHANGELOG.md'
|
||||
- 'README.md'
|
||||
- 'README.vi.md'
|
||||
- 'changelog/**'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
mode:
|
||||
@@ -33,9 +31,7 @@ on:
|
||||
type: string
|
||||
required: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
discussions: write
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: announce-discussion-${{ github.ref }}
|
||||
@@ -48,6 +44,9 @@ jobs:
|
||||
(github.event_name == 'workflow_dispatch' && inputs.mode == 'announce-release')
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
contents: read
|
||||
discussions: write
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
@@ -104,22 +103,28 @@ jobs:
|
||||
echo "title=Release ${TAG}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Create Announcements discussion
|
||||
env:
|
||||
REPO_ID: ${{ steps.ids.outputs.repo_id }}
|
||||
CATEGORY_ID: ${{ steps.ids.outputs.category_id }}
|
||||
TITLE: ${{ steps.rel.outputs.title }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
gh api graphql \
|
||||
-f query='mutation($r:ID!,$c:ID!,$t:String!,$b:String!){createDiscussion(input:{repositoryId:$r,categoryId:$c,title:$t,body:$b}){discussion{url}}}' \
|
||||
-f r="${{ steps.ids.outputs.repo_id }}" \
|
||||
-f c="${{ steps.ids.outputs.category_id }}" \
|
||||
-f t="${{ steps.rel.outputs.title }}" \
|
||||
-f r="$REPO_ID" \
|
||||
-f c="$CATEGORY_ID" \
|
||||
-f t="$TITLE" \
|
||||
-F b=@body.md
|
||||
|
||||
announce-docs:
|
||||
if: >
|
||||
github.event_name == 'push' &&
|
||||
!contains(github.event.head_commit.message, '[skip-discuss]') &&
|
||||
!startsWith(github.event.head_commit.message, 'bot-ingest:')
|
||||
!contains(github.event.head_commit.message, '[skip-discuss]')
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
contents: read
|
||||
discussions: write
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
@@ -150,15 +155,16 @@ jobs:
|
||||
echo "category_id=$CAT_ID" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Checkout (last 2 commits for diff)
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 2
|
||||
persist-credentials: false
|
||||
|
||||
- name: List changed docs
|
||||
id: changes
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git diff --name-only HEAD^ HEAD -- docs/ CHANGELOG.md README.md README.vi.md > changed.txt || true
|
||||
git diff --name-only HEAD^ HEAD -- CHANGELOG.md changelog/ > changed.txt || true
|
||||
if [ ! -s changed.txt ]; then
|
||||
echo "no-docs-changed=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
@@ -185,11 +191,15 @@ jobs:
|
||||
|
||||
- name: Create General discussion
|
||||
if: steps.changes.outputs.no-docs-changed != 'true'
|
||||
env:
|
||||
REPO_ID: ${{ steps.ids.outputs.repo_id }}
|
||||
CATEGORY_ID: ${{ steps.ids.outputs.category_id }}
|
||||
TITLE: ${{ steps.body.outputs.title }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
gh api graphql \
|
||||
-f query='mutation($r:ID!,$c:ID!,$t:String!,$b:String!){createDiscussion(input:{repositoryId:$r,categoryId:$c,title:$t,body:$b}){discussion{url}}}' \
|
||||
-f r="${{ steps.ids.outputs.repo_id }}" \
|
||||
-f c="${{ steps.ids.outputs.category_id }}" \
|
||||
-f t="${{ steps.body.outputs.title }}" \
|
||||
-f r="$REPO_ID" \
|
||||
-f c="$CATEGORY_ID" \
|
||||
-f t="$TITLE" \
|
||||
-F b=@body.md
|
||||
@@ -10,14 +10,21 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
# Reusable announce-release.yml only needs `contents: read` to fetch
|
||||
# release metadata via the gh CLI.
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
announce:
|
||||
uses: poli0981/.github/.github/workflows/announce-release.yml@main
|
||||
# The reusable workflow fetches release metadata with the gh CLI.
|
||||
permissions:
|
||||
contents: read
|
||||
# Pinned to a commit of poli0981/.github and only the needed secrets are
|
||||
# passed. NOTE: the pin freezes the workflow YAML only — at this commit it
|
||||
# still checks out its notifier script from poli0981/.github@main. Bump
|
||||
# the pin once that repo runs the script from the same commit.
|
||||
uses: poli0981/.github/.github/workflows/announce-release.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a
|
||||
with:
|
||||
tag_override: ${{ inputs.tag || '' }}
|
||||
secrets: inherit
|
||||
secrets:
|
||||
DISCORD_RELEASES_WEBHOOK: ${{ secrets.DISCORD_RELEASES_WEBHOOK }}
|
||||
DISCORD_REPO_WEBHOOK: ${{ secrets.DISCORD_REPO_WEBHOOK }}
|
||||
DISCORD_PING_ROLE_ID: ${{ secrets.DISCORD_PING_ROLE_ID }}
|
||||
@@ -1,202 +0,0 @@
|
||||
# Place this file at .github/workflows/bot-ingest.yml in the itchio-f2p-tracker repo.
|
||||
#
|
||||
# Triggered by telegram-scraper-bot via workflow_dispatch.
|
||||
# Required repository secret:
|
||||
# - TELEGRAM_BOT_TOKEN (same token the bot uses)
|
||||
#
|
||||
# Differences from Steam version:
|
||||
# • temp_link.json is a JSON array, not JSONL → parse + extend + write
|
||||
# • Entry script is update_info.py, not ingest_new.py
|
||||
# • Output dirs are data_game/ and scripts/deleted_games.json (not data/ and removed_games.jsonl)
|
||||
|
||||
name : Bot Ingest
|
||||
|
||||
on :
|
||||
workflow_dispatch :
|
||||
inputs :
|
||||
links :
|
||||
description : "Newline-separated itch.io URLs"
|
||||
required : true
|
||||
chat_id :
|
||||
description : "Telegram chat ID for callback"
|
||||
required : true
|
||||
message_id :
|
||||
description : "Telegram message ID to edit"
|
||||
required : true
|
||||
|
||||
permissions :
|
||||
contents : write
|
||||
|
||||
# Queue concurrent dispatches to prevent commit conflicts on data_game/ shards.
|
||||
concurrency :
|
||||
group : bot-ingest
|
||||
cancel-in-progress : false
|
||||
|
||||
jobs :
|
||||
ingest :
|
||||
runs-on : ubuntu-latest
|
||||
timeout-minutes : 30
|
||||
|
||||
steps :
|
||||
-
|
||||
uses : actions/checkout@v6
|
||||
|
||||
-
|
||||
uses : actions/setup-python@v6
|
||||
with :
|
||||
python-version : "3.12"
|
||||
|
||||
-
|
||||
name : Install deps
|
||||
run : pip install --quiet beautifulsoup4 requests
|
||||
|
||||
-
|
||||
name : Append links to temp_link.json (JSON array)
|
||||
env :
|
||||
LINKS : ${{ inputs.links }}
|
||||
run : |
|
||||
python <<'PY'
|
||||
import json, os, pathlib
|
||||
|
||||
path = pathlib.Path("scripts/temp_link.json")
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# Load existing array (or start fresh)
|
||||
existing = []
|
||||
if path.exists():
|
||||
try:
|
||||
loaded = json.loads(path.read_text(encoding="utf-8"))
|
||||
if isinstance(loaded, list):
|
||||
existing = loaded
|
||||
except json.JSONDecodeError:
|
||||
print("⚠ temp_link.json was malformed, resetting to []")
|
||||
|
||||
# Append new links (dedupe within this batch only — update_info.py
|
||||
# also dedupes against the full data_game/ index)
|
||||
before = len(existing)
|
||||
seen = set(existing)
|
||||
for line in os.environ["LINKS"].splitlines():
|
||||
line = line.strip()
|
||||
if line and line not in seen:
|
||||
existing.append(line)
|
||||
seen.add(line)
|
||||
|
||||
path.write_text(
|
||||
json.dumps(existing, ensure_ascii=False, indent=4) + "\n",
|
||||
encoding="utf-8",
|
||||
)
|
||||
print(f"temp_link.json: {before} → {len(existing)} entries (+{len(existing) - before})")
|
||||
PY
|
||||
|
||||
-
|
||||
name : Run update_info.py
|
||||
id : ingest
|
||||
run : |
|
||||
set -o pipefail
|
||||
python scripts/update_info.py 2>&1 | tee /tmp/ingest.log
|
||||
|
||||
# Capture the final summary line. update_info.py prints:
|
||||
# "Done — N added, N paid (skipped), N duplicates, N failed, N total."
|
||||
summary=$(grep -E "^Done —" /tmp/ingest.log | tail -n 1 || true)
|
||||
if [ -z "$summary" ]; then
|
||||
summary="(no summary line found in output)"
|
||||
fi
|
||||
|
||||
{
|
||||
echo "summary<<EOF"
|
||||
echo "$summary"
|
||||
echo "EOF"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
-
|
||||
name : Commit changes
|
||||
id : commit
|
||||
run : |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add data_game/ scripts/temp_link.json scripts/deleted_games.json 2>/dev/null || true
|
||||
|
||||
if git diff --staged --quiet; then
|
||||
echo "committed=false" >> "$GITHUB_OUTPUT"
|
||||
echo "No changes to commit."
|
||||
else
|
||||
git commit -m "bot-ingest: run ${{ github.run_id }}"
|
||||
git push
|
||||
echo "committed=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
-
|
||||
name : Notify Telegram (success)
|
||||
if : success()
|
||||
env :
|
||||
BOT_TOKEN : ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
CHAT_ID : ${{ inputs.chat_id }}
|
||||
MSG_ID : ${{ inputs.message_id }}
|
||||
SUMMARY : ${{ steps.ingest.outputs.summary }}
|
||||
COMMITTED : ${{ steps.commit.outputs.committed }}
|
||||
RUN_URL : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
run : |
|
||||
python <<'PY'
|
||||
import os, urllib.request, urllib.parse
|
||||
|
||||
summary = os.environ.get("SUMMARY", "(no summary)")
|
||||
committed = os.environ.get("COMMITTED", "false") == "true"
|
||||
run_url = os.environ["RUN_URL"]
|
||||
|
||||
status = "✅" if committed else "ℹ️"
|
||||
commit_line = "Committed to repo." if committed else "No changes (all duplicates / paid / failed)."
|
||||
|
||||
text = (
|
||||
f"{status} *itch ingest done*\n\n"
|
||||
f"```\n{summary}\n```\n"
|
||||
f"{commit_line}\n\n"
|
||||
f"[View workflow run]({run_url})"
|
||||
)
|
||||
|
||||
payload = urllib.parse.urlencode({
|
||||
"chat_id": os.environ["CHAT_ID"],
|
||||
"message_id": os.environ["MSG_ID"],
|
||||
"parse_mode": "Markdown",
|
||||
"text": text,
|
||||
}).encode()
|
||||
|
||||
url = f"https://api.telegram.org/bot{os.environ['BOT_TOKEN']}/editMessageText"
|
||||
req = urllib.request.Request(url, data=payload)
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=30) as resp:
|
||||
print(f"Telegram callback: HTTP {resp.status}")
|
||||
except Exception as e:
|
||||
print(f"Telegram callback failed: {e}")
|
||||
PY
|
||||
|
||||
-
|
||||
name : Notify Telegram (failure)
|
||||
if : failure()
|
||||
env :
|
||||
BOT_TOKEN : ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
CHAT_ID : ${{ inputs.chat_id }}
|
||||
MSG_ID : ${{ inputs.message_id }}
|
||||
RUN_URL : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
run : |
|
||||
python <<'PY'
|
||||
import os, urllib.request, urllib.parse
|
||||
|
||||
text = (
|
||||
"❌ *itch ingest failed*\n\n"
|
||||
f"[View workflow run]({os.environ['RUN_URL']})"
|
||||
)
|
||||
payload = urllib.parse.urlencode({
|
||||
"chat_id": os.environ["CHAT_ID"],
|
||||
"message_id": os.environ["MSG_ID"],
|
||||
"parse_mode": "Markdown",
|
||||
"text": text,
|
||||
}).encode()
|
||||
|
||||
url = f"https://api.telegram.org/bot{os.environ['BOT_TOKEN']}/editMessageText"
|
||||
req = urllib.request.Request(url, data=payload)
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=30) as resp:
|
||||
print(f"Telegram callback: HTTP {resp.status}")
|
||||
except Exception as e:
|
||||
print(f"Telegram callback failed: {e}")
|
||||
PY
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Check dead game links
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 7 */2 * *' # Every 2 days at 07:00 UTC (3h after check_paid)
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
check-alive:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Check for dead links
|
||||
run: |
|
||||
chmod +x ./bash/check_alive.sh
|
||||
./bash/check_alive.sh
|
||||
shell: bash
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Check paid games
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 */2 * *' # Every 2 days at 04:00 UTC
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
check-paid:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 180 # May take long for large lists
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Check for paid games
|
||||
run: |
|
||||
chmod +x ./bash/check_paid.sh
|
||||
./bash/check_paid.sh
|
||||
shell: bash
|
||||
@@ -0,0 +1,83 @@
|
||||
# Not a deploy workflow: Cloudflare Workers Builds deploys main on its own.
|
||||
# This watches the result: every hour it finds the latest finished
|
||||
# "Workers Builds: free-games-itchio-list" check run on main
|
||||
# (bash/cf_build_status.sh) and posts a failure to Discord once per failed
|
||||
# build (a cache entry keyed on the check-run id marks it as reported, only
|
||||
# after the post succeeded). A schedule is used because GitHub never starts
|
||||
# check_run-triggered workflows for commits pushed with GITHUB_TOKEN — the
|
||||
# refresh / ingest data commits. Cloudflare's own build-failure notification is
|
||||
# the independent fallback.
|
||||
name: Cloudflare build status
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '41 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: cf-build-status
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
contents: read
|
||||
checks: read
|
||||
outputs:
|
||||
failed_id: ${{ steps.status.outputs.failed_id }}
|
||||
failed_url: ${{ steps.status.outputs.failed_url }}
|
||||
failed_sha: ${{ steps.status.outputs.failed_sha }}
|
||||
reported: ${{ steps.seen.outputs.cache-hit }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
sparse-checkout: bash
|
||||
|
||||
- name: Find the latest finished Cloudflare build
|
||||
id: status
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: bash bash/cf_build_status.sh
|
||||
|
||||
- name: Was this failure reported already?
|
||||
id: seen
|
||||
if: steps.status.outputs.failed_id != ''
|
||||
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: .cf-alert
|
||||
key: cf-alert-${{ steps.status.outputs.failed_id }}
|
||||
lookup-only: true
|
||||
|
||||
notify:
|
||||
needs: [check]
|
||||
if: needs.check.outputs.failed_id != '' && needs.check.outputs.reported != 'true'
|
||||
permissions: {}
|
||||
uses: ./.github/workflows/notify-failure.yml
|
||||
with:
|
||||
summary: >-
|
||||
The Cloudflare build of ${{ needs.check.outputs.failed_sha }} failed, so
|
||||
freeitchgames.win is not up to date: ${{ needs.check.outputs.failed_url }}
|
||||
secrets:
|
||||
DISCORD_CI_WEBHOOK: ${{ secrets.DISCORD_CI_WEBHOOK }}
|
||||
|
||||
mark-reported:
|
||||
needs: [check, notify]
|
||||
if: needs.notify.result == 'success'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 3
|
||||
permissions: {}
|
||||
steps:
|
||||
- name: Remember the reported build
|
||||
run: mkdir -p .cf-alert && date -u > .cf-alert/reported
|
||||
|
||||
- name: Save the marker
|
||||
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: .cf-alert
|
||||
key: cf-alert-${{ needs.check.outputs.failed_id }}
|
||||
@@ -1,60 +0,0 @@
|
||||
name: Deploy webapp to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'webapp/**'
|
||||
- '.github/workflows/deploy_webapp.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: pages
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
cache-dependency-path: webapp/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: webapp
|
||||
run: npm ci
|
||||
|
||||
- name: Build webapp
|
||||
working-directory: webapp
|
||||
run: npm run build
|
||||
|
||||
- name: Configure GitHub Pages
|
||||
uses: actions/configure-pages@v6
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
with:
|
||||
path: docs/app
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v5
|
||||
@@ -1,34 +1,50 @@
|
||||
# Manual re-scrape of every scraper-owned field (repairs mojibake, backfills
|
||||
# fields after a scraper upgrade). Always preserves safe_virus / notes / nsfw.
|
||||
# Queues refresh.yml in full mode: one URL, or a rotating batch of the games
|
||||
# whose last full re-scrape is oldest. Dispatch again to continue: the runs
|
||||
# wait FIFO in refresh.yml's concurrency group and each batch starts from the
|
||||
# latest main, so several dispatches in a row cover consecutive batches.
|
||||
#
|
||||
# A dispatch rather than a reusable-workflow call: called through `uses:`,
|
||||
# refresh.yml failed at startup ("workflow file issue", no annotation).
|
||||
name: Force update
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
url:
|
||||
description: 'itch.io URL to re-scrape (optional; empty = re-scrape ALL games)'
|
||||
description: 'itch.io URL to re-scrape (optional; empty = next batch of the catalog)'
|
||||
required: false
|
||||
type: string
|
||||
budget:
|
||||
description: 'Batch size when no URL is given (0 = 1/7 of the catalog)'
|
||||
type: number
|
||||
default: 0
|
||||
allow_mass_removal:
|
||||
description: 'Apply removals even if the mass-change guard trips (confirm on itch.io first)'
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
force-update:
|
||||
queue:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 180
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
actions: write # dispatch refresh.yml (a workflow_dispatch from GITHUB_TOKEN does start a run)
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Force re-scrape (preserve safe_virus / notes / nsfw)
|
||||
- name: Queue a full refresh
|
||||
env:
|
||||
INPUT_URL: ${{ inputs.url }}
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
REF: ${{ github.ref_name }}
|
||||
URL: ${{ inputs.url }}
|
||||
BUDGET: ${{ inputs.budget }}
|
||||
ALLOW_MASS_REMOVAL: ${{ inputs.allow_mass_removal }}
|
||||
run: |
|
||||
chmod +x ./bash/force_update.sh
|
||||
./bash/force_update.sh
|
||||
shell: bash
|
||||
set -euo pipefail
|
||||
gh workflow run refresh.yml --ref "$REF" \
|
||||
-f full=true -f budget="$BUDGET" -f url="$URL" -f allow_mass_removal="$ALLOW_MASS_REMOVAL"
|
||||
echo "Queued a full refresh on \`$REF\` (budget $BUDGET${URL:+, $URL}) — see the Refresh catalog runs." \
|
||||
>> "$GITHUB_STEP_SUMMARY"
|
||||
@@ -1,38 +0,0 @@
|
||||
name: Generate Table of Game
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- 'Update JSON file game information'
|
||||
- 'Check paid games'
|
||||
- 'Check dead game links'
|
||||
- 'Update reviews'
|
||||
- 'Update status'
|
||||
- 'Force update'
|
||||
types: [completed]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
if: >-
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
github.event.workflow_run.conclusion == 'success'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Generate markdown tables
|
||||
run: |
|
||||
chmod +x ./bash/table.sh
|
||||
./bash/table.sh
|
||||
shell: bash
|
||||
@@ -1,34 +0,0 @@
|
||||
name: Export deleted games log
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- 'Check paid games'
|
||||
- 'Check dead game links'
|
||||
types: [completed]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
log-deleted:
|
||||
if: >-
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
github.event.workflow_run.conclusion == 'success'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Export deleted games log
|
||||
run: |
|
||||
chmod +x ./bash/log_deleted.sh
|
||||
./bash/log_deleted.sh
|
||||
shell: bash
|
||||
@@ -1,27 +0,0 @@
|
||||
name: Notify CI Failures
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
# Listen only to data-pipeline workflows. Deploy/release/scanner notifications
|
||||
# have their own dedicated wrappers (notify-deploy, notify-release-pipeline,
|
||||
# plus CodeQL/Dependabot upstream defaults). Listing them explicitly avoids
|
||||
# the "skip storm" of no-op runs that `workflows: ["*"]` produces.
|
||||
workflows:
|
||||
- "Update JSON file game information"
|
||||
- "Generate Table of Game"
|
||||
- "Check dead game links"
|
||||
- "Check paid games"
|
||||
- "Export deleted games log"
|
||||
- "Bot Ingest"
|
||||
types: [completed]
|
||||
|
||||
# REQUIRED: declare permissions matching the reusable workflow's needs.
|
||||
# Reusable needs `actions: read` to inspect workflow_run details.
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
uses: poli0981/.github/.github/workflows/notify-ci-failure.yml@main
|
||||
secrets: inherit
|
||||
@@ -1,16 +0,0 @@
|
||||
name: Notify Deploy Status
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- "Deploy webapp to GitHub Pages"
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
uses: poli0981/.github/.github/workflows/notify-deploy.yml@main
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,41 @@
|
||||
# Reusable: post a data-pipeline problem to Discord.
|
||||
# Called from refresh.yml / update.yml when a job fails, is cancelled (job-level
|
||||
# timeouts end as "cancelled", which the old workflow_run notifier never
|
||||
# caught), when itch.io rate-limited the run or the mass-change guard tripped,
|
||||
# and from deploy-status.yml when a Cloudflare build failed.
|
||||
name: Notify pipeline failure
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
summary:
|
||||
description: Short status line (job results)
|
||||
required: true
|
||||
type: string
|
||||
secrets:
|
||||
DISCORD_CI_WEBHOOK:
|
||||
required: false
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
discord:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 3
|
||||
steps:
|
||||
- name: Post to Discord
|
||||
env:
|
||||
HOOK: ${{ secrets.DISCORD_CI_WEBHOOK }}
|
||||
WORKFLOW: ${{ github.workflow }}
|
||||
SUMMARY: ${{ inputs.summary }}
|
||||
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
RUN_NUMBER: ${{ github.run_number }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ -z "$HOOK" ]; then
|
||||
echo "::warning::DISCORD_CI_WEBHOOK is not set — nothing posted."
|
||||
exit 0
|
||||
fi
|
||||
MSG="⚠️ **${WORKFLOW}** #${RUN_NUMBER}: ${SUMMARY}"$'\n'"${RUN_URL}"
|
||||
jq -n --arg c "$MSG" '{content: $c}' \
|
||||
| curl -fsS --retry 3 -H 'Content-Type: application/json' -d @- "$HOOK"
|
||||
@@ -1,17 +1,26 @@
|
||||
name: Notify Release Pipeline
|
||||
|
||||
# The watched workflows only run on tags /
|
||||
# manual dispatch (trusted refs); this job reads run metadata, never artifacts or code.
|
||||
on:
|
||||
workflow_run:
|
||||
workflow_run: # zizmor: ignore[dangerous-triggers]
|
||||
workflows:
|
||||
- "Release desktop installers (Tauri)"
|
||||
- "Release Android APK (Tauri)"
|
||||
- "Announce Release to Discord"
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
uses: poli0981/.github/.github/workflows/notify-release-pipeline.yml@main
|
||||
secrets: inherit
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
# Pinned to a commit of poli0981/.github and only the needed secrets are
|
||||
# passed. NOTE: the pin freezes the workflow YAML only — at this commit it
|
||||
# still checks out its notifier script from poli0981/.github@main. Bump
|
||||
# the pin once that repo runs the script from the same commit.
|
||||
uses: poli0981/.github/.github/workflows/notify-release-pipeline.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a
|
||||
secrets:
|
||||
DISCORD_RELEASE_PIPELINE_WEBHOOK: ${{ secrets.DISCORD_RELEASE_PIPELINE_WEBHOOK }}
|
||||
@@ -0,0 +1,76 @@
|
||||
# Lint + tests for the data pipeline, and schema validation of the catalog.
|
||||
# Pushes by the admin Worker's GitHub App also trigger this,
|
||||
# so every externally written data change is validated.
|
||||
name: Python CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'scripts/**'
|
||||
- 'tests/**'
|
||||
- 'data_game/**'
|
||||
- 'requirements*.txt'
|
||||
- 'requirements*.in'
|
||||
- 'pyproject.toml'
|
||||
- '.github/python-version'
|
||||
- '.github/workflows/python-ci.yml'
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'scripts/**'
|
||||
- 'tests/**'
|
||||
- 'data_game/**'
|
||||
- 'requirements*.txt'
|
||||
- 'requirements*.in'
|
||||
- 'pyproject.toml'
|
||||
- '.github/python-version'
|
||||
- '.github/workflows/python-ci.yml'
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: python-ci-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
||||
with:
|
||||
# Not .python-version: Dependabot's pip updater reads that file and
|
||||
# supports Python <= 3.14 only (CLAUDE.md gotcha 39).
|
||||
python-version-file: .github/python-version
|
||||
cache: pip
|
||||
cache-dependency-path: |
|
||||
requirements.txt
|
||||
requirements-dev.txt
|
||||
|
||||
# Both hash-locked files at once: pip fails if their pins disagree.
|
||||
# Wheels only, so no package runs a build script here.
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --require-hashes --only-binary :all: -r requirements.txt -r requirements-dev.txt
|
||||
|
||||
- name: Ruff
|
||||
run: |
|
||||
ruff check scripts tests webapp/scripts
|
||||
ruff format --check scripts tests
|
||||
|
||||
- name: Vulture (dead code)
|
||||
run: vulture
|
||||
|
||||
- name: Pytest (no network)
|
||||
run: pytest
|
||||
|
||||
- name: Validate catalog data
|
||||
run: python scripts/validate.py
|
||||
@@ -0,0 +1,195 @@
|
||||
# Qodana (JetBrains) static analysis, one linter per Qodana Cloud project:
|
||||
#
|
||||
# typescript — qodana-js webapp/ https://qodana.cloud/projects/wwgZ1
|
||||
# python — qodana-python the repository root https://qodana.cloud/projects/GgGnX
|
||||
# rust — qodana-rust webapp/src-tauri/ https://qodana.cloud/projects/P2Rd7
|
||||
#
|
||||
# Each project has its own token (a repository secret) and its own settings
|
||||
# file (`qodana.yaml` in the directory above). Every run analyses the whole
|
||||
# project (`pr-mode: false`), so a pull request and `main` report the same way.
|
||||
#
|
||||
# Dependabot and fork PRs get no repository secrets: the analysis is skipped
|
||||
# there, not failed (the `tokens` job). Dependencies are installed before the
|
||||
# scan, in steps that don't see the token.
|
||||
name: Qodana
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
# Data commits (the pipeline's, the admin Worker's) and docs change no code.
|
||||
paths-ignore:
|
||||
- 'data_game/**'
|
||||
- 'scripts/temp_link.json'
|
||||
- 'scripts/deleted_games.json'
|
||||
- 'scripts/state/**'
|
||||
- '**.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'data_game/**'
|
||||
- 'scripts/temp_link.json'
|
||||
- 'scripts/deleted_games.json'
|
||||
- 'scripts/state/**'
|
||||
- '**.md'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: qodana-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
tokens:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions: {}
|
||||
outputs:
|
||||
present: ${{ steps.check.outputs.present }}
|
||||
steps:
|
||||
- name: Check for the Qodana tokens
|
||||
id: check
|
||||
env:
|
||||
TOKEN_TS_JS: ${{ secrets.QODANA_TOKEN_TS_JS }}
|
||||
TOKEN_PYTHON: ${{ secrets.QODANA_TOKEN_PYTHON }}
|
||||
TOKEN_RUST: ${{ secrets.QODANA_TOKEN_RUST }}
|
||||
run: |
|
||||
if [ -n "$TOKEN_TS_JS" ] && [ -n "$TOKEN_PYTHON" ] && [ -n "$TOKEN_RUST" ]; then
|
||||
echo "present=true" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "::notice::No Qodana tokens in this run (Dependabot or fork PR): Qodana analysis skipped."
|
||||
fi
|
||||
|
||||
typescript:
|
||||
name: TypeScript / JavaScript
|
||||
needs: tokens
|
||||
if: needs.tokens.outputs.present == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
permissions:
|
||||
contents: read
|
||||
checks: write # the action's annotations
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version-file: webapp/.node-version
|
||||
cache: npm
|
||||
cache-dependency-path: webapp/package-lock.json
|
||||
|
||||
# The linter resolves imports and types from node_modules.
|
||||
- name: Install npm dependencies
|
||||
working-directory: webapp
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Qodana scan
|
||||
uses: JetBrains/qodana-action@3e8d76ff0e0241618abd808682f426afe84bab3f # v2026.2.2
|
||||
with:
|
||||
args: --project-dir webapp --repository-root . --linter qodana-js --within-docker false
|
||||
pr-mode: false
|
||||
post-pr-comment: false
|
||||
upload-result: true
|
||||
artifact-name: qodana-report-typescript
|
||||
primary-cache-key: qodana-2026.2-js-${{ github.ref }}-${{ github.sha }}
|
||||
additional-cache-key: qodana-2026.2-js-${{ github.ref }}
|
||||
cache-default-branch-only: true
|
||||
env:
|
||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_TS_JS }}
|
||||
|
||||
python:
|
||||
name: Python
|
||||
needs: tokens
|
||||
if: needs.tokens.outputs.present == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
permissions:
|
||||
contents: read
|
||||
checks: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
||||
with:
|
||||
python-version-file: .github/python-version
|
||||
cache: pip
|
||||
cache-dependency-path: |
|
||||
requirements.txt
|
||||
requirements-dev.txt
|
||||
|
||||
# Hash-locked, wheels only (CLAUDE.md, gotcha 40). In native mode the
|
||||
# linter finds no interpreter by itself: it gets this virtual environment
|
||||
# (QODANA_PYTHON_PATH below) and resolves imports from it.
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m venv .venv
|
||||
.venv/bin/pip install --require-hashes --only-binary :all: -r requirements.txt -r requirements-dev.txt
|
||||
|
||||
- name: Qodana scan
|
||||
uses: JetBrains/qodana-action@3e8d76ff0e0241618abd808682f426afe84bab3f # v2026.2.2
|
||||
with:
|
||||
args: --linter qodana-python --within-docker false
|
||||
pr-mode: false
|
||||
post-pr-comment: false
|
||||
upload-result: true
|
||||
artifact-name: qodana-report-python
|
||||
primary-cache-key: qodana-2026.2-python-${{ github.ref }}-${{ github.sha }}
|
||||
additional-cache-key: qodana-2026.2-python-${{ github.ref }}
|
||||
cache-default-branch-only: true
|
||||
env:
|
||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_PYTHON }}
|
||||
QODANA_PYTHON_PATH: ${{ github.workspace }}/.venv/bin/python
|
||||
|
||||
rust:
|
||||
name: Rust
|
||||
needs: tokens
|
||||
if: needs.tokens.outputs.present == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
permissions:
|
||||
contents: read
|
||||
checks: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
# tauri::generate_context!() refuses to expand without the frontend
|
||||
# directory (frontendDist): an empty page stands in for the web build.
|
||||
- name: Stand-in for the web build
|
||||
run: |
|
||||
mkdir -p webapp/dist
|
||||
echo '<!doctype html><title>stand-in</title>' > webapp/dist/index.html
|
||||
|
||||
# qodana-rust ships only as a Docker image (Early Access). It runs as
|
||||
# root so that its bootstrap (webapp/src-tauri/qodana.yaml) can install
|
||||
# the C toolchain and the libraries Tauri links against; the crates go
|
||||
# to the (cached) Qodana cache directory. `cargo check` runs the build
|
||||
# scripts of the locked dependencies in that container.
|
||||
- name: Qodana scan
|
||||
uses: JetBrains/qodana-action@3e8d76ff0e0241618abd808682f426afe84bab3f # v2026.2.2
|
||||
with:
|
||||
args: --project-dir webapp/src-tauri --repository-root . --linter qodana-rust -u root -e CARGO_HOME=/data/cache/cargo
|
||||
pr-mode: false
|
||||
post-pr-comment: false
|
||||
upload-result: true
|
||||
artifact-name: qodana-report-rust
|
||||
primary-cache-key: qodana-2026.2-rust-${{ github.ref }}-${{ github.sha }}
|
||||
additional-cache-key: qodana-2026.2-rust-${{ github.ref }}
|
||||
cache-default-branch-only: true
|
||||
env:
|
||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_RUST }}
|
||||
@@ -0,0 +1,163 @@
|
||||
# Daily rotating catalog health check (replaces check_paid / check_alive /
|
||||
# update_reviews / update_status, which each crawled every page and timed out).
|
||||
#
|
||||
# scan — scripts/refresh.py checks ~1/7 of the catalog (one GET per game),
|
||||
# read-only, and uploads a patch (checkpointed, deadline-bound).
|
||||
# apply — applies the patch to the latest main and pushes (bash/commit_push.sh
|
||||
# re-applies on a fresh main if the push races another writer).
|
||||
# notify — Discord on failure / cancel / itch.io rate limit / mass change
|
||||
# (a run that would remove or strike an implausible share of games
|
||||
# — usually itch.io markup changes — withholds the removals).
|
||||
#
|
||||
# Also dispatched with `full: true` (by force_update.yml, or by hand): re-scrape
|
||||
# every scraper-owned field of one URL or of the next batch.
|
||||
name: Refresh catalog
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '47 2 * * *' # daily; GitHub may start scheduled runs hours late
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
budget:
|
||||
description: 'Games to check (0 = 1/7 of the catalog)'
|
||||
type: number
|
||||
default: 0
|
||||
url:
|
||||
description: 'Only this game URL (optional)'
|
||||
type: string
|
||||
required: false
|
||||
allow_mass_removal:
|
||||
description: 'Apply removals even if the mass-change guard trips (confirm on itch.io first)'
|
||||
type: boolean
|
||||
default: false
|
||||
full:
|
||||
description: 'Re-scrape every scraper-owned field (rotates on the last full re-scrape)'
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions: {}
|
||||
|
||||
# One refresh pipeline (scan → apply) at a time, FIFO — a scheduled refresh, a
|
||||
# manual one and a force-update batch never start from the same state (the scan
|
||||
# checks out the branch as it is when the run starts), so an older removal can't
|
||||
# undo a newer healthy check, and queued full batches move on through the catalog.
|
||||
concurrency:
|
||||
group: refresh-pipeline
|
||||
cancel-in-progress: false
|
||||
queue: max
|
||||
|
||||
env:
|
||||
PYTHONUNBUFFERED: '1'
|
||||
|
||||
jobs:
|
||||
scan:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
permissions:
|
||||
contents: read
|
||||
outputs:
|
||||
rate_limited: ${{ steps.refresh.outputs.rate_limited }}
|
||||
mass_change: ${{ steps.refresh.outputs.mass_change }}
|
||||
steps:
|
||||
# The branch's latest commit, not the one it had when the run was queued:
|
||||
# a run waiting behind another must see that run's refresh state.
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
||||
with:
|
||||
python-version-file: .github/python-version
|
||||
cache: pip
|
||||
cache-dependency-path: requirements.txt
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --require-hashes --only-binary :all: -r requirements.txt
|
||||
|
||||
- name: Check a slice of the catalog
|
||||
id: refresh
|
||||
timeout-minutes: 55
|
||||
env:
|
||||
BUDGET: ${{ inputs.budget || 0 }}
|
||||
URL: ${{ inputs.url }}
|
||||
FULL: ${{ inputs.full && 'true' || 'false' }}
|
||||
ALLOW_MASS_REMOVAL: ${{ inputs.allow_mass_removal && 'true' || 'false' }}
|
||||
run: |
|
||||
args=(--out "$RUNNER_TEMP/patch.json" --budget "$BUDGET" --deadline-min 45)
|
||||
if [ "$FULL" = "true" ]; then args+=(--full); fi
|
||||
if [ "$ALLOW_MASS_REMOVAL" = "true" ]; then args+=(--allow-mass-removal); fi
|
||||
if [ -n "$URL" ]; then args+=(--url "$URL"); fi
|
||||
python scripts/refresh.py "${args[@]}"
|
||||
|
||||
- name: Upload patch
|
||||
if: always()
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: refresh-patch
|
||||
path: ${{ runner.temp }}/patch.json
|
||||
retention-days: 7
|
||||
if-no-files-found: warn
|
||||
|
||||
apply:
|
||||
needs: scan
|
||||
# Also apply the checkpointed patch of a scan that failed or timed out
|
||||
# (a timed-out step fails, it does not cancel) — but not of a cancelled run.
|
||||
if: ${{ !cancelled() && needs.scan.result != 'skipped' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: write
|
||||
# FIFO: with the default queue a newer pending apply would replace (and
|
||||
# discard) an older pending one.
|
||||
concurrency:
|
||||
group: refresh-apply
|
||||
cancel-in-progress: false
|
||||
queue: max
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # zizmor: ignore[artipacked] — commit_push.sh pushes with this token
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
||||
with:
|
||||
python-version-file: .github/python-version
|
||||
cache: pip
|
||||
cache-dependency-path: requirements.txt
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --require-hashes --only-binary :all: -r requirements.txt
|
||||
|
||||
- name: Download patch
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: refresh-patch
|
||||
path: ${{ runner.temp }}
|
||||
|
||||
- name: Apply, validate and push
|
||||
env:
|
||||
KIND: ${{ inputs.full && 'Force update' || 'Refresh catalog' }}
|
||||
ALLOW_MASS_REMOVAL: ${{ inputs.allow_mass_removal && '1' || '0' }}
|
||||
run: bash bash/commit_push.sh "$RUNNER_TEMP/patch.json" "$KIND [$(date -u +%F)]"
|
||||
|
||||
notify:
|
||||
needs: [scan, apply]
|
||||
if: >-
|
||||
always() && (contains(needs.*.result, 'failure') ||
|
||||
contains(needs.*.result, 'cancelled') || needs.scan.outputs.rate_limited == 'true' ||
|
||||
needs.scan.outputs.mass_change == 'true')
|
||||
permissions: {}
|
||||
uses: ./.github/workflows/notify-failure.yml
|
||||
with:
|
||||
summary: >-
|
||||
scan=${{ needs.scan.result }}, apply=${{ needs.apply.result }},
|
||||
rate_limited=${{ needs.scan.outputs.rate_limited || 'false' }},
|
||||
mass_change=${{ needs.scan.outputs.mass_change || 'false' }}
|
||||
secrets:
|
||||
DISCORD_CI_WEBHOOK: ${{ secrets.DISCORD_CI_WEBHOOK }}
|
||||
@@ -0,0 +1,153 @@
|
||||
name: Release Android APK (Tauri)
|
||||
|
||||
# Builds a signed, sideloadable arm64-v8a APK from the same React + Tauri app
|
||||
# that release_desktop.yml ships for desktop.
|
||||
#
|
||||
# - On a `v*` tag: attaches the APK to the same DRAFT GitHub Release as the
|
||||
# desktop installers (nothing is published — release stays a draft until a
|
||||
# human publishes it).
|
||||
# - On manual dispatch: uploads the APK as a workflow artifact so it can be
|
||||
# downloaded and device-tested without cutting a tag.
|
||||
#
|
||||
# `src-tauri/gen/android` is gitignored and regenerated by `tauri android init`
|
||||
# on every run, so signing is done AFTER the build with zipalign + apksigner
|
||||
# (no edits to generated Gradle). Order matters: zipalign BEFORE apksigner —
|
||||
# re-aligning a signed APK breaks the signature.
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ['v*']
|
||||
workflow_dispatch:
|
||||
|
||||
# Pin the NDK so CI matches local (a floating NDK is a classic
|
||||
# "works locally, breaks in CI"). 27.3.x is the current stable LTS and is
|
||||
# installed on the dev machine; to match locally, point NDK_HOME at the same
|
||||
# version (otherwise Tauri picks the highest installed NDK).
|
||||
env:
|
||||
NDK_VERSION: '27.3.13750724'
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: release-android-${{ github.ref }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build-android:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 90
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
# No `cache: gradle` — the Gradle project lives in gen/android, which
|
||||
# is gitignored and only created later by `tauri android init`, so
|
||||
# there are no gradle files at checkout for setup-java to key on
|
||||
# (it hard-errors otherwise). Release builds use no caches at all.
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version-file: webapp/.node-version
|
||||
# No dependency cache in release builds: a poisoned cache could end
|
||||
# up inside signed installers. Releases are rare; take the extra minutes.
|
||||
package-manager-cache: false
|
||||
|
||||
- name: Set up Rust
|
||||
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
|
||||
with:
|
||||
toolchain: stable
|
||||
targets: aarch64-linux-android
|
||||
|
||||
|
||||
- name: Set up Android SDK
|
||||
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
|
||||
|
||||
- name: Install NDK + build-tools + platform
|
||||
# Tauri 2.11 generates compileSdk/targetSdk = 36, so provision android-36
|
||||
# and a matching build-tools (these versions match the dev machine).
|
||||
run: |
|
||||
sdkmanager "ndk;${NDK_VERSION}" "build-tools;36.1.0" "platforms;android-36" "platform-tools"
|
||||
echo "NDK_HOME=$ANDROID_HOME/ndk/${NDK_VERSION}" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Install npm deps
|
||||
working-directory: webapp
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Initialize Android project
|
||||
working-directory: webapp
|
||||
run: npm run tauri -- android init
|
||||
|
||||
- name: Build unsigned release APK (arm64-v8a)
|
||||
working-directory: webapp
|
||||
run: npm run tauri -- android build --apk --target aarch64
|
||||
|
||||
- name: Sign APK (zipalign -> apksigner)
|
||||
id: sign
|
||||
working-directory: webapp
|
||||
env:
|
||||
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
||||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
|
||||
ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# Highest installed build-tools (provides zipalign + apksigner).
|
||||
BT=$(ls -d "$ANDROID_HOME"/build-tools/* | sort -V | tail -1)
|
||||
VERSION=$(node -p "require('./src-tauri/tauri.conf.json').version")
|
||||
OUT="FreeGamesItchio_${VERSION}_arm64-v8a.apk"
|
||||
|
||||
echo "$ANDROID_KEYSTORE_BASE64" | base64 -d > "$RUNNER_TEMP/release.jks"
|
||||
|
||||
UNSIGNED=$(find src-tauri/gen/android/app/build/outputs/apk \
|
||||
-name "*-release-unsigned.apk" | head -1)
|
||||
if [ -z "$UNSIGNED" ]; then
|
||||
echo "::error::No *-release-unsigned.apk found — build produced no unsigned APK."
|
||||
exit 1
|
||||
fi
|
||||
echo "Unsigned APK: $UNSIGNED"
|
||||
|
||||
"$BT/zipalign" -v -p 4 "$UNSIGNED" aligned.apk
|
||||
"$BT/apksigner" sign \
|
||||
--ks "$RUNNER_TEMP/release.jks" \
|
||||
--ks-key-alias "$ANDROID_KEY_ALIAS" \
|
||||
--ks-pass "pass:$ANDROID_KEYSTORE_PASSWORD" \
|
||||
--key-pass "pass:$ANDROID_KEYSTORE_PASSWORD" \
|
||||
--out "$OUT" aligned.apk
|
||||
"$BT/apksigner" verify --verbose "$OUT"
|
||||
rm -f "$RUNNER_TEMP/release.jks" aligned.apk
|
||||
|
||||
echo "apk_path=webapp/$OUT" >> "$GITHUB_OUTPUT"
|
||||
echo "apk_name=$OUT" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Upload APK as workflow artifact
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: ${{ steps.sign.outputs.apk_name }}
|
||||
path: ${{ steps.sign.outputs.apk_path }}
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Attach APK to draft release (tag only)
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG: ${{ github.ref_name }}
|
||||
REPO: ${{ github.repository }}
|
||||
APK_PATH: ${{ steps.sign.outputs.apk_path }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# release_desktop.yml's create-release job normally made the draft
|
||||
# minutes ago; create it only as a fallback (tolerating a race).
|
||||
gh release view "$TAG" --repo "$REPO" >/dev/null 2>&1 \
|
||||
|| gh release create "$TAG" --repo "$REPO" --draft --verify-tag \
|
||||
--title "Free Itch Games $TAG" --generate-notes \
|
||||
|| gh release view "$TAG" --repo "$REPO" >/dev/null
|
||||
gh release upload "$TAG" "$APK_PATH" --repo "$REPO" --clobber
|
||||
@@ -1,14 +1,63 @@
|
||||
name: Release desktop installers (Tauri)
|
||||
|
||||
# Release process (draft-first):
|
||||
# 1. push a signed tag vX.Y.Z from main
|
||||
# 2. `create-release` makes ONE draft release (generated notes); every build
|
||||
# job — here and in release_android.yml — uploads into that draft
|
||||
# 3. check the assets, edit the notes, then publish:
|
||||
# gh release edit vX.Y.Z --draft=false
|
||||
# Publishing fires the Discord / Discussions announcements, so they only
|
||||
# go out once installers exist. Never create the release by hand first:
|
||||
# tauri-action v1 refuses to upload into a non-draft release.
|
||||
# Manual dispatch builds without a release and uploads workflow artifacts.
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ['v*']
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: release-desktop-${{ github.ref }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build-tauri:
|
||||
create-release:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
contents: write
|
||||
outputs:
|
||||
release_id: ${{ steps.draft.outputs.release_id }}
|
||||
steps:
|
||||
- name: Create (or reuse) the draft release
|
||||
id: draft
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG: ${{ github.ref_name }}
|
||||
REPO: ${{ github.repository }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
gh release view "$TAG" --repo "$REPO" >/dev/null 2>&1 \
|
||||
|| gh release create "$TAG" --repo "$REPO" --draft --verify-tag \
|
||||
--title "Free Itch Games $TAG" --generate-notes \
|
||||
|| true # release_android.yml may have created it a moment earlier
|
||||
IS_DRAFT=$(gh release view "$TAG" --repo "$REPO" --json isDraft -q .isDraft)
|
||||
if [ "$IS_DRAFT" != "true" ]; then
|
||||
echo "::error::Release $TAG is already published — tauri-action only uploads into drafts."
|
||||
exit 1
|
||||
fi
|
||||
echo "release_id=$(gh release view "$TAG" --repo "$REPO" --json databaseId -q .databaseId)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
build-tauri:
|
||||
needs: create-release
|
||||
# Tag builds need the draft; manual dispatch builds without one.
|
||||
if: ${{ !cancelled() && (needs.create-release.result == 'success' || needs.create-release.result == 'skipped') }}
|
||||
permissions:
|
||||
contents: write
|
||||
timeout-minutes: 60
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -26,6 +75,8 @@ jobs:
|
||||
tauri_target: 'x86_64-apple-darwin'
|
||||
arch_label: 'x86_64'
|
||||
args: '--target x86_64-apple-darwin'
|
||||
# Kept on 22.04 on purpose: .deb/AppImage built here run on glibc 2.35+
|
||||
# (24.04 would raise the floor to 2.39). 22.04 retires 2027-04.
|
||||
- platform: 'ubuntu-22.04'
|
||||
tauri_target: ''
|
||||
arch_label: ''
|
||||
@@ -38,25 +89,24 @@ jobs:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
cache-dependency-path: webapp/package-lock.json
|
||||
node-version-file: webapp/.node-version
|
||||
# No dependency cache in release builds: a poisoned cache could end
|
||||
# up inside signed installers. Releases are rare; take the extra minutes.
|
||||
package-manager-cache: false
|
||||
|
||||
- name: Set up Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
|
||||
with:
|
||||
toolchain: stable
|
||||
targets: ${{ matrix.tauri_target }}
|
||||
|
||||
- name: Cache cargo
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: webapp/src-tauri
|
||||
|
||||
- name: Install Linux deps
|
||||
if: matrix.platform == 'ubuntu-22.04'
|
||||
run: |
|
||||
@@ -71,18 +121,16 @@ jobs:
|
||||
|
||||
- name: Install npm deps
|
||||
working-directory: webapp
|
||||
run: npm ci
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Build Tauri app
|
||||
uses: tauri-apps/tauri-action@v0
|
||||
uses: tauri-apps/tauri-action@1deb371b0cd8bd54025b384f1cd735e725c4060f # action-v1.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
projectPath: webapp
|
||||
tagName: ${{ github.ref_name }}
|
||||
releaseName: 'Itch.io Free Games DB ${{ github.ref_name }}'
|
||||
releaseDraft: true
|
||||
prerelease: false
|
||||
releaseId: ${{ needs.create-release.outputs.release_id }}
|
||||
uploadWorkflowArtifacts: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
args: ${{ matrix.args }}
|
||||
|
||||
# Tauri's bundler doesn't ship .pkg natively, so build it ourselves with
|
||||
@@ -90,13 +138,18 @@ jobs:
|
||||
# above failed, as long as the .app bundle was produced — which it always
|
||||
# is, the failure is at the DMG packaging stage.
|
||||
- name: Build .pkg installer (macOS)
|
||||
if: always() && startsWith(matrix.platform, 'macos') && startsWith(github.ref, 'refs/tags/')
|
||||
if: ${{ !cancelled() && startsWith(matrix.platform, 'macos') && startsWith(github.ref, 'refs/tags/') }}
|
||||
shell: bash
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG: ${{ github.ref_name }}
|
||||
REPO: ${{ github.repository }}
|
||||
TAURI_TARGET: ${{ matrix.tauri_target }}
|
||||
ARCH_LABEL: ${{ matrix.arch_label }}
|
||||
run: |
|
||||
set -e
|
||||
BUNDLE_DIR="webapp/src-tauri/target/${{ matrix.tauri_target }}/release/bundle/macos"
|
||||
CONF="$GITHUB_WORKSPACE/webapp/src-tauri/tauri.conf.json"
|
||||
BUNDLE_DIR="webapp/src-tauri/target/$TAURI_TARGET/release/bundle/macos"
|
||||
if [ ! -d "$BUNDLE_DIR" ]; then
|
||||
echo "::warning::No macOS bundle directory at $BUNDLE_DIR — skipping pkgbuild."
|
||||
exit 0
|
||||
@@ -107,16 +160,16 @@ jobs:
|
||||
echo "::warning::No .app bundle found — skipping pkgbuild."
|
||||
exit 0
|
||||
fi
|
||||
VERSION=$(node -p "require('${{ github.workspace }}/webapp/src-tauri/tauri.conf.json').version")
|
||||
PKG_NAME="$(basename "$APP" .app)_${VERSION}_${{ matrix.arch_label }}.pkg"
|
||||
VERSION=$(node -p "require('$CONF').version")
|
||||
# Read the identifier from config so it never drifts from the app's
|
||||
# real bundle ID (changed to a hyphen-free, Android-valid value).
|
||||
IDENTIFIER=$(node -p "require('$CONF').identifier")
|
||||
PKG_NAME="$(basename "$APP" .app)_${VERSION}_${ARCH_LABEL}.pkg"
|
||||
pkgbuild \
|
||||
--component "$APP" \
|
||||
--identifier com.poli0981.free-games-itchio-webapp \
|
||||
--identifier "$IDENTIFIER" \
|
||||
--version "$VERSION" \
|
||||
--install-location /Applications \
|
||||
"$PKG_NAME"
|
||||
ls -la "$PKG_NAME"
|
||||
# Make sure the (draft) release exists so upload doesn't 404.
|
||||
gh release view "${{ github.ref_name }}" --repo "${{ github.repository }}" >/dev/null 2>&1 \
|
||||
|| gh release create "${{ github.ref_name }}" --repo "${{ github.repository }}" --draft --notes "Pending desktop installers."
|
||||
gh release upload "${{ github.ref_name }}" "$PKG_NAME" --repo "${{ github.repository }}" --clobber
|
||||
gh release upload "$TAG" "$PKG_NAME" --repo "$REPO" --clobber
|
||||
@@ -0,0 +1,149 @@
|
||||
# SonarQube Cloud: CI-based analysis with test coverage
|
||||
# (https://sonarcloud.io/project/overview?id=poli0981_free-games-itchio-list).
|
||||
# Automatic Analysis is switched off on sonarcloud.io — while it is on, the
|
||||
# scanner refuses to run. Settings: sonar-project.properties. The SonarQube
|
||||
# Cloud app reports each PR's quality gate as the "SonarCloud Code Analysis" check.
|
||||
#
|
||||
# token — is SONAR_TOKEN available? Dependabot and fork PRs get no
|
||||
# repository secrets: the analysis is skipped there, not failed.
|
||||
# coverage — pytest-cov and Vitest (v8) coverage reports, without the token.
|
||||
# scan — sonarqube-scan-action with those reports: the only step that
|
||||
# uses the token, in a job that runs no project or dependency code.
|
||||
name: SonarQube Cloud
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
# Data commits (the pipeline's, the admin Worker's) and docs change no code.
|
||||
paths-ignore:
|
||||
- 'data_game/**'
|
||||
- 'scripts/temp_link.json'
|
||||
- 'scripts/deleted_games.json'
|
||||
- 'scripts/state/**'
|
||||
- '**.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'data_game/**'
|
||||
- 'scripts/temp_link.json'
|
||||
- 'scripts/deleted_games.json'
|
||||
- 'scripts/state/**'
|
||||
- '**.md'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: sonarcloud-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
token:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions: {}
|
||||
outputs:
|
||||
present: ${{ steps.check.outputs.present }}
|
||||
steps:
|
||||
- name: Check for SONAR_TOKEN
|
||||
id: check
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
run: |
|
||||
if [ -n "$SONAR_TOKEN" ]; then
|
||||
echo "present=true" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "::notice::No SONAR_TOKEN in this run (Dependabot or fork PR): SonarQube Cloud analysis skipped."
|
||||
fi
|
||||
|
||||
coverage:
|
||||
needs: token
|
||||
if: needs.token.outputs.present == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
||||
with:
|
||||
python-version-file: .github/python-version
|
||||
cache: pip
|
||||
cache-dependency-path: |
|
||||
requirements.txt
|
||||
requirements-dev.txt
|
||||
|
||||
# Hash-locked, wheels only (CLAUDE.md, gotcha 40).
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
pip install --require-hashes --only-binary :all: -r requirements.txt -r requirements-dev.txt
|
||||
|
||||
- name: Pytest with coverage
|
||||
run: pytest --cov --cov-report=xml
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version-file: webapp/.node-version
|
||||
cache: npm
|
||||
cache-dependency-path: webapp/package-lock.json
|
||||
|
||||
- name: Install npm dependencies
|
||||
working-directory: webapp
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Vitest with coverage
|
||||
working-directory: webapp
|
||||
run: npm run test:coverage
|
||||
|
||||
- name: Upload coverage reports
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: coverage
|
||||
path: |
|
||||
coverage.xml
|
||||
webapp/coverage/lcov.info
|
||||
retention-days: 1
|
||||
if-no-files-found: error
|
||||
|
||||
scan:
|
||||
needs: coverage
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
# Full history: blame data, and the new-code diff of a PR.
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Download coverage reports
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: coverage
|
||||
|
||||
# The app version is the analysis version, so on main "new code" (New Code
|
||||
# definition: previous version) starts over at each version bump.
|
||||
- name: Read the app version
|
||||
id: version
|
||||
run: |
|
||||
version=$(jq -r .version webapp/package.json)
|
||||
if ! [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "::error::webapp/package.json has no x.y.z version"
|
||||
exit 1
|
||||
fi
|
||||
echo "version=$version" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: SonarQube Cloud scan
|
||||
uses: SonarSource/sonarqube-scan-action@e805d875275f728fac1885b413934be6d7c63f65 # v8.4.1
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
with:
|
||||
args: -Dsonar.projectVersion=${{ steps.version.outputs.version }}
|
||||
@@ -1,7 +1,19 @@
|
||||
name: Update JSON file game information
|
||||
# Ingest queued links from scripts/temp_link.json (written by the admin
|
||||
# Worker and its cron) plus an optional dispatched URL.
|
||||
#
|
||||
# Runs right away when temp_link.json changes on main (pushes made by GitHub
|
||||
# Apps trigger it; this workflow's own GITHUB_TOKEN push does not, so no loop),
|
||||
# and once a day as a safety net. Keep the filename: released apps and
|
||||
# external tools dispatch `update.yml` by name.
|
||||
name: Ingest queued games
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *' # Runs daily at 03:00 UTC
|
||||
- cron: '23 1 * * *'
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'scripts/temp_link.json'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
url:
|
||||
@@ -9,29 +21,59 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
permissions: {}
|
||||
|
||||
# One ingest at a time, FIFO. `queue: max` matters: with the default queue a
|
||||
# newer pending run replaces an older pending one, which would silently drop
|
||||
# that run's dispatched `url` (it is only in the run's input until the run
|
||||
# writes it to temp_link.json).
|
||||
concurrency:
|
||||
group: ingest
|
||||
cancel-in-progress: false
|
||||
queue: max
|
||||
|
||||
env:
|
||||
PYTHONUNBUFFERED: '1'
|
||||
|
||||
jobs:
|
||||
update-game-info:
|
||||
ingest:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
|
||||
timeout-minutes: 60
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # zizmor: ignore[artipacked] — commit_push.sh pushes with this token; no artifacts are uploaded from this job
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
ref: main
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
||||
with:
|
||||
python-version: 3.14
|
||||
python-version-file: .github/python-version
|
||||
cache: pip
|
||||
cache-dependency-path: requirements.txt
|
||||
|
||||
- name: Run bash script to update game info
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --require-hashes --only-binary :all: -r requirements.txt
|
||||
|
||||
- name: Scrape queued links
|
||||
timeout-minutes: 50
|
||||
env:
|
||||
INPUT_URL: ${{ inputs.url }}
|
||||
run: |
|
||||
chmod +x ./bash/test.sh
|
||||
./bash/test.sh
|
||||
shell: bash
|
||||
run: python scripts/update_info.py --out "$RUNNER_TEMP/patch.json" --deadline-min 45
|
||||
|
||||
- name: Apply, validate and push
|
||||
if: ${{ !cancelled() }}
|
||||
run: bash bash/commit_push.sh "$RUNNER_TEMP/patch.json" "Ingest queued games [$(date -u +%F)]"
|
||||
|
||||
notify:
|
||||
needs: [ingest]
|
||||
if: always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled'))
|
||||
permissions: {}
|
||||
uses: ./.github/workflows/notify-failure.yml
|
||||
with:
|
||||
summary: ingest=${{ needs.ingest.result }}
|
||||
secrets:
|
||||
DISCORD_CI_WEBHOOK: ${{ secrets.DISCORD_CI_WEBHOOK }}
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Update reviews
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5 1,15 * *' # 05:00 UTC on the 1st and 15th of each month
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update-reviews:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 180
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Refresh rating + rating_count
|
||||
run: |
|
||||
chmod +x ./bash/update_reviews.sh
|
||||
./bash/update_reviews.sh
|
||||
shell: bash
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Update status
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 6 1 * *' # 06:00 UTC on the 1st of each month
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update-status:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 180
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.14'
|
||||
|
||||
- name: Refresh status field
|
||||
run: |
|
||||
chmod +x ./bash/update_status.sh
|
||||
./bash/update_status.sh
|
||||
shell: bash
|
||||
@@ -0,0 +1,66 @@
|
||||
# Checks the web app on pull requests. Deployment is NOT done here —
|
||||
# Cloudflare Workers Builds deploys main from webapp/wrangler.jsonc.
|
||||
name: Webapp CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'webapp/**'
|
||||
- '.github/workflows/webapp-ci.yml'
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: webapp-ci-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
permissions:
|
||||
contents: read
|
||||
defaults:
|
||||
run:
|
||||
working-directory: webapp
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version-file: webapp/.node-version
|
||||
cache: npm
|
||||
cache-dependency-path: webapp/package-lock.json
|
||||
|
||||
# No install scripts: esbuild's and workerd's postinstall only check their
|
||||
# platform binary, which their launchers find without it.
|
||||
- name: Install dependencies
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
# The web build never runs `tauri build`, which refuses mismatched
|
||||
# crate / npm versions; without this a Dependabot bump on one side
|
||||
# surfaces only when the release workflows run on a tag.
|
||||
- name: Tauri crates match their npm packages
|
||||
run: npm run check:tauri
|
||||
|
||||
- name: Worker types are up to date
|
||||
run: npm run cf:types -- --check
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Unused code (knip)
|
||||
run: npm run knip
|
||||
|
||||
- name: Unit tests (Worker, app; D1 tests run a local workerd)
|
||||
run: npm test
|
||||
|
||||
- name: Type-check and build
|
||||
run: npm run build
|
||||
|
||||
- name: Validate Workers config (dry run)
|
||||
run: npm run cf:check
|
||||
+16
-2
@@ -1,9 +1,23 @@
|
||||
/docs/app/
|
||||
# Local-only files (personal contacts, QR assets)
|
||||
/username.txt
|
||||
/assets/qr/
|
||||
|
||||
# Cloudflare Wrangler local state / secrets
|
||||
.wrangler/
|
||||
.dev.vars*
|
||||
!.dev.vars.example
|
||||
.env*
|
||||
!.env.example
|
||||
|
||||
# Android signing material
|
||||
*.jks
|
||||
*.keystore
|
||||
|
||||
/webapp/node_modules/
|
||||
/webapp/dist/
|
||||
/webapp/coverage/
|
||||
/webapp/src-tauri/target/
|
||||
/webapp/src-tauri/gen/
|
||||
/webapp/src-tauri/Cargo.lock
|
||||
|
||||
.idea/*
|
||||
cmake-build-*/
|
||||
|
||||
@@ -0,0 +1,196 @@
|
||||
# Accessibility
|
||||
|
||||
Last updated: 2026-11-09
|
||||
|
||||
Applies from: the release of version 4.6.0 (the website and the desktop and Android apps).
|
||||
|
||||
This is a hobby project run by one person, poli0981 (SkullMute), called "the Maintainer" below: a catalog of free itch.io games, on the website https://freeitchgames.win and in desktop and Android apps that show the same pages. Everyone should be able to use it, whether with a keyboard alone, a screen reader, zoom, a high-contrast theme, speech input or anything else. This statement says what works, how it is checked, what doesn't work yet, and how to tell the Maintainer when something gets in your way.
|
||||
|
||||
A Vietnamese translation is available at [`docs/i18n/vi/ACCESSIBILITY.md`](docs/i18n/vi/ACCESSIBILITY.md). If the two differ, this English version prevails.
|
||||
|
||||
> **TL;DR**
|
||||
>
|
||||
> - The goal is [WCAG 2.2](https://www.w3.org/TR/WCAG22/) Level AA for the website and the apps. That is a target, not a certificate: nobody outside the project has audited it.
|
||||
> - Every page works with the keyboard alone and with a screen reader. The Maintainer tests with the keyboard only, Windows Narrator, and VoiceOver on an iPhone.
|
||||
> - Colours meet the WCAG contrast ratios in the light and dark themes, and a test checks them on every change. Windows contrast themes are supported, and the site follows your system's "reduce motion" setting.
|
||||
> - Every chart comes with a data table.
|
||||
> - Known gaps are listed in [§6](#6-known-limitations).
|
||||
> - Something in your way? Open an [accessibility issue](https://github.com/poli0981/free-games-itchio-list/issues/new?template=accessibility.yml) or email **contact@poli0981.dev**.
|
||||
|
||||
## 1. Scope
|
||||
|
||||
This statement covers:
|
||||
|
||||
- **the website** https://freeitchgames.win: every public page (Home, Games, the game pages, Charts, Removed, Suggest, Settings, About, the error pages) and the verification page shown before them;
|
||||
- **the desktop apps** (Windows, macOS, Linux) **and the Android app**, which show the same pages in the system's web view.
|
||||
|
||||
It doesn't cover:
|
||||
|
||||
- the games themselves, their itch.io pages, and what their creators wrote or made (titles, descriptions, tags, cover images);
|
||||
- Cloudflare Turnstile, the third-party check on the verification page and on the Suggest form (Cloudflare is responsible for its accessibility);
|
||||
- the Maintainer's admin page, which has one user;
|
||||
- other sites the pages link to, GitHub included.
|
||||
|
||||
## 2. Goals and priorities
|
||||
|
||||
- **Target**: [WCAG 2.2](https://www.w3.org/TR/WCAG22/) Level AA, as far as a one-person hobby project can get.
|
||||
- **First**: the main tasks with a keyboard and a screen reader: find a game, read its details, open it on itch.io, change your settings, suggest a game.
|
||||
- **Then**: readable text and controls (contrast, zoom, reflow), no motion you didn't ask for, and the right language for screen readers (English or Vietnamese).
|
||||
- **Always**: new features keep all of this working (see [§8](#8-for-contributors)).
|
||||
|
||||
## 3. What works today
|
||||
|
||||
### Moving around
|
||||
|
||||
- "Skip to content" is the first thing the Tab key reaches.
|
||||
- Each page has named landmarks (header, main navigation, search, main content, pager, footer), one level-1 heading, and its own title.
|
||||
- After you follow a link inside the site, focus moves to the new page's heading, so a screen reader announces the page and Tab continues from there. Going back returns focus to the link you used, for example the game you opened from the list.
|
||||
- The sticky header never covers what has keyboard focus.
|
||||
|
||||
### Keyboard
|
||||
|
||||
- Everything works with the keyboard alone: menus, filters, dialogs and charts.
|
||||
- Focus is always visible: a purple outline, or the system highlight in a contrast theme.
|
||||
- Dialogs keep focus inside while they are open and return it to where you were when they close.
|
||||
- "/" jumps to the search box. You can switch this shortcut off in **Settings → Accessibility**, which helps with speech input or if the key clashes with your screen reader or your browser's quick find.
|
||||
- When a control disappears after you use it (clearing a search, removing a filter), focus moves to the next sensible place instead of getting lost.
|
||||
|
||||
### Screen readers
|
||||
|
||||
- Every control has a name, in English or Vietnamese. Icons are hidden from screen readers.
|
||||
- The number of results, search suggestions, loading states and form messages are announced.
|
||||
- On wide screens the game list is a table with column headers; on phones it is a simple list.
|
||||
- Links that open a new tab (in the apps: your browser) say so.
|
||||
- Text in the other language, such as the language names and the English-only names of the legal documents, is marked with its language.
|
||||
|
||||
### Seeing the content
|
||||
|
||||
- Text and controls meet the WCAG 2.2 AA contrast ratios in both themes: 4.5:1 for text, 3:1 for field borders, the focus outline and chart colours. The test [`webapp/scripts/check-contrast.test.mjs`](webapp/scripts/check-contrast.test.mjs) checks the colours on every change.
|
||||
- Light, dark or system theme, compact or normal rows, and hidden scrollbars: all in Settings.
|
||||
- Windows contrast themes (forced colours): the selected tab, pressed toggles, the current page and switches use the system's highlight colours.
|
||||
- Zoom is never blocked. At 400 % zoom or in a 320-pixel-wide window the phone layout takes over, and the page doesn't scroll sideways.
|
||||
- Links inside sentences are underlined. Nothing is shown by colour alone: states also change the text, an outline or an underline.
|
||||
|
||||
### Motion
|
||||
|
||||
- With "reduce motion" switched on in your system, animations, chart entrances and smooth scrolling are off.
|
||||
- On the website, covers are normally shown as still images (animated covers are turned into stills).
|
||||
- Apart from loading placeholders, nothing moves on its own.
|
||||
|
||||
### Charts
|
||||
|
||||
- Each chart is named after its heading. Focus it and use the left and right arrow keys: the value you move to is read out.
|
||||
- Under every chart, **Data table** opens the same numbers as a table, with each part's share for the pie charts.
|
||||
|
||||
### Language
|
||||
|
||||
- The pages are in English or Vietnamese (Settings), and the page language follows your choice, so screen readers pick the right voice. Numbers and dates follow it too.
|
||||
|
||||
## 4. How it is tested
|
||||
|
||||
- **By the Maintainer, by hand** (November 2026): the website on Windows 11 and the Windows desktop app, with the keyboard only (mouse switched off) and Windows Narrator. No blocking problems were found.
|
||||
- **On a real phone** (November 2026, version 4.6.0): the website on an iPhone 14 Pro with VoiceOver, in Safari, Chrome and Brave. It passed.
|
||||
- **For 4.6.0**: the main pages and dialogs were walked through with the keyboard, and their accessibility tree was checked (names, roles, headings, landmarks, announcements) in English and Vietnamese, on a desktop and a phone-sized screen.
|
||||
- **Automatically, on every change**: the contrast test above and the app's unit tests (where focus goes after a page change, the chart tables).
|
||||
- **Before each release**: a short smoke test. That means a keyboard pass through the main tasks, a screen reader spot check, 200 % zoom and a narrow window, reduced motion, and a Windows contrast theme.
|
||||
- **Not yet**: automated browser scans (such as axe or Lighthouse) in CI, and testing by people who use a wide range of assistive technology every day. Help is welcome.
|
||||
|
||||
## 5. Supported environments
|
||||
|
||||
| | Versions |
|
||||
|---|---|
|
||||
| Website | Current Chrome, Edge, Firefox and Safari on computers and phones. The oldest versions the site is built for are Chrome and Edge 111, Firefox 114, and Safari and iOS 15.4. |
|
||||
| Desktop apps | Windows 10 and 11 (Microsoft Edge WebView2), macOS (WebKit 16.4 or newer), Linux (WebKitGTK 4.1) |
|
||||
| Android app | Android 11 or newer |
|
||||
|
||||
Assistive technology:
|
||||
|
||||
- **Tested**: Windows Narrator on Windows 11, VoiceOver on iOS (iPhone 14 Pro: Safari, Chrome and Brave), and keyboard-only use.
|
||||
- **Expected to work, not regularly tested**: NVDA and JAWS on Windows, VoiceOver on macOS, TalkBack on Android, browser zoom, Windows contrast themes, speech input. They rely on the same standard markup.
|
||||
- **Limited**: Orca in the Linux desktop app, because WebKitGTK supports screen readers less well than the browsers do.
|
||||
|
||||
## 6. Known limitations
|
||||
|
||||
- **Creators' text isn't marked with its language.** Game titles, descriptions and tags come from itch.io in many languages, and a screen reader reads them in the page's language.
|
||||
- **Cover images have a generic description** ("Game name cover"). What the image shows isn't described.
|
||||
- **Charts**: the arrow keys only move left and right. The genre treemap can't be stepped through, but its numbers are in its data table and in the Genres chart. Chart text has a fixed pixel size, so a larger default font size in your browser doesn't change it (page zoom does).
|
||||
- **Desktop apps**: there are no zoom keys inside the app, the window can't be maximized, and it can't be made smaller than 900 × 600. If you need larger text, use your system's display scaling or the website in a browser.
|
||||
- **Android app**: pinch-to-zoom is off. The website can be zoomed in your phone's browser.
|
||||
- **Animated covers in the apps**: the apps load covers straight from itch.io, so an animated cover keeps playing there.
|
||||
- **Cloudflare's checks**: the verification check (website only) and the anti-spam check on the Suggest form are Cloudflare Turnstile widgets. They usually pass without anything to do. If one ever asks for something you can't do, email the Maintainer.
|
||||
- **GitHub pages**: the policies, this statement and the issue forms live on GitHub, so GitHub's own accessibility applies there.
|
||||
- **No external audit**, and one maintainer.
|
||||
|
||||
## 7. Reporting an accessibility barrier
|
||||
|
||||
If something stops you or slows you down, please say so. Partial reports help too.
|
||||
|
||||
- **GitHub**: open an [Accessibility barrier issue](https://github.com/poli0981/free-games-itchio-list/issues/new?template=accessibility.yml).
|
||||
- **Email**: **contact@poli0981.dev**. No GitHub account needed; English or Vietnamese both work.
|
||||
|
||||
Details that help, as far as you're comfortable sharing them (never send health information):
|
||||
|
||||
- what you were trying to do, and what happened instead;
|
||||
- the page (its address) or the app and its version, shown on the About page;
|
||||
- your device, operating system and browser;
|
||||
- the assistive technology you use and its version, if any;
|
||||
- a screenshot or a recording, if you can.
|
||||
|
||||
How much it gets in your way:
|
||||
|
||||
| Severity | Meaning |
|
||||
|---|---|
|
||||
| Critical | You can't do a main task at all, for example open a game or read its details. |
|
||||
| Serious | You can, but only with great effort or a workaround. |
|
||||
| Moderate | It's annoying or inconsistent, but you get there. |
|
||||
| Minor | A small polish issue. |
|
||||
|
||||
What happens next. These are targets, not guarantees, since this is a solo hobby project:
|
||||
|
||||
- **Acknowledgement** within 7 days, often sooner.
|
||||
- **A fix or a workaround**: Critical within 30 days, Serious within 60 days, Moderate and Minor in a later release.
|
||||
- **Website fixes** go live when they are deployed; **app fixes** come with the next release.
|
||||
- You'll be asked whether the fix works for you, and credited in the release notes if you want.
|
||||
|
||||
Security vulnerabilities don't belong in a public issue: see [SECURITY.md](SECURITY.md).
|
||||
|
||||
## 8. For contributors
|
||||
|
||||
Changes to the interface must keep [§3](#3-what-works-today) true:
|
||||
|
||||
- **Keyboard**: every control can be reached and used, focus stays visible and never gets lost.
|
||||
- **Names**: every control has a label, with its text in both `webapp/src/lib/i18n/en.ts` and `vi.ts`.
|
||||
- **Colour**: use the theme tokens. `npm test` checks contrast (4.5:1 for text, 3:1 for borders, focus and chart colours), and colour is never the only signal.
|
||||
- **Motion**: respect `prefers-reduced-motion`; the shared CSS rule and `SERIES_ANIMATION` already do.
|
||||
- **Screen reader**: check the change once with one (Narrator, NVDA, VoiceOver or TalkBack).
|
||||
- **Markup**: prefer native elements and the Radix / shadcn components already in use, and add ARIA only when it's needed.
|
||||
|
||||
Documentation: headings in order, link text that says where it goes, alt text for images, header cells in tables, and the Vietnamese translation updated (or say in the pull request that it isn't).
|
||||
|
||||
The [pull request template](.github/pull_request_template.md) has the checklist.
|
||||
|
||||
## 9. Finding accessible games
|
||||
|
||||
The catalog shows the accessibility features that creators list on their itch.io pages, such as subtitles, configurable controls or colour-blind modes:
|
||||
|
||||
- on each game's page, under "Accessibility";
|
||||
- as the Accessibility filter on the Games page, for example https://freeitchgames.win/games?access=Subtitles;
|
||||
- in the "Accessibility Features" chart (Charts → Discovery).
|
||||
|
||||
Creators declare these features themselves, and the project doesn't verify them. If a game's information is wrong, report it with the "Bug Report" issue template.
|
||||
|
||||
## 10. References
|
||||
|
||||
- [Open Source Guides: Accessibility best practices for your project](https://opensource.guide/accessibility-best-practices-for-your-project/)
|
||||
- [Open Source Accessibility toolkit](https://github.com/open-source-accessibility/accessibility-toolkit): this statement follows the outline of its ACCESSIBILITY.md example, in its own words.
|
||||
- [Web Content Accessibility Guidelines (WCAG) 2.2](https://www.w3.org/TR/WCAG22/)
|
||||
- [W3C: Developing an accessibility statement](https://www.w3.org/WAI/planning/statements/)
|
||||
|
||||
## 11. Contact
|
||||
|
||||
- **Accessibility barriers**: the [issue form](https://github.com/poli0981/free-games-itchio-list/issues/new?template=accessibility.yml) or **contact@poli0981.dev**.
|
||||
- **Everything else**: see the addresses in [README → Legal](README.md#legal).
|
||||
|
||||
## 12. Final vibes
|
||||
|
||||
One person, one catalog, every way of browsing it. If something here doesn't work the way you use the web, the Maintainer would really like to hear it — that's how this list gets better. 🚀
|
||||
+65
-550
@@ -1,552 +1,67 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented here.
|
||||
|
||||
## [3.7.0] - 2026-06-14 (Legal-acceptance gates + per-tab chart lazy-loading)
|
||||
|
||||
### Added
|
||||
|
||||
- **First-launch legal-acceptance gate** — on first visit (and in every fresh
|
||||
incognito session, since `localStorage` starts empty there) the app shows a
|
||||
full-screen, non-dismissible gate before the main UI. It links the License,
|
||||
EULA, Privacy Policy, Disclaimer, Terms of Use, Code of Conduct, and Security
|
||||
Policy (reusing `LEGAL_LINKS`), and requires ticking a checkbox to continue.
|
||||
New component [`webapp/src/components/legal-gate.tsx`](webapp/src/components/legal-gate.tsx),
|
||||
built on raw Radix Dialog primitives (focus-trapped, no close-X, Esc /
|
||||
outside-click disabled). Acceptance persists as `acceptedLegalVersion` in the
|
||||
existing `webapp.prefs` localStorage blob — **no cookie** (consistent with the
|
||||
"no cookies" privacy stance). A `LEGAL_VERSION` constant
|
||||
([`webapp/src/stores/prefs.ts`](webapp/src/stores/prefs.ts)) lets a future
|
||||
policy edit re-prompt every user with a one-line bump.
|
||||
- **Windows installer EULA page** — the Tauri NSIS `.exe` now shows an
|
||||
"I Agree" license step before installing, wired via
|
||||
`bundle.windows.nsis.license` →
|
||||
[`webapp/src-tauri/installer/EULA.txt`](webapp/src-tauri/installer/EULA.txt)
|
||||
(plain text so NSIS renders it cleanly). The in-app gate above covers
|
||||
first-run consent on macOS / Linux, whose installers have no equivalent step.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Charts route split into four lazy per-tab chunks**
|
||||
([`webapp/src/components/charts/tabs/`](webapp/src/components/charts/tabs)).
|
||||
Each tab imports its chart components directly (the `charts/index.ts` barrel
|
||||
was removed so the bundler keeps each tab's components in its own chunk).
|
||||
Result: only the default **Overview** tab's components load when `/charts`
|
||||
opens; the Reach / Quality / Discovery component code downloads on first
|
||||
click. Recharts itself (the ~380 KB `vendor-charts` chunk) still loads with
|
||||
Overview — unavoidable since the default tab renders charts — but it was
|
||||
already deferred to the lazy `/charts` route, so it never touches app startup.
|
||||
- `about.ts` version → 3.7.0 (also busts the IndexedDB catalog cache, harmless);
|
||||
Claude Code co-author credit updated to Opus 4.8.
|
||||
|
||||
### Notes
|
||||
|
||||
- Images, routes, and OpenPGP were already lazy-loaded; this release closes the
|
||||
remaining gap (charts). No Tauri version bump (`tauri.conf.json` stays
|
||||
`0.1.1`) — the NSIS license is a bundler-config addition, not a binary change.
|
||||
|
||||
## [3.6.1] - 2026-06-12 (Hotfix — desktop build vs broken `time` 0.3.48)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **v3.6.0's desktop installers never built**: `time` 0.3.48 (released
|
||||
2026-06-12, hours before the v3.6.0 tag) fails to compile inside
|
||||
`tauri-utils` with `E0119: conflicting implementations of trait From<…>`
|
||||
([time-rs/time#783](https://github.com/time-rs/time/issues/783)). Since no
|
||||
`Cargo.lock` is committed, CI resolved the broken release fresh.
|
||||
`webapp/src-tauri/Cargo.toml` now pins `time = "=0.3.47"` (the version every
|
||||
release through v3.5.2 built with) — remove the pin once the upstream fix
|
||||
ships.
|
||||
|
||||
### Notes
|
||||
|
||||
- Web feature set is identical to v3.6.0; this tag exists to produce the
|
||||
desktop installers. `about.ts` version bump also busts the new IndexedDB
|
||||
catalog cache, which is harmless.
|
||||
- No Tauri version bump (`Cargo.toml` / `tauri.conf.json` stay `0.1.1`) — a
|
||||
dependency pin to the previously-resolved version changes no binary
|
||||
behavior.
|
||||
|
||||
## [3.6.0] - 2026-06-12 (i18n EN/VI + offline cache + custom error pages)
|
||||
|
||||
### Added
|
||||
|
||||
- **Bilingual UI (English / Tiếng Việt)** — a minimal typed i18n layer
|
||||
([`webapp/src/lib/i18n/`](webapp/src/lib/i18n)) with ~340 keys covering every
|
||||
route, dialog, chart, and toast. The Vietnamese dictionary is a **lazy-loaded
|
||||
chunk**: it is only downloaded the first time the language is switched to VI
|
||||
(or on startup when VI is the persisted preference). Switcher lives in
|
||||
Settings → Appearance; the preference persists in `webapp.prefs`.
|
||||
- **Offline-first catalog cache** — the react-query cache for the public
|
||||
catalog queries (`db`, `deleted`, `count-history`) now persists to
|
||||
**IndexedDB** (`@tanstack/react-query-persist-client` +
|
||||
`@tanstack/query-async-storage-persister` + `idb-keyval`). Revisits paint
|
||||
instantly from cache (~2 MB of JSON no longer re-downloaded cold) and
|
||||
revalidate in the background. Cache busts automatically on each release
|
||||
(`buster = APP.version`, `maxAge` 7 days). PAT-gated data is never persisted.
|
||||
- **Custom error pages** — a status-aware
|
||||
[`ErrorPage`](webapp/src/components/error-page.tsx) (400, 401, 403, 404, 408,
|
||||
419, 429, 500, 502, 503, 504, offline, unknown) wired into every route's
|
||||
error branch with the *real* HTTP status (`fetchRaw` now throws a typed
|
||||
`HttpError`), plus:
|
||||
- a route-level **ErrorBoundary** that detects stale-chunk failures after a
|
||||
redeploy and offers a one-click reload ("New version available"),
|
||||
- a hidden `/#/errors/:code` preview route,
|
||||
- a static [`webapp/public/404.html`](webapp/public/404.html) served by
|
||||
GitHub Pages for bad path URLs (bilingual, dark-mode aware, zero JS).
|
||||
|
||||
### Changed
|
||||
|
||||
- `ReactQueryDevtools` is now explicitly gated behind `import.meta.env.DEV`.
|
||||
- Game thumbnails render through a shared
|
||||
[`GameThumb`](webapp/src/components/game-thumb.tsx) that falls back to the
|
||||
muted placeholder when a cover 404s; the Settings avatar is now lazy-loaded.
|
||||
- `idb-keyval` returns (removed as unused in v3.5.2 — it has a real consumer
|
||||
now); `THIRD_PARTY` in `about.ts` lists the three new data-layer deps.
|
||||
|
||||
### Notes
|
||||
|
||||
- The About page's legal/credits data intentionally stays English (controlling
|
||||
language for legal interpretation); Vietnamese policy docs remain under
|
||||
[`docs/i18n/vi/`](docs/i18n/vi).
|
||||
- No Tauri / Rust binary boundary change — `Cargo.toml` / `tauri.conf.json`
|
||||
stay at `0.1.1`.
|
||||
|
||||
## [3.5.2] - 2026-05-23 (Dead-code cleanup — knip + vulture)
|
||||
|
||||
### Added
|
||||
|
||||
- **knip** (v6) wired into the webapp as the unused-files / exports /
|
||||
dependencies detector — config in [`webapp/knip.json`](webapp/knip.json),
|
||||
run via `cd webapp && npm run knip`.
|
||||
- **vulture** configured for the Python pipeline (`[tool.vulture]` in
|
||||
[`pyproject.toml`](pyproject.toml)) — it catches dead functions, classes, and
|
||||
attributes that ruff's `F` rules don't.
|
||||
- **[`docs/THIRD_PARTY.md`](docs/THIRD_PARTY.md)** — a new doc attributing the
|
||||
dev-only tooling (knip, vulture, ruff, ESLint, TypeScript), cross-linked from
|
||||
[`docs/ACKNOWLEDGEMENTS.md`](docs/ACKNOWLEDGEMENTS.md).
|
||||
|
||||
### Removed
|
||||
|
||||
- **8 unused webapp dependencies**: `react-hook-form`, `@hookform/resolvers`,
|
||||
`zod`, `idb-keyval`, `@radix-ui/react-dropdown-menu`,
|
||||
`@radix-ui/react-tooltip`, `@tauri-apps/plugin-http`, `@tauri-apps/api`.
|
||||
- **The unwired Tauri Phase-8b scrape-preview scaffold** —
|
||||
`webapp/src/lib/tauri-scrape.ts` and `getRuntimeInfo` / `RuntimeInfo` in
|
||||
[`runtime.ts`](webapp/src/lib/runtime.ts). It was documented but never wired
|
||||
into any UI; [`webapp/TAURI.md`](webapp/TAURI.md) was trimmed to match.
|
||||
- **~20 unused webapp exports / types** — dead helpers (`findChunkFor`,
|
||||
`indexByUrl`, `rawUrl`, `useIndex`, `isIdleExpired`, …), the unused
|
||||
`EDITABLE_FIELDS` / `READONLY_FIELDS` constants, and 7 unused shadcn/ui
|
||||
primitive exports. Exports used only inside their own module were demoted
|
||||
from `export` rather than deleted.
|
||||
|
||||
### Changed
|
||||
|
||||
- `webapp/src/lib/about.ts` `THIRD_PARTY` array trimmed to match the removed
|
||||
dependencies.
|
||||
|
||||
### Notes
|
||||
|
||||
- DX / code-quality only — no runtime behaviour change. `isIdleExpired` was
|
||||
already dead (nothing called it), so PAT idle auto-lock is unchanged — still
|
||||
not enforced.
|
||||
- No Tauri / Rust binary boundary change — `Cargo.toml` and `tauri.conf.json`
|
||||
stay at `0.1.1`. The Rust `tauri-plugin-http` crate is now unreferenced from
|
||||
the front-end — a candidate for a future Rust-side cleanup.
|
||||
- knip + vulture join `npm run lint`, `ruff check`, and `npm audit` as the
|
||||
standing pre-release QA pass.
|
||||
|
||||
## [3.5.1] - 2026-05-20 (Lint cleanup — zero ESLint problems)
|
||||
|
||||
### Changed
|
||||
|
||||
- **`npm run lint` now runs clean — 0 errors, 0 warnings** (down from 17 errors + 5 warnings, all pre-existing; v3.5.0 added none).
|
||||
- [`webapp/eslint.config.js`](webapp/eslint.config.js): `react-refresh/only-export-components` is turned off for `src/components/ui/**` — the vendored shadcn primitives intentionally mix component and variant/constant exports and cannot satisfy the rule without forking upstream. The rule stays on for all other app code.
|
||||
- `react-hooks/incompatible-library` is turned off — it only flagged TanStack Table's `useReactTable`, whose API is not React-Compiler-memoizable by design (not actionable).
|
||||
- **`SortableHeader` extracted** into its own [`webapp/src/components/data-table/sortable-header.tsx`](webapp/src/components/data-table/sortable-header.tsx); [`columns.tsx`](webapp/src/components/data-table/columns.tsx) is now a pure column-definition module.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **`react-hooks/exhaustive-deps`** in [`routes/games.tsx`](webapp/src/routes/games.tsx) and [`data-table/faceted-filter.tsx`](webapp/src/components/data-table/faceted-filter.tsx): values built with `?? []` created a fresh array every render, defeating the `useMemo`s that depended on them. `data` is now wrapped in `useMemo`; the faceted-filter `selected` memo was restructured to depend on a stable value.
|
||||
|
||||
### Notes
|
||||
|
||||
- DX / code-quality only — no runtime behaviour change. No Tauri / Rust binary change (`Cargo.toml` / `tauri.conf.json` stay `0.1.1`); no `THIRD_PARTY` change.
|
||||
|
||||
---
|
||||
|
||||
## [3.5.0] - 2026-05-20 (Charts expansion + game-count history + pipeline cleanup)
|
||||
|
||||
### Added
|
||||
|
||||
- **Six new charts on `/charts`.**
|
||||
- **Game count over time** — a `LineChart` of the catalog size by day, backed by a new `data_game/count_history.json` (date-keyed `{date, total}` series). [`scripts/data_store.py`](scripts/data_store.py) `_append_count_history()` upserts today's total on every catalog write (last-write-wins per UTC day). [`scripts/backfill_count_history.py`](scripts/backfill_count_history.py) is a one-time dev tool that reconstructs the series from git history (`data_game/index.json`, plus the pre-refactor `scripts/game_info.json`). The webapp loads it via `loadCountHistory` / `useCountHistory`.
|
||||
- **Genre treemap** — a Recharts `Treemap` with a custom cell renderer that hides labels on rectangles too small to fit them, so it stays legible on mobile.
|
||||
- **KPI summary cards** — total games / online / NSFW / deleted / average rating, above the Overview grid.
|
||||
- **Deletions over time** (bar, by month), **Deletion reasons** (pie: became-paid vs page-removed), and **Most rated games** (top 10 by `rating_count`).
|
||||
- **Scroll-to-top button** — a floating bottom-right button that appears after scrolling the main pane. New [`webapp/src/components/scroll-to-top.tsx`](webapp/src/components/scroll-to-top.tsx).
|
||||
- **Python linting** — `ruff` config in a new root `pyproject.toml`; run `ruff check scripts/`.
|
||||
|
||||
### Changed
|
||||
|
||||
- **`charts.tsx` split into a module.** The monolith is now a `webapp/src/components/charts/` folder — one file per chart, a shared `chart-card.tsx` (`ChartCard` + `PALETTE`), and an `index.ts` barrel. 16 charts across the 4 tabs.
|
||||
- **`scripts/json_io.py`** — new shared module. `load_json` / `save_json` (previously copy-pasted into both `check_alive.py` and `check_paid.py`) live here now, alongside `dedup_deleted`.
|
||||
- README + README.vi badges bumped to `3.5.0`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **The deleted-games log can no longer accumulate duplicate URLs.** `check_alive.py` and `check_paid.py` appended to `scripts/deleted_games.json` with no guard — a game removed, re-added by the scraper, then removed again would be logged twice. The new `dedup_deleted()` (keyed by URL, keeping the earliest `deleted_at`) runs on every write and inside `log_deleted.py`. Two genuinely different games that share a title but have different urls are kept separate.
|
||||
|
||||
### Notes
|
||||
|
||||
- No Tauri / Rust binary boundary change — `Cargo.toml` and `tauri.conf.json` stay at `0.1.1`, no `THIRD_PARTY` entries change (Recharts already shipped; `Treemap` / `LineChart` need no new dependency).
|
||||
- `data_game/count_history.json` is auto-committed by the scrape workflows — the bash wrappers already `git add data_game/` wholesale, so no workflow changes were needed.
|
||||
- The dead-code sweep found the project already tidy (TS strict mode + ESLint catch unused webapp code). `webapp/src/lib/tauri-scrape.ts` `tauriScrapePreview` was reviewed and intentionally kept as a Phase-8b stub.
|
||||
|
||||
---
|
||||
|
||||
## [3.4.1] - 2026-05-17 (Hotfix: DataTable column alignment + Discussion-announce auto-discovery)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **DataTable columns misaligned at desktop widths.** Header used native table-layout (`<table className="w-full">` + `<th style={{width}}>`) while body rows used flex layout (`position: absolute` + `flex w-full`, cells with `flex: 0 0 Npx` / `1 1 0`). Native table-layout stretched the 8 size-less columns to fill the container based on content, but the absolutely-positioned body `<tr>` never participated in table layout — so its flex children stayed at their fixed flex-basis. Result: at the Tauri default 1280×800 window (and any viewport wider than the natural sum of header content widths) header columns drifted off the cells below them. [`webapp/src/components/data-table/data-table.tsx`](webapp/src/components/data-table/data-table.tsx) now renders the header `<tr>` with `flex w-full` and each `<th>` with `flex h-10 items-center` + the same `flex: 0 0 Npx` / `1 1 0` style block as the body `<td>` — header and body now compute width identically. Helper `priorityHeaderClass` (which emitted `table-cell` variants) is gone; the existing `priorityClass` (`flex` variants) now drives both. No change to column definitions in [`columns.tsx`](webapp/src/components/data-table/columns.tsx).
|
||||
- **`announce-discussion.yml` was a silent no-op since v3.2.0.** Both jobs (`announce-release`, `announce-docs`) gated on three repo variables (`DISCUSSION_REPO_ID`, `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID`, `DISCUSSION_GENERAL_CATEGORY_ID`) that had never been configured — the validation step printed `::warning::… Skipping.` and `exit 0`, so every release silently failed to post to Discussions without surfacing a failed run. Replaced the two validation steps with a `Discover Discussion IDs` step that queries `gh api graphql` for `repository.id` and looks up the category by slug (`announcements` / `general`). Zero config now — works on any repo with Discussions enabled. Fails loudly with a clear `::error::` message if Discussions isn't enabled or the expected category is missing. Dropped the dependency on `vars.DISCUSSION_*` and removed every `if: steps.validate.outputs.ids_ok == 'true'` gate.
|
||||
|
||||
### Changed
|
||||
|
||||
- **README + README.vi badges** bumped to `3.4.1`.
|
||||
|
||||
### Notes
|
||||
|
||||
- This is a webapp + CI hotfix. No Python pipeline changes, no Tauri / Rust binary boundary change — `Cargo.toml` and `tauri.conf.json` stay at `0.1.1`, no THIRD_PARTY entries change.
|
||||
- The leftover `DISCUSSION_REPO_ID` / `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID` / `DISCUSSION_GENERAL_CATEGORY_ID` repo variables (if you set them earlier) are now unused and can be removed from Settings → Variables.
|
||||
|
||||
---
|
||||
|
||||
## [3.4.0] - 2026-05-16 (Periodic refresh workflows + UTF-8 round-trip fix)
|
||||
|
||||
### Added
|
||||
|
||||
- **Update reviews — bi-weekly workflow.** New [`scripts/update_reviews.py`](scripts/update_reviews.py), wrapper [`bash/update_reviews.sh`](bash/update_reviews.sh), and [`.github/workflows/update_reviews.yml`](.github/workflows/update_reviews.yml) re-scrape every existing game's itch.io page on the 1st and 15th of each month (05:00 UTC) and write fresh `rating` + `rating_count`. Network errors / 404 keep the old values. Touches only those two fields — everything else (annotations, metadata) is left alone.
|
||||
- **Update status — monthly workflow.** New [`scripts/update_status.py`](scripts/update_status.py), [`bash/update_status.sh`](bash/update_status.sh), and [`.github/workflows/update_status.yml`](.github/workflows/update_status.yml) refresh the `status` field on the 1st of each month (06:00 UTC). Same skip-on-error semantics.
|
||||
- **Force update — manual emergency button.** New [`scripts/force_update.py`](scripts/force_update.py), [`bash/force_update.sh`](bash/force_update.sh), and [`.github/workflows/force_update.yml`](.github/workflows/force_update.yml) accept an optional `url` input. Empty input re-scrapes every game; a single URL targets just that one. `workflow_dispatch` only — no schedule. Every run preserves the three user-editable annotations (`safe_virus`, `notes`, `nsfw`) per the read/write field convention in [CLAUDE.md](CLAUDE.md). Doubles as the canonical repair tool for mojibake left by older webapp commits — re-scrape pulls clean UTF-8 from itch.io.
|
||||
- **`generate_table.yml` chained on the three new workflows** so `lists/*.md` stay in sync after any data mutation.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **UTF-8 mojibake on webapp commits.** [`webapp/src/lib/github/contents.ts`](webapp/src/lib/github/contents.ts) `readFileWithSha` and [`webapp/src/lib/github/git-data.ts`](webapp/src/lib/github/git-data.ts) `bulkDeleteGames` were decoding GitHub's base64 content with `atob` alone, producing a Latin-1 binary string. Multi-byte UTF-8 sequences (e.g. Vietnamese `ã` = `0xC3 0xA3`) became two Latin-1 code points (`ã`); the next write re-encoded them as UTF-8 bytes, double-corrupting on every edit. Confirmed live damage in `data_game/game_info_002.json` (`BotÃÂão Esquerdo` was originally `Botão Esquerdo`). Extracted a shared helper [`webapp/src/lib/github/encoding.ts`](webapp/src/lib/github/encoding.ts) (`base64ToUtf8` / `utf8ToBase64`) that uses `TextDecoder('utf-8')` / `TextEncoder` and routes both call sites through it. Write path was already correct.
|
||||
|
||||
### Notes
|
||||
|
||||
- **Repair existing mojibake**: after this release deploys, run `Force update` once via `workflow_dispatch` with no input. It re-scrapes every game (~15–25 min) and writes back clean UTF-8 while preserving manual annotations. `generate_table.yml` will then auto-regenerate the markdown lists.
|
||||
- **Browser cache**: anyone editing via the webapp should hard-refresh once after the new build lands so they're not using the pre-fix bundle (which would continue to mangle non-Latin chars on the next edit).
|
||||
- **README + README.vi badges** bumped to `3.4.0`. No Tauri / Rust binary change — `Cargo.toml` and `tauri.conf.json` stay at `0.1.1`.
|
||||
|
||||
---
|
||||
|
||||
## [3.3.0] - 2026-05-16 (Mobile polish + Settings + in-browser GPG commit signing)
|
||||
|
||||
### Added
|
||||
|
||||
- **In-browser GPG commit signing.** Every write the webapp makes (single-file edits, bulk edit/delete, queueing URLs) can now be GPG-signed client-side. New `webapp/src/lib/gpg/` module: [`canonicalize.ts`](webapp/src/lib/gpg/canonicalize.ts) builds the exact byte string Git would hash, [`sign.ts`](webapp/src/lib/gpg/sign.ts) lazy-imports `openpgp` and exposes `loadPrivateKey` / `signCommit` / `verifyDetached`, [`storage.ts`](webapp/src/lib/gpg/storage.ts) wraps localStorage helpers. Verified byte-for-byte against `git cat-file commit <sha>` so the signed canonical exactly matches what GitHub will recompute (no trailing-newline drift). Private keys are decrypted once at import and re-encrypted with the webapp passphrase (AES-GCM, same scheme as the PAT) — `openpgp` is loaded only when the Commit Signing card is opened or a commit is being signed (`vendor-openpgp` chunk, ~129 KB gz, lazy).
|
||||
- **Settings → Commit signing card.** New [`webapp/src/components/settings/gpg-card.tsx`](webapp/src/components/settings/gpg-card.tsx) — three states (not configured / locked / unlocked) with Import (paste armored or upload `.asc`), Unlock, Test sign (round-trip verify), Copy public key, Lock, Remove. Shows the imported key's UIDs as badges and flags a clear mismatch warning if the configured commit-author email isn't in the key's UID list (the most common cause of GitHub's "Someone may be trying to trick you" warning). After import, primary UID email auto-populates Commit author so commits Verify on the first try.
|
||||
- **Settings Phase A — Appearance / Session / Commit author / Notifications cards.** [`webapp/src/routes/settings.tsx`](webapp/src/routes/settings.tsx) gained four new cards backed by extended preferences in [`webapp/src/stores/prefs.ts`](webapp/src/stores/prefs.ts): theme picker (Light / Dark / System), layout density (Normal / Compact), sidebar collapse mirror, idle-timeout slider (5 / 15 / 30 / 60 / 120 min — replaces the hard-coded 30-min constant in [`auth.ts`](webapp/src/stores/auth.ts)), commit-author name/email override, toast enable + duration. Density applies via `html[data-density='compact']` rules in [`index.css`](webapp/src/index.css); toasts are gated through a new [`AppToaster`](webapp/src/components/app-toaster.tsx) wrapper that reads prefs.
|
||||
- **Mobile card view for the games table.** New [`webapp/src/lib/use-is-mobile.ts`](webapp/src/lib/use-is-mobile.ts) (`matchMedia('(max-width: 767px)')`) and [`webapp/src/components/data-table/mobile-card-list.tsx`](webapp/src/components/data-table/mobile-card-list.tsx). Below the `md` breakpoint, [`DataTable`](webapp/src/components/data-table/data-table.tsx) renders a stacked card list (thumbnail + name + dev + genre/status/NSFW/safe badges, tap-to-detail, selection checkbox) instead of the 9-column virtualized table that overflowed at 430 px. Pagination is shared between both views.
|
||||
- **Workflows route mobile fallback.** [`workflows.tsx`](webapp/src/routes/workflows.tsx) now dual-renders the action picker — a `<Select>` dropdown below `md`, the existing `TabsList` at `md` and above. Fixes the overflow from five `whitespace-nowrap` triggers in an `inline-flex` TabsList at 430 px viewport.
|
||||
|
||||
### Changed
|
||||
|
||||
- **All write paths route through the Git Data API.** [`webapp/src/lib/github/contents.ts`](webapp/src/lib/github/contents.ts) `putFile` (`PUT /repos/.../contents/{path}`) is gone — that endpoint authors commits as the PAT and never accepts a `signature` field. Replaced with `commitSingleFile` which delegates to [`atomicCommit`](webapp/src/lib/github/git-data.ts) so single-file edits (game annotations, `temp_link.json` queue) get the same signer plumbing as bulk operations. `atomicCommit` gained an optional `signer` parameter (defaulting to [`getSignerIfEnabled()`](webapp/src/lib/github/signer.ts)) that, when present, builds the canonical commit object, signs detached binary-mode via openpgp, and passes `author` / `committer` / `signature` to `git.createCommit`. Commit author identity falls back through prefs override → imported key's primary UID email → GitHub user.
|
||||
- **About page** lists `OpenPGP.js` 6.3 under Data dependencies; the [`webapp/vite.config.ts`](webapp/vite.config.ts) `manualChunks` rule emits a dedicated `vendor-openpgp` chunk so the cost is only paid when a user opens the signing card.
|
||||
- **README + README.vi badges** bumped to `3.3.0`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Workflows `/workflows` tabs no longer overflow on mobile.** Pre-fix: five `whitespace-nowrap` triggers in an `inline-flex` TabsList blew past a 430 px viewport.
|
||||
- **DataTable no longer overflows on mobile.** Pre-fix: nine fixed-width columns minus three responsive-hidden ones still exceeded 430 px.
|
||||
|
||||
---
|
||||
|
||||
## [3.2.1] - 2026-05-11 (Hotfix: single-instance enforcement on desktop)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Desktop app spawned a new process on every launch.** Each double-click of the installed app added another `free-games-itchio-webapp.exe` (Windows) / equivalent on macOS+Linux to the task list instead of focusing the existing window. Added [`tauri-plugin-single-instance`](https://tauri.app/plugin/single-instance/) v2 in [`webapp/src-tauri/src/lib.rs`](webapp/src-tauri/src/lib.rs) — second launch now unminimizes + focuses the running window and exits its own process before creating a duplicate. Plugin registered first in the builder chain per Tauri 2 docs so duplicate processes die before initializing HTTP/opener plugins. Gated by `#[cfg(desktop)]` + matching `cfg(not(android, ios))` in [`Cargo.toml`](webapp/src-tauri/Cargo.toml). Desktop binary boundary change → bumped [`Cargo.toml`](webapp/src-tauri/Cargo.toml) and [`tauri.conf.json`](webapp/src-tauri/tauri.conf.json) from `0.1.0` to `0.1.1` (first time these have moved since v3.0.0).
|
||||
|
||||
### Changed
|
||||
|
||||
- **README + README.vi badges** bumped to `3.2.1`.
|
||||
- **About page** lists `tauri-plugin-single-instance` v2 under Desktop dependencies.
|
||||
|
||||
---
|
||||
|
||||
## [3.2.0] - 2026-05-10 (CI cleanup + mobile + SEO + Telegram bot path + auto-discussion)
|
||||
|
||||
### Added
|
||||
|
||||
- **Mobile drawer navigation.** New [`webapp/src/components/ui/sheet.tsx`](webapp/src/components/ui/sheet.tsx) (shadcn pattern over the existing `@radix-ui/react-dialog`) and a `MobileTopBar` in [`webapp/src/components/sidebar.tsx`](webapp/src/components/sidebar.tsx). Below `md`, the sidebar collapses behind a hamburger; above, the desktop sidebar behaves as before. Touch targets in the nav now meet the 44pt iOS HIG minimum on small screens.
|
||||
- **DataTable column priorities.** Each column declares `meta.priority: 1 | 2 | 3` in [`columns.tsx`](webapp/src/components/data-table/columns.tsx). [`data-table.tsx`](webapp/src/components/data-table/data-table.tsx) hides priority 2 below `md` and priority 3 below `lg`, so the table is usable on a phone without horizontal scrolling through every column.
|
||||
- **PWA manifest + icons.** [`webapp/public/manifest.webmanifest`](webapp/public/manifest.webmanifest), [`icon-192.png`](webapp/public/icon-192.png), [`icon-512.png`](webapp/public/icon-512.png) — Add to Home Screen on iOS without a service worker. Generator script: [`webapp/scripts/gen_assets.py`](webapp/scripts/gen_assets.py).
|
||||
- **SEO infrastructure.** [`webapp/index.html`](webapp/index.html) now ships description, theme-color (per scheme), Open Graph (title/description/image/url/type/locale), Twitter card (`summary_large_image`), `canonical`, `apple-touch-icon`, `manifest`, and `preconnect` to `img.itch.zone` + `raw.githubusercontent.com`. [`robots.txt`](webapp/public/robots.txt) and [`sitemap.xml`](webapp/public/sitemap.xml) added under `webapp/public/`.
|
||||
- **OG image.** [`webapp/public/og.png`](webapp/public/og.png) (1200×630) + [`og.webp`](webapp/public/og.webp) generated by `gen_assets.py`. Brand-coloured (`#863bff` purple, cyan accent) with project name, tagline, and URL.
|
||||
- **Per-route titles.** New [`useDocumentTitle`](webapp/src/hooks/useDocumentTitle.ts) hook (no `react-helmet-async` dependency). Each route now sets a contextual title (`Charts — Itch.io Free Games Database`, etc.); game-detail uses the game name.
|
||||
- **Hash-anchor scroll.** [`App.tsx`](webapp/src/App.tsx) now wires a `ScrollToHash` listener so links like `/about#support` scroll to the matching element under HashRouter.
|
||||
- **About page Telegram entries.** New `messaging` social group with **Telegram (DM)** and **Telegram bot (game submission)** plus a privacy reminder to never paste a numeric ID into public channels. About also surfaces all five FUNDING.yml destinations (GitHub Sponsors, Patreon, Ko-fi, Buy Me a Coffee, PayPal) with a footnote on PayPal explaining the legal-name receipt.
|
||||
- **Sidebar Support link.** Persistent heart-icon link from the sidebar (collapsed and expanded) to `/about#support`.
|
||||
- **Telegram bot contribution flow.** [`CONTRIBUTING.md §1b`](CONTRIBUTING.md#1b-add-games-via-telegram-bot-my_skull_bot--alternative-to-issues) describes the bot path (DM owner → numeric ID added to local whitelist → bot dispatches `bot-ingest.yml`). Cross-linked from [README.md](README.md), [README.vi.md](README.vi.md), and the new [issue template `game_via_bot.yml`](.github/ISSUE_TEMPLATE/game_via_bot.yml). Vietnamese mirror in [`docs/i18n/vi/CONTRIBUTING.md`](docs/i18n/vi/CONTRIBUTING.md).
|
||||
- **Privacy + ToS clauses for the bot path.** [`docs/ToS.md §14`](docs/ToS.md) and [`docs/PrivacyPolicy.md §15`](docs/PrivacyPolicy.md) (plus VI mirrors) document Telegram-ID handling: opt-in, operator-side whitelist only, never committed to this repo, removable on DM.
|
||||
- **`docs/pc_spec.md` + `docs/dev_env.md` (EN + VI).** Maintainer hardware spec, mobile test devices (iPhone 14 Pro / 13 Pro Max, iOS 26.x on Chrome + Brave), and dev-env toolchain (Python 3.12, Node ≥ 22, Rust stable, JetBrains 2026.x). Cross-linked from README and CONTRIBUTING.
|
||||
- **Auto-create GitHub Discussion workflow.** [`announce-discussion.yml`](.github/workflows/announce-discussion.yml) — on `release: published` posts to the **Announcements** category; on push to `docs/**` / `CHANGELOG.md` / `README*.md` posts to **General**, gated by `[skip-discuss]` in the head-commit message and a quiet skip on `bot-ingest:` commits. Uses `gh api graphql` directly (no third-party action). Setup: configure repo variables `DISCUSSION_REPO_ID`, `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID`, `DISCUSSION_GENERAL_CATEGORY_ID` (run the GraphQL pre-flight query in the workflow header to fetch them).
|
||||
|
||||
### Changed
|
||||
|
||||
- **CI notify wrappers.** [`notify-ci-failure.yml`](.github/workflows/notify-ci-failure.yml), [`notify-deploy.yml`](.github/workflows/notify-deploy.yml), and [`notify-release-pipeline.yml`](.github/workflows/notify-release-pipeline.yml) replace `workflows: ["*"]` with explicit allowlists. Every workflow run no longer fans out to all three wrappers; the Actions tab is much quieter and the per-event reusable filtering is what it always should have been.
|
||||
- **`bot-ingest.yml` cleanup.** Removed a dead final step that referenced a non-existent `${{ secrets.BOT_TOKEN }}` and a `result.txt` file. The Python `success`/`failure` Telegram callback steps above already handle both outcomes.
|
||||
- **Image hints.** Game thumbnails in [`columns.tsx`](webapp/src/components/data-table/columns.tsx) and the hero in [`game-detail.tsx`](webapp/src/routes/game-detail.tsx) now declare `width`/`height` (CLS), `decoding="async"`, and `fetchPriority` (high for hero, low for table rows). itch.io thumbnails remain external — full WebP recompression is intentionally deferred (would require an image proxy).
|
||||
- **About support card** mirrors `.github/FUNDING.yml` exactly: 5 entries (GitHub Sponsors, Patreon, Ko-fi, BMC, PayPal).
|
||||
- **README + README.vi badges** bumped to `3.2.0`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Bot ingest workflow** had a broken final telegram callback step (wrong secret name + missing input file). Removed; the working callback steps above are unaffected.
|
||||
|
||||
### Setup notes for maintainers (one-time, post-merge)
|
||||
|
||||
To enable the auto-discussion workflow, run once:
|
||||
|
||||
```sh
|
||||
gh api graphql -f query='query{repository(owner:"poli0981",name:"free-games-itchio-list"){
|
||||
id
|
||||
discussionCategories(first:20){nodes{id slug name}}
|
||||
}}'
|
||||
```
|
||||
|
||||
Then in repo Settings → Secrets and variables → Actions → Variables, add:
|
||||
|
||||
- `DISCUSSION_REPO_ID` — the `repository.id` from the response.
|
||||
- `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID` — the `id` of the Announcements category.
|
||||
- `DISCUSSION_GENERAL_CATEGORY_ID` — the `id` of the General category.
|
||||
|
||||
Without these set, the workflow runs but no-ops with a warning (safe default).
|
||||
|
||||
---
|
||||
|
||||
## [3.1.4] - 2026-05-05 (Legal docs rewrite + Vietnamese i18n + Legal Card + UI polish)
|
||||
|
||||
### Added
|
||||
- **Vietnamese translations** under [`docs/i18n/vi/`](docs/i18n/vi/) — full
|
||||
translations of the four legal docs (DISCLAIMER, EULA, ToS, PrivacyPolicy)
|
||||
plus CONTRIBUTING, CODE_OF_CONDUCT, and SECURITY. Each file notes that the
|
||||
English version is the controlling text for legal interpretation.
|
||||
- **`README.vi.md`** at repo root — Vietnamese mirror of the main README, with a
|
||||
language badge and a link back to the English version.
|
||||
- **About page → "Legal & policies" Card** — single place to access all policy
|
||||
files (Disclaimer, EULA, ToS, Privacy, Code of Conduct, Security, License,
|
||||
Changelog) plus a pointer to the Vietnamese translations.
|
||||
- **`webapp/src/lib/about.ts`**: `LegalLink` interface + `LEGAL_LINKS` array +
|
||||
`LEGAL_VI_INDEX_URL`. Same structured pattern as `THIRD_PARTY` and
|
||||
`SOCIAL_LINKS`.
|
||||
|
||||
### Changed
|
||||
- **`docs/DISCLAIMER.md`, `docs/EULA.md`, `docs/ToS.md`, `docs/PrivacyPolicy.md`**:
|
||||
rewritten to be tighter and more enforceable while keeping the project's voice.
|
||||
Each doc now has a TL;DR, numbered sections, definitions, severability,
|
||||
governing law (Socialist Republic of Vietnam), explicit "not legal advice"
|
||||
notice, and a removal-request path. Privacy Policy adds a per-storage table
|
||||
for what the webapp persists locally and a step-by-step PAT lifecycle.
|
||||
- **`README.md`** version badge → 3.1.4 plus a Vietnamese language badge and a
|
||||
short pointer to `README.vi.md` and `docs/i18n/vi/`.
|
||||
|
||||
### Optional UI
|
||||
- **Tauri desktop**: maximize button is now disabled (`maximizable: false` in
|
||||
`webapp/src-tauri/tauri.conf.json`). Window is still resizable; only the
|
||||
full-window-maximize action is locked.
|
||||
- **DataTable**: scrollbar hidden via a new `.scrollbar-hide` Tailwind utility
|
||||
added to `webapp/src/index.css`. Scrolling still works; the chrome is gone.
|
||||
|
||||
---
|
||||
|
||||
## [3.1.3] - 2026-05-05 (Credit Claude Code as AI co-author)
|
||||
|
||||
### Added
|
||||
- **About page**: new **"AI co-authors"** Card listing both Grok (xAI) and
|
||||
Claude Code (Anthropic — Claude Opus 4.7, 1M context) with their roles
|
||||
in the repo's history. Each entry is linked + tagged with vendor and model.
|
||||
- `webapp/src/lib/about.ts`: new `AiTool` interface + `AI_TOOLS` array so the
|
||||
AI credit data is structured the same way as `THIRD_PARTY` and `SOCIAL_LINKS`.
|
||||
|
||||
### Changed
|
||||
- **`docs/ACKNOWLEDGEMENTS.md`, `docs/My_Stuff.md`, `CONTRIBUTING.md`**:
|
||||
surface Claude Code alongside Grok wherever the existing AI credit lived.
|
||||
Grok references stay — both buddies share the workload now (Grok carried the
|
||||
Python pipeline + v2.0.0 rewrite; Claude Code drove v3.0.0 webapp/Tauri and
|
||||
v3.1.2). `My_Stuff.md` "The Real MVP" is now plural.
|
||||
- `DEV.blurb` on the About page reflects the two-buddy reality.
|
||||
|
||||
---
|
||||
|
||||
## [3.1.2] - 2026-05-05 (Offline link fix + About expansion + docs sweep)
|
||||
|
||||
### Fixed
|
||||
- **Tauri desktop**: external links (itch.io, GitHub, third-party home pages) now
|
||||
open in the user's default browser instead of doing nothing. Added
|
||||
`tauri-plugin-opener` (Rust + JS) and a scoped `opener:allow-open-url`
|
||||
capability locked to `https://*` (no `file://` / `javascript:` schemes).
|
||||
|
||||
### Added
|
||||
- **About page**: three new sections — Developer card, "Found a bug?" CTA that
|
||||
opens the bug-report issue template, and "Find me elsewhere" with X, YouTube,
|
||||
two Discord servers (Repo discussion / Game chat), Patreon, Ko-fi, Steam,
|
||||
Bluesky, and Mastodon.
|
||||
- **`<ExtLink>`** ([`webapp/src/components/ext-link.tsx`](webapp/src/components/ext-link.tsx))
|
||||
— runtime-aware external-link wrapper used app-wide so the offline link bug
|
||||
can't recur. On web it renders a plain `<a target="_blank">`; on Tauri it
|
||||
routes through `tauri-plugin-opener`. All existing external `<a>` tags in
|
||||
About, the sidebar footer, and Game Detail now use it.
|
||||
|
||||
### Changed
|
||||
- **`webapp/README.md`**: rewritten from Vite boilerplate to actual webapp docs
|
||||
(routes, dev/build commands, code-split layout, deploy, Tauri reference).
|
||||
- **`CONTRIBUTING.md`, `docs/ACKNOWLEDGEMENTS.md`, `docs/My_Stuff.md`,
|
||||
`README.md`**: refreshed contact / social handles. The "if I ever make a
|
||||
Discord" line is finally obsolete — both servers exist.
|
||||
|
||||
---
|
||||
|
||||
## [3.0.0] - 2026-05-04 (Webapp + Desktop 🖥️📊)
|
||||
|
||||
A React + TypeScript SPA on top of the same JSON catalog, plus a Tauri 2 desktop wrapper.
|
||||
The Python pipeline from 2.0.0 is untouched and still drives the daily data updates.
|
||||
|
||||
### Added (Webapp)
|
||||
- **`webapp/`** — Vite + React 19 + TypeScript 6 + Tailwind v3 + shadcn/ui (Radix primitives).
|
||||
Code-split, ~163 KB gzip initial load. Reads from `raw.githubusercontent.com` (public, no auth);
|
||||
writes use a fine-grained GitHub PAT held only in memory after passphrase unlock.
|
||||
- **8 routes**: Dashboard (KPIs), Games (virtualized DataTable + faceted filters), Game Detail
|
||||
(23-field read view + edit form for `safe_virus` / `notes` / `nsfw`), Add (single URL +
|
||||
bulk), Charts (9 Recharts visualizations in 4 tabs), Workflows (run history + Dispatch),
|
||||
Deleted (tombstone log), Settings (PAT + theme), About (license attribution).
|
||||
- **PAT encryption** — AES-GCM 256-bit, PBKDF2-SHA256 (100k iterations) with per-token salt.
|
||||
Encrypted blob in localStorage; decrypted token in memory only.
|
||||
- **Atomic bulk operations** — Bulk edit / delete via GitHub Git Data API (single commit for N
|
||||
files), 20-entry undo stack with one-click revert.
|
||||
- **Workflow dispatch from UI** — Add a single URL or queue a bulk batch directly to
|
||||
`update.yml` via `workflow_dispatch`. Polls run status every 5 s and refreshes the table on
|
||||
completion.
|
||||
- **Sync button + manual refresh** — invalidate all data queries on demand; spinner reflects
|
||||
in-flight state.
|
||||
- **Collapsible sidebar** with rail mode (240 px ↔ 56 px).
|
||||
- **Dark / Light / System theme** with `prefers-color-scheme` listener.
|
||||
- **About page** — third-party license attribution by category, app version + build date.
|
||||
|
||||
### Added (Desktop wrapper)
|
||||
- **`webapp/src-tauri/`** — Tauri 2 scaffold (Rust + WebView). Same React build, ~10 MB
|
||||
installer.
|
||||
- **`tauri-plugin-http`** scoped to `*.itch.io`, `img.itch.zone`, `api.github.com`,
|
||||
`raw.githubusercontent.com`. Lets the desktop bypass CORS for direct itch.io previews.
|
||||
- **`webapp/TAURI.md`** — local prerequisites (rustup + platform deps), dev/build commands,
|
||||
roadmap to a full Rust scrape (Phase 8b).
|
||||
|
||||
### Added (CI)
|
||||
- **`.github/workflows/deploy_webapp.yml`** — build `webapp/` and publish `docs/app/` to
|
||||
GitHub Pages on push to `main` that touches `webapp/`. One-time setup: repo Settings →
|
||||
Pages → Source = "GitHub Actions".
|
||||
- **`.github/workflows/release_desktop.yml`** — multi-platform Tauri build via
|
||||
`tauri-apps/tauri-action` on tag `v*`. Uploads `.msi` / `.dmg` / `.AppImage` to a draft
|
||||
GitHub Release.
|
||||
|
||||
### Changed (Python pipeline)
|
||||
- **`scripts/update_info.py`** now reads an optional `INPUT_URL` env var (forwarded by
|
||||
`update.yml` from `workflow_dispatch.inputs.url`) and appends it to the queue. Backwards
|
||||
compatible: the daily cron still processes `temp_link.json` exactly as before.
|
||||
- **`.github/workflows/update.yml`** gains `workflow_dispatch.inputs.url` so the webapp can
|
||||
trigger a single-URL scrape.
|
||||
|
||||
---
|
||||
|
||||
## [2.0.0] - 2026-03-26 (Major Rewrite 🔧⭐)
|
||||
|
||||
### Rewritten
|
||||
- **`scraper.py`** — new shared module extracted from `update_info.py`. All scraping logic, session management, rate-limiting, and parsing utilities live here. Used by every script that touches itch.io.
|
||||
- **`update_info.py`** — fully rewritten. Uses `scraper.py` module, `requests.Session` with automatic retry (backoff on 429/5xx), and random delays between requests.
|
||||
- **`generate_md.py`** — fully rewritten with pipe-character escaping and all new data fields.
|
||||
|
||||
### Added
|
||||
- **Free game detection** — `update_info.py` now checks if a game is free before scraping. Paid games are skipped automatically. Detection logic parses `div.buy_row` for price tags and button text.
|
||||
- **`check_paid.py`** — new script. Re-checks every game in the list to see if it became paid. Paid games are removed and logged to `deleted_games.json` with reason and timestamp.
|
||||
- **`check_alive.py`** — new script. Verifies that all game URLs still exist. Pages returning 404 or 410 are removed and logged. Transient errors (403, 5xx, timeouts) are kept.
|
||||
- **`log_deleted.py`** — new script. Converts `deleted_games.json` → `deleted_games.txt` (human-readable log sorted by date).
|
||||
- **`deleted_games.json`** — structured log of all removed games with URL, name, reason, and deletion timestamp.
|
||||
- **New data fields** scraped from itch.io info table: `status`, `platforms`, `publisher`, `release_date`, `made_with`, `rating`, `rating_count`, `average_session`, `languages`, `inputs`. All fields default to `N/A` when not found.
|
||||
- **Author/Authors handling** — scraper now checks both `Author` and `Authors` keys (itch.io uses either depending on the page).
|
||||
- **Release date parsing** — extracted from `<abbr title="...">` for full datetime instead of abbreviated text.
|
||||
- **NSFW detection** expanded — now also checks game description text and adds `sexual` keyword.
|
||||
|
||||
### Added (GitHub Actions)
|
||||
- **`check_paid.yml`** — runs every 2 days at 04:00 UTC. Removes games that became paid.
|
||||
- **`check_alive.yml`** — runs every 2 days at 07:00 UTC (staggered 3h after check_paid). Removes dead links.
|
||||
- **`log_deleted.yml`** — runs after check_paid or check_alive completes. Exports deletion log.
|
||||
- **`generate_table.yml`** — now triggers after update, check_paid, and check_alive workflows (not just update).
|
||||
- **`update_csv.yml`** — now triggers after table generation (chained workflow).
|
||||
|
||||
### Improved
|
||||
- **Rate limiting** — random delays (2.5–5s between requests, 15–30s batch pause every 20 requests) to avoid itch.io IP bans. Lighter delays (1–2.5s) for HEAD/status checks.
|
||||
- **Retry logic** — `requests.Session` with `HTTPAdapter` + `Retry` (3 attempts, exponential backoff 2→4→8s) on 429/500/502/503/504.
|
||||
- **Network error safety** — games are never deleted on transient network failures. Only confirmed 404/410 or confirmed paid status triggers removal.
|
||||
- **Markdown table integrity** — pipe characters (`|`) in game data are escaped to prevent table breakage.
|
||||
- **All fields use `N/A` consistently** — replaced mixed `""`, `"Unknown"`, `"No description"` with uniform `N/A` fallback.
|
||||
|
||||
### Changed
|
||||
- Markdown table columns expanded: added Genre, Tags, Status, Platforms, Publisher, Release Date, Made With, Rating, Session, Languages, Inputs.
|
||||
- README rewritten with updated architecture diagram, project structure, field documentation.
|
||||
- Workflow action versions updated to `actions/checkout@v6` and `actions/setup-python@v6` with Python 3.14.
|
||||
|
||||
---
|
||||
|
||||
## [1.0.5] - 2026-01-12 (Hotfix 🔧)
|
||||
### Fixed
|
||||
- UTF-8 decode issue when running `scripts/update_info.py`. See [#16](https://github.com/poli0981/free-games-itchio-list/issues/16).
|
||||
|
||||
## [1.0.4] - 2026-01-11 (Added Games + New Features ⭐)
|
||||
|
||||
### Added Games
|
||||
Added 33 games. See [#22](https://github.com/poli0981/free-games-itchio-list/issues/22) and [#23](https://github.com/poli0981/free-games-itchio-list/issues/23).
|
||||
|
||||
### New Features
|
||||
- Delete game with correct link in [`delete_game.py`](/scripts/delete_game.py). See [#20](https://github.com/poli0981/free-games-itchio-list/issues/20).
|
||||
- Export JSON → `.csv`/`.xlsx` in [`export_csv.py`](/scripts/export_csv.py). See [#21](https://github.com/poli0981/free-games-itchio-list/issues/21).
|
||||
- Check duplicate data in JSON file in [`check_duplicate.py`](/scripts/check_duplicate.py). See [#19](https://github.com/poli0981/free-games-itchio-list/issues/19).
|
||||
|
||||
## [1.0.3] - Date unknown (Improvements ⚙️)
|
||||
|
||||
### Improved
|
||||
- Optimized workflow scheduling.
|
||||
|
||||
## [1.0.2] - Date unknown (Hotfix 🔧)
|
||||
|
||||
### Fixed
|
||||
- `temp_link.json` not resetting to `[]` after GitHub Actions run.
|
||||
|
||||
## [1.0.1] - 2025-12-31 (Hotfix 🔧)
|
||||
|
||||
### Fixed
|
||||
- Rewrote and added 2 issue templates.
|
||||
- Updated [CONTRIBUTING](CONTRIBUTING.md).
|
||||
|
||||
## [1.0.0] - 2025-12-28 (Initial Release 🚀)
|
||||
|
||||
### Added
|
||||
- Full curated list of free itch.io games with auto-daily updates via GitHub Actions.
|
||||
- Scraping script ([`update_info.py`](scripts/update_info.py)): add links → scrape title, dev, genre, description, NSFW flag, thumbnail.
|
||||
- MD table generator ([`generate_md.py`](scripts/generate_md.py)): split by genre, 300 max per file, in `/lists/`.
|
||||
- Columns: No | Thumb | Name | Dev | Short Desc | Link | Safe | Notes | NSFW.
|
||||
- [`temp_link.json`](/scripts/temp_link.json) for easy manual adds (Actions process daily).
|
||||
- Full docs: [DISCLAIMER](/docs/DISCLAIMER.md), [PRIVACY](/docs/PrivacyPolicy.md), [TERMS](/docs/ToS.md), [EULA](/docs/EULA.md), [SECURITY](SECURITY.md), [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md), [CONTRIBUTING](CONTRIBUTING.md), [ACKNOWLEDGEMENTS](/docs/ACKNOWLEDGEMENTS.md).
|
||||
- Issue and PR templates for bugs, features, and game submissions.
|
||||
- Badges, TOC, and example table in [README](README.md).
|
||||
|
||||
### Fixed
|
||||
- Multiple scrape bugs (itch.io HTML structure changes).
|
||||
- Description length overflow → truncated to first sentence + "(see more on itch.io)".
|
||||
- Table numbering resets per file, primary genre used for grouping.
|
||||
All notable changes to this project, newest first. The notes of each release live in
|
||||
[`changelog/`](changelog/), one file per minor version: `changelog/<major>.x/ver<major>.<minor>.x.md`.
|
||||
|
||||
**Latest release: [4.6.2](changelog/4.x/ver4.6.x.md#462---2026-11-16-dependency-updates) (2026-11-16) — Dependency updates.**
|
||||
|
||||
## 4.x
|
||||
|
||||
| Version | Date | Highlights |
|
||||
|---|---|---|
|
||||
| [4.6.2](changelog/4.x/ver4.6.x.md#462---2026-11-16-dependency-updates) | 2026-11-16 | Dependency updates (wry 0.57.2: app crash fixes) |
|
||||
| [4.6.1](changelog/4.x/ver4.6.x.md#461---2026-11-11-stable-maintenance-mode) | 2026-11-11 | Stable: maintenance mode (data-only issues and PRs), Qodana code analysis |
|
||||
| [4.6.0](changelog/4.x/ver4.6.x.md#460---2026-11-09-accessibility) | 2026-11-09 | Accessibility: statement, keyboard and screen-reader fixes, chart data tables, WCAG contrast |
|
||||
| [4.5.0](changelog/4.x/ver4.5.x.md#450---2026-10-27-rate-limits-for-the-whole-site) | 2026-10-27 | Rate limits for the whole site (HTTP 429), WAF guide |
|
||||
| [4.4.3](changelog/4.x/ver4.4.x.md#443---2026-10-26-dependency-and-security-updates) | 2026-10-26 | Dependency and security updates (build-tool advisories closed) |
|
||||
| [4.4.2](changelog/4.x/ver4.4.x.md#442---2026-10-22-toolchain-upgrade-code-scan-fixes) | 2026-10-22 | Toolchain upgrade (TypeScript 7, Node 26, Python 3.15), code-scan fixes |
|
||||
| [4.4.1](changelog/4.x/ver4.4.x.md#441---2026-10-16-extension-and-bot-retired) | 2026-10-16 | Extension and bot retired (archived repos), ingest API removed |
|
||||
| [4.4.0](changelog/4.x/ver4.4.x.md#440---2026-10-13-admin-automation-bulk-actions-smoother-charts) | 2026-10-13 | Admin automation, bulk actions, smoother charts |
|
||||
| [4.3.0](changelog/4.x/ver4.3.x.md#430---2026-10-10-ai-disclosure-accessibility-refreshed-catalog) | 2026-10-10 | AI disclosure, accessibility, refreshed catalog |
|
||||
| [4.2.0](changelog/4.x/ver4.2.x.md#420---2026-10-03-compact-catalog-data-themed-scrollbars) | 2026-10-03 | Compact catalog data, themed scrollbars |
|
||||
| [4.1.1](changelog/4.x/ver4.1.x.md#411---2026-09-29-new-contact-addresses) | 2026-09-29 | New contact addresses (@poli0981.dev) |
|
||||
| [4.1.0](changelog/4.x/ver4.1.x.md#410---2026-09-24-verification-check-readable-charts-changelog-folder) | 2026-09-24 | Verification check, readable charts, changelog folder |
|
||||
| <a name="400---2026-09-18-freeitchgameswin-on-cloudflare-read-only-site-review-queue-new-design"></a>[4.0.0](changelog/4.x/ver4.0.x.md#400---2026-09-18-freeitchgameswin-on-cloudflare-read-only-site-review-queue-new-design) | 2026-09-18 | freeitchgames.win on Cloudflare: read-only site, review queue, new design |
|
||||
|
||||
## 3.x
|
||||
|
||||
| Version | Date | Highlights |
|
||||
|---|---|---|
|
||||
| <a name="390---2026-06-15-android-minsdk--11--api-30"></a>[3.9.0](changelog/3.x/ver3.9.x.md#390---2026-06-15-android-minsdk--11--api-30) | 2026-06-15 | Android minSdk → 11 / API 30 |
|
||||
| <a name="380---2026-06-15-android-apk-target-"></a>[3.8.0](changelog/3.x/ver3.8.x.md#380---2026-06-15-android-apk-target-) | 2026-06-15 | Android APK target 📱 |
|
||||
| <a name="371---2026-06-14-hotfix--desktop-build-vs-invalid-tauri-nsis-license-key"></a>[3.7.1](changelog/3.x/ver3.7.x.md#371---2026-06-14-hotfix--desktop-build-vs-invalid-tauri-nsis-license-key) | 2026-06-14 | Hotfix — desktop build vs invalid Tauri NSIS license key |
|
||||
| <a name="370---2026-06-14-legal-acceptance-gates--per-tab-chart-lazy-loading"></a>[3.7.0](changelog/3.x/ver3.7.x.md#370---2026-06-14-legal-acceptance-gates--per-tab-chart-lazy-loading) | 2026-06-14 | Legal-acceptance gates + per-tab chart lazy-loading |
|
||||
| <a name="361---2026-06-12-hotfix--desktop-build-vs-broken-time-0348"></a>[3.6.1](changelog/3.x/ver3.6.x.md#361---2026-06-12-hotfix--desktop-build-vs-broken-time-0348) | 2026-06-12 | Hotfix — desktop build vs broken `time` 0.3.48 |
|
||||
| <a name="360---2026-06-12-i18n-envi--offline-cache--custom-error-pages"></a>[3.6.0](changelog/3.x/ver3.6.x.md#360---2026-06-12-i18n-envi--offline-cache--custom-error-pages) | 2026-06-12 | i18n EN/VI + offline cache + custom error pages |
|
||||
| <a name="352---2026-05-23-dead-code-cleanup--knip--vulture"></a>[3.5.2](changelog/3.x/ver3.5.x.md#352---2026-05-23-dead-code-cleanup--knip--vulture) | 2026-05-23 | Dead-code cleanup — knip + vulture |
|
||||
| <a name="351---2026-05-20-lint-cleanup--zero-eslint-problems"></a>[3.5.1](changelog/3.x/ver3.5.x.md#351---2026-05-20-lint-cleanup--zero-eslint-problems) | 2026-05-20 | Lint cleanup — zero ESLint problems |
|
||||
| <a name="350---2026-05-20-charts-expansion--game-count-history--pipeline-cleanup"></a>[3.5.0](changelog/3.x/ver3.5.x.md#350---2026-05-20-charts-expansion--game-count-history--pipeline-cleanup) | 2026-05-20 | Charts expansion + game-count history + pipeline cleanup |
|
||||
| <a name="341---2026-05-17-hotfix-datatable-column-alignment--discussion-announce-auto-discovery"></a>[3.4.1](changelog/3.x/ver3.4.x.md#341---2026-05-17-hotfix-datatable-column-alignment--discussion-announce-auto-discovery) | 2026-05-17 | Hotfix: DataTable column alignment + Discussion-announce auto-discovery |
|
||||
| <a name="340---2026-05-16-periodic-refresh-workflows--utf-8-round-trip-fix"></a>[3.4.0](changelog/3.x/ver3.4.x.md#340---2026-05-16-periodic-refresh-workflows--utf-8-round-trip-fix) | 2026-05-16 | Periodic refresh workflows + UTF-8 round-trip fix |
|
||||
| <a name="330---2026-05-16-mobile-polish--settings--in-browser-gpg-commit-signing"></a>[3.3.0](changelog/3.x/ver3.3.x.md#330---2026-05-16-mobile-polish--settings--in-browser-gpg-commit-signing) | 2026-05-16 | Mobile polish + Settings + in-browser GPG commit signing |
|
||||
| <a name="321---2026-05-11-hotfix-single-instance-enforcement-on-desktop"></a>[3.2.1](changelog/3.x/ver3.2.x.md#321---2026-05-11-hotfix-single-instance-enforcement-on-desktop) | 2026-05-11 | Hotfix: single-instance enforcement on desktop |
|
||||
| <a name="320---2026-05-10-ci-cleanup--mobile--seo--telegram-bot-path--auto-discussion"></a>[3.2.0](changelog/3.x/ver3.2.x.md#320---2026-05-10-ci-cleanup--mobile--seo--telegram-bot-path--auto-discussion) | 2026-05-10 | CI cleanup + mobile + SEO + Telegram bot path + auto-discussion |
|
||||
| <a name="314---2026-05-05-legal-docs-rewrite--vietnamese-i18n--legal-card--ui-polish"></a>[3.1.4](changelog/3.x/ver3.1.x.md#314---2026-05-05-legal-docs-rewrite--vietnamese-i18n--legal-card--ui-polish) | 2026-05-05 | Legal docs rewrite + Vietnamese i18n + Legal Card + UI polish |
|
||||
| <a name="313---2026-05-05-credit-claude-code-as-ai-co-author"></a>[3.1.3](changelog/3.x/ver3.1.x.md#313---2026-05-05-credit-claude-code-as-ai-co-author) | 2026-05-05 | Credit Claude Code as AI co-author |
|
||||
| <a name="312---2026-05-05-offline-link-fix--about-expansion--docs-sweep"></a>[3.1.2](changelog/3.x/ver3.1.x.md#312---2026-05-05-offline-link-fix--about-expansion--docs-sweep) | 2026-05-05 | Offline link fix + About expansion + docs sweep |
|
||||
| [3.1.1](changelog/3.x/ver3.1.x.md#311---2026-05-04-cross-compile-macos-x86_64-from-apple-silicon) | 2026-05-04 | Cross-compile macOS x86_64 from Apple Silicon |
|
||||
| [3.1.0](changelog/3.x/ver3.1.x.md#310---2026-05-04-macos-dmg-fix--pkg-installer--pagination) | 2026-05-04 | macOS DMG fix + .pkg installer + pagination |
|
||||
| [3.0.1](changelog/3.x/ver3.0.x.md#301---2026-05-04-tauri-icons--fine-grained-pat-fix) | 2026-05-04 | Tauri icons + fine-grained PAT fix |
|
||||
| <a name="300---2026-05-04-webapp--desktop-️"></a>[3.0.0](changelog/3.x/ver3.0.x.md#300---2026-05-04-webapp--desktop-️) | 2026-05-04 | Webapp + Desktop 🖥️📊 |
|
||||
|
||||
## 2.x
|
||||
|
||||
| Version | Date | Highlights |
|
||||
|---|---|---|
|
||||
| <a name="200---2026-03-26-major-rewrite-"></a>[2.0.0](changelog/2.x/ver2.0.x.md#200---2026-03-26-major-rewrite-) | 2026-03-26 | Major Rewrite 🔧⭐ |
|
||||
|
||||
## 1.x
|
||||
|
||||
| Version | Date | Highlights |
|
||||
|---|---|---|
|
||||
| <a name="105---2026-01-12-hotfix-"></a>[1.0.5](changelog/1.x/ver1.0.x.md#105---2026-01-12-hotfix-) | 2026-01-12 | Hotfix 🔧 |
|
||||
| <a name="104---2026-01-11-added-games--new-features-"></a>[1.0.4](changelog/1.x/ver1.0.x.md#104---2026-01-11-added-games--new-features-) | 2026-01-11 | Added Games + New Features ⭐ |
|
||||
| <a name="103---date-unknown-improvements-️"></a>[1.0.3](changelog/1.x/ver1.0.x.md#103---2026-01-01-improvements-️) | 2026-01-01 | Improvements ⚙️ |
|
||||
| <a name="102---date-unknown-hotfix-"></a>[1.0.2](changelog/1.x/ver1.0.x.md#102---2026-01-01-hotfix-) | 2026-01-01 | Hotfix 🔧 |
|
||||
| <a name="101---2025-12-31-hotfix-"></a>[1.0.1](changelog/1.x/ver1.0.x.md#101---2025-12-31-hotfix-) | 2025-12-31 | Hotfix 🔧 |
|
||||
| <a name="100---2025-12-28-initial-release-"></a>[1.0.0](changelog/1.x/ver1.0.x.md#100---2025-12-28-initial-release-) | 2025-12-28 | Initial Release 🚀 |
|
||||
@@ -4,69 +4,94 @@ Quick context so future Claude sessions don't have to re-derive it.
|
||||
|
||||
## What this repo is
|
||||
|
||||
Two layers stacked on the same JSON catalog of free itch.io games:
|
||||
A curated, auto-updating catalog of free itch.io games, published at **https://freeitchgames.win** (read-only for
|
||||
everyone; the old github.io URL only redirects). Three layers share one JSON catalog:
|
||||
|
||||
1. **Python pipeline** — the data layer.
|
||||
- `data_game/game_info_NNN.json` — chunked records, max 500 per file, ~1,470 games as of v3.5.0.
|
||||
- `data_game/index.json` — chunk manifest (total + per-file counts). `data_game/count_history.json` — date-keyed `{date,total}` series powering the "games over time" chart.
|
||||
- `scripts/` — `scraper.py` (shared session + parsing), `data_store.py` (chunk load/save/rebalance, writes `index.json` + `count_history.json`), `json_io.py` (shared `load_json`/`save_json` + `dedup_deleted`), `update_info.py`, `check_paid.py`, `check_alive.py`, `check_duplicate.py`, `update_reviews.py`, `update_status.py`, `force_update.py`, `generate_md.py`, `log_deleted.py`, `backfill_count_history.py` (one-time count-history seed). Lint: `ruff check scripts/` (config in root `pyproject.toml`).
|
||||
- `lists/{genre}.md` — auto-generated, **never edit by hand**.
|
||||
- `bash/` — wrappers used by the GitHub Actions workflows.
|
||||
2. **Webapp** — `webapp/` (React 19 + TypeScript 6 + Vite 8 + Tailwind v3 + shadcn/ui, Tauri 2 desktop wrapper in `webapp/src-tauri/`). Reads from `raw.githubusercontent.com`; writes via GitHub API with an encrypted PAT.
|
||||
1. **Python pipeline** — the data layer (GitHub Actions).
|
||||
- `data_game/game_info_NNN.json` — chunked records, max 500 per file, 6,069 games on 2026-11-16. Serialization is fixed: `json.dumps(..., ensure_ascii=False, indent=4)`, no trailing newline (`json_io.dumps`) — the Worker port (`webapp/worker/catalog.ts`) emits identical bytes (`tests/fixtures/golden/`).
|
||||
- `data_game/index.json` — chunk manifest (total + per-file counts). `data_game/count_history.json` — date-keyed `{date,total}` series ("games over time" chart). `scripts/deleted_games.json` — removal log (public "Removed" page). `scripts/temp_link.json` — ingest queue.
|
||||
- `scripts/` — scanners never write the catalog: `update_info.py` (queued URLs) and `refresh.py` (rotating 1/7-per-day check; `--full` re-scrape) emit a URL-keyed **patch** (`patch.py`); `apply_patch.py` applies it to the latest `main` and runs `validate.py`; `bash/commit_push.sh` does fetch → reset → apply → commit → push with retries. Shared: `scraper.py` (session, `Pacer` + 429 back-off, parsing: the info panel incl. itch.io's 2025–26 rows — `AI Disclosure` ("AI Assisted", then what for) / `Content` linking `/games/tag-no-ai` → `ai_disclosure` + `ai_content`, `Accessibility` → `accessibility`; `description` = the creator's tagline (`og:description`), else the first sentence), `data_store.py` (chunks stay in place, rebalance only past thresholds, write-if-changed), `json_io.py`, `canonical.py` (canonical itch.io URL; vectors in `tests/fixtures/url_vectors.json`, shared with the Worker). Pipeline bookkeeping lives in `scripts/state/` (not published), including `ingest_outcomes.json` (how each queued link ended — added / duplicate / paid / dead / private / deleted / gave_up; patch key `ingest_outcomes`; the last 90 days, ≤ 5,000) that the admin's tracking and the cron's reconcile read. Tests: `pytest` (network blocked; `pytest --cov --cov-report=xml` → `coverage.xml` for SonarQube Cloud, gotcha 41). Lint: `ruff check scripts tests webapp/scripts`, `ruff format`, `vulture` (config in root `pyproject.toml`). Local env: Python 3.15 (`.github/python-version`, gotcha 39; ruff `target-version = "py315"`), `python -m venv .venv && .venv/Scripts/pip install -r requirements-dev.txt` (3.15 is in UTF-8 mode by default — no `PYTHONUTF8` needed, the workflows no longer set it). Both requirements files are hash-locked pip-tools compiles of `requirements*.in` — edit the `.in`, then recompile (gotcha 40).
|
||||
2. **Cloudflare Worker + static assets** — `webapp/worker/` + `webapp/wrangler.jsonc`, deployed by **Cloudflare Workers Builds** from `main` (root dir `webapp`, build `npm run build`, deploy `npx wrangler deploy`; no deploy workflow). The catalog is bundled into the site at build time (`vite-plugins/catalog-data.ts` → `dist/data/pack/` compact packs + the legacy readable JSON in `dist/data/`, plus `data/urls.json` and `sitemap.xml`), so every data commit rebuilds the site.
|
||||
3. **Web app + Tauri apps** — `webapp/src/` (React 19.3 + TypeScript 7.0 + Vite 8/rolldown + Tailwind + shadcn/ui + React Router 8), and the **Tauri 2 desktop + Android** read-only viewers in `webapp/src-tauri/` (same code; they fetch `https://freeitchgames.win/data/pack` and load covers straight from img.itch.zone). Plus `webapp/admin/` — the maintainer-only admin app (second Vite entry, served at `/admin/`).
|
||||
|
||||
Adding games: the public **Suggest** page (`/suggest`, Turnstile) and RSS discovery (Worker cron) feed a **D1 review queue** (the browser extension's `POST /api/ingest` was removed in 4.4.1; the extension `poli0981/itch-f2p-extension` and the Telegram bot `poli0981/telegram-scraper-bot` are archived repos); approving in `/admin` commits the URLs to `scripts/temp_link.json` as a GitHub App, which triggers `update.yml`. Since 4.4 the cron also approves by rule (`/admin` → Settings, on by default: unflagged `rss` / `form` items nobody rejected within 24 h, only those found after the switch-on baseline `since`, ≤ 100 per run) and queues the new free games of **followed itch.io collections** directly (removed or flagged ones go to the queue) — the policies say so (ToS §5, Privacy §2.4, Disclaimer §4). The Add page takes any text, a file or a collection, **Check**s it first (dry run), sends batches of 200 and follows each game's ingest (`/api/admin/track`).
|
||||
|
||||
## How to work in webapp/
|
||||
|
||||
```sh
|
||||
cd webapp
|
||||
npm install
|
||||
npm run dev # http://localhost:5173
|
||||
npm run build # writes to ../docs/app/ (NOT webapp/dist — that path is Tauri-only)
|
||||
cd webapp # Node 26 (.node-version; engines >=26)
|
||||
npm ci
|
||||
npm run dev # Vite on http://localhost:5173 (proxies /api and /img to wrangler dev on :8787)
|
||||
npx wrangler dev # the Worker + built assets (run `npm run build` first); .dev.vars holds local secrets
|
||||
npm run build # → webapp/dist/ (public app + /admin/ + /data + sitemap); Tauri builds use the same dir
|
||||
npm test # vitest (worker/, src/lib); worker/test/* D1 tests spawn a local workerd via getPlatformProxy
|
||||
npm run test:coverage # the same with v8 coverage → coverage/lcov.info (repo-root paths, for SonarQube Cloud)
|
||||
npm run lint && npm run knip && npx tsc -b
|
||||
npm run cf:types # after editing wrangler.jsonc (ignores .dev.vars via types.env; CI runs it with --check)
|
||||
npm run cf:check # wrangler deploy --dry-run with the project's wrangler (what CI runs; after a build)
|
||||
npx wrangler d1 migrations apply freeitchgames --local # local D1 (use --remote by hand for production)
|
||||
npm run tauri:dev # native window; needs Rust toolchain
|
||||
npm run tauri:build # native installers
|
||||
npm run tauri icon -- path/to/source-1024.png # regenerate src-tauri/icons/
|
||||
npm run tauri -- android init # generate src-tauri/gen/android (gitignored)
|
||||
npm run tauri -- android build --apk --target aarch64 # arm64-v8a release APK (unsigned; CI post-signs)
|
||||
```
|
||||
|
||||
Path alias: `@/*` → `webapp/src/*`. Vite `define`s `__BUILD_DATE__` so About page shows the build date.
|
||||
Local admin without Access: put `DEV_ADMIN_EMAIL=you@example.com` in `webapp/.dev.vars` — honoured only when the host is localhost. Turnstile test keys work locally (`TURNSTILE_SITEKEY=1x00000000000000000000AA`, `TURNSTILE_SECRET=1x0000000000000000000000000000000AA`, `SITE_ORIGIN=http://localhost:<port>` in `.dev.vars`); add a 32+ character `GATE_SECRET` to try the verification gate under `npx wrangler dev` (on localhost the cookie is `fig_gate` without `Secure`, and no bot token is needed). `npm run dev` never sees the gate — except that its `/img` proxy to `wrangler dev` does. Android details live in `webapp/TAURI.md` → **Android APK**. Path alias: `@/*` → `webapp/src/*`.
|
||||
|
||||
## Code-split layout
|
||||
## Worker (`webapp/worker/`)
|
||||
|
||||
`vite.config.ts` `manualChunks` splits node_modules into `vendor-react` / `vendor-query` / `vendor-ui` / `vendor-charts` (Recharts, ~380 KB) / `vendor-github` (Octokit, ~100 KB) / `vendor-openpgp` (OpenPGP.js, ~387 KB — lazy, only touched when Settings → Commit Signing is opened or a commit is being signed). Routes `/charts`, `/add`, `/workflows`, `/settings`, `/about`, `/games/:slug` are `React.lazy` so the initial bundle stays ~163 KB gzip.
|
||||
- `index.ts` routes: `/img/*` (img.ts, behind the gate), `/api/health`, `/api/verify` (gate.ts), `/api/suggest` (suggest.ts), `/api/admin/*` + `/admin*` (admin.ts), the readable `/data/*.json` (legacy-data.ts), everything else that misses an asset → `spa.ts`. `run_worker_first` also lists `/` (otherwise served straight from `dist/index.html`) so the gate sees it, and the five legacy catalog files one by one (never a `!` pattern — gotcha 26). `scheduled()` (cron `23 */4 * * *`), four steps each in its own try/catch: `discover.ts` (one itch.io RSS feed per run, 6 h back-off on 429) → `QueueStore.reconcile` (queued → ingested / failed with the pipeline's outcome, read at head through the GitHub App; else in the catalog → ingested, > 3 days → failed `timeout`) → `automation.ts` (auto-approve + followed collections, ≤ 30 itch.io pages a run, ONE `[auto]` commit, D1 written only after it lands; the run's summary in settings `automation_last_run`) → `purge` (Suggest notes 180 d). The account is on **Workers Paid** (30 s CPU): admin catalog edits parse and rewrite ~3.8 MB in the Worker (≈ 25–30 ms for 100 removals).
|
||||
- `ratelimit.ts` (since 4.5): every Worker request is counted first, per IP (IPv6 /64, `rateKey`) and per Cloudflare location (approximate, fails open), in one `ratelimits` binding per kind of traffic (counted per machine of the data centre: it holds for one-connection clients, the WAF holds for floods — gotcha 43) — `RL_SITE` 120/60 s (pages, public `/api`, legacy `/data`, misses), `RL_IMG` 600, `RL_ADMIN` 300; `RL_SUGGEST` 5 and `RL_GATE` 20 still apply on top to those POSTs. Verified bots (the gate's header) are not counted. Over a limit: 429 + `Retry-After: 60` — JSON `rate_limited` for `/api`, `/img`, files and `/data` (with CORS), the script-less EN/VI page of `gate-page.ts` for app pages. Keep every `period` 60 and a unique `namespace_id` in 88xx (staging 89xx): namespaces are **account-wide** and other Workers on the account (repolens, ticktune…) use 1001–1006, so the old 1001 / 1003 shared their counters (`ratelimit.test.ts` reads `wrangler.jsonc`). Layer 1 is the zone's WAF rate-limiting rule (Free plan: one rule, IP, 10 s; `docs/operations.md` §1 step 15): only it saves the Worker request a flood costs, and only it covers static assets.
|
||||
- `img.ts`: `/img/<160|640>/<path on img.itch.zone>` — allow-listed against `data/urls.json`, edge cache → R2 `THUMBS` (`w{w}/<sha256>.webp`) → `cf.image` transform (stored once) → fallback streams the original with a 1-day cache (quota error 9422). The fallback original and a missing upstream image are also kept in `caches.default` for a day (GET only); widths are the exact strings `160` / `640` (a `Map`, no `Number()` aliases); background puts log failures. Upstream errors → controlled 502.
|
||||
- `spa.ts`: `not_found_handling` is `"none"`, so misses reach the Worker: `/assets/*`, `/data/*` (a pack from an older deploy included — `no-store`, CORS) and file-like paths get a real 404 (`no-store`); app routes get the shell with 200; unknown paths and game slugs not in the catalog get the shell with **404**; with the gate on, a visitor without a pass gets the verification page instead (checked before the shell is fetched, so never a 304). Keep its `ROUTES` in sync with `src/App.tsx` and `src/hooks/useSeoHead.ts`.
|
||||
- `gate.ts` + `gate-page.ts`: the **verification gate** (web only). App pages and `/img` need a pass: the `__Host-fig_gate` cookie (HMAC of its issue time, HttpOnly, `BOT_GATE_TTL_HOURS`, default 48) set by `POST /api/verify` after a Turnstile check (action `gate`, `RL_GATE`, same-origin); `GET /api/verify` reports `{enabled, valid, via, ttl}`. The page is self-contained (inline CSS/JS with a per-response CSP nonce, EN/VI, the site's og tags, 200 + noindex). Verified bots pass with `x-fig-known-bot: <GATE_BOT_TOKEN>` from a zone Transform Rule; clients that only claim to be a crawler get 503. `/assets`, `/data`, `/api/*`, `/admin*` and the other static files stay open. `turnstile.ts`: siteverify shared with Suggest (hostname + action checked; the test secrets skip both).
|
||||
- `access.ts`: verifies `Cf-Access-Jwt-Assertion` with jose (issuer + AUD). Maintainer = email in secret `ADMIN_EMAILS` + same-origin writes (the only identity: the service-token ingest is gone since 4.4.1).
|
||||
- `admin.ts`: API (queue list / approve / reject / check (dry run) / add / track / edit one or ≤ 100 (`/games/bulk`) / remove one or ≤ 100 (`/games/remove`; after the commit the audit row and the R2 cleanup are best effort → `warnings`, never a 500) / restore / activity / settings / itch.io collections) and the `/admin` shell with its own CSP (theme-script hash included). Request limits shared with the admin app: `limits.ts`. `collections.ts` reads public itch.io collections (gotcha 36); `automation.ts` holds the cron's rules (`planCollectionItems`: only URLs D1 has never seen and without a flag are queued directly — no re-add loop for games the ingest dropped). The maintainer's email goes only to the D1 audit log, never into a commit (the repo is public).
|
||||
- `repo.ts` + `github.ts` + `catalog.ts`: writes as a **GitHub App** (installation token, cached per isolate) with GraphQL `createCommitOnBranch` + `expectedHeadOid` (verified commits; `commitWithRetry` rebuilds from the new head on a race). Reads use the raw media type (no base64/UTF-8 mojibake). `catalog.ts` ports `data_store.py` byte-for-byte (golden fixtures).
|
||||
- `legacy-data.ts`: the readable catalog JSON (`index.json`, `game_info_NNN.json`, `count_history.json`, `deleted_games.json`, `urls.json`) goes only to apps 4.0–4.1.1 — `Origin` `tauri://localhost` / `http(s)://tauri.localhost` → `env.ASSETS` passthrough + `Vary: Origin`; anyone else → **410** JSON with the repository links (`no-store`, CORS, a sampled `console.info` of the Origin). A nudge, not a security boundary: the data is public in the repo.
|
||||
- `queue.ts`: URL classification (catalog → blocklist → pending → previously deleted) + the D1 store (`worker/migrations/`, additive only — never edit an applied migration; `0002` added `candidates.outcome`, `settings` and `watched_collections`; the `idempotency` table and `'ext'` in the `candidates.source` CHECK are unused leftovers of the ingest API removed in 4.4.1; URL lists bind in `IN` slices of 90, gotcha 37). `data.ts`: catalog facts read from the site's own `/data` via `env.ASSETS`, cached per isolate (loaded values only — see gotchas).
|
||||
- Configuration: non-secret settings are `vars` in `wrangler.jsonc` (empty until setup); secrets (`GH_APP_PRIVATE_KEY` — the PEM GitHub downloads (PKCS#1) or PKCS#8; `github.ts` converts, `ADMIN_EMAILS`, `TURNSTILE_SECRET`, `GATE_SECRET`, `GATE_BOT_TOKEN`) via `wrangler secret put`, typed in `worker/env.ts` as optional. A feature whose settings are missing answers **503** (the gate just stays off); the public site needs none of them. `env.staging` = Worker `free-games-itchio-list-staging` on `staging.freeitchgames.win` (no cron, own R2/D1/rate-limit namespaces).
|
||||
|
||||
## Webapp structure
|
||||
## Web app structure (`webapp/src/`)
|
||||
|
||||
- `src/routes/*.tsx` — one file per route; `App.tsx` wires `react-router-dom` HashRouter.
|
||||
- `src/components/data-table/*` — `DataTable` (TanStack Table + Virtual + pagination), `data-table-toolbar`, `data-table-pagination`, `faceted-filter`, `columns`. Row keys are URL-based (`getRowId: g => g.url`) so selection survives sort/filter/page changes.
|
||||
- `src/components/ui/*` — shadcn primitives (Button, Card, Input, Label, Badge, Skeleton, Separator, Tabs, Popover, Checkbox, Select, Switch, Textarea, Dialog).
|
||||
- `src/components/charts/` — chart module (one file per chart, shared `chart-card.tsx` with `ChartCard` + `PALETTE`). 16 charts across 4 tabs. Each tab is a `React.lazy` default export under `charts/tabs/{overview,reach,quality,discovery}-tab.tsx`, wrapped in `<Suspense>` from `routes/charts.tsx`. **Tabs import chart components directly (no `index.ts` barrel — it was removed in v3.7.0)** so the bundler keeps each tab's components in its own chunk; a barrel re-exporting all 16 would collapse them into one shared chunk and defeat the split. Radix unmounts inactive `TabsContent`, so a non-default tab's component code downloads only on first activation. Recharts (`vendor-charts`) still loads with the default Overview tab.
|
||||
- `src/components/legal-gate.tsx` — full-screen, non-dismissible first-launch legal-acceptance gate (raw Radix Dialog, no close-X, Esc/outside-click disabled). Wraps the shell in `App.tsx`; renders instead of the shell until `prefs.acceptedLegalVersion === LEGAL_VERSION`. Reuses `LEGAL_LINKS` from `about.ts`; persists via `prefs.acceptLegal()`.
|
||||
- `src/lib/github/` — `client.ts` (Octokit factory), `data-store.ts` (TS port of `scripts/data_store.py`), `contents.ts` (single-file commits — routed through Git Data API so they can be signed), `git-data.ts` (atomic multi-file commit; optional signer for GPG), `signer.ts` (builds a `CommitSigner` from gpg store + auth + prefs), `workflow.ts` (dispatch + poll).
|
||||
- `src/lib/gpg/` — `canonicalize.ts` (pure: builds the byte string Git would hash for a commit), `sign.ts` (lazy-imports `openpgp`, exports `loadPrivateKey` / `signCommit` / `verifyDetached`), `storage.ts` (encrypted-key + metadata in localStorage).
|
||||
- `src/lib/crypto.ts` — AES-GCM 256 + PBKDF2-SHA256 100k rounds. **Uint8Array generic must be `<ArrayBuffer>`** under TS 6, not `<ArrayBufferLike>` — Web Crypto rejects the latter.
|
||||
- `src/lib/use-is-mobile.ts` — `useIsMobile()` hook based on `matchMedia('(max-width: 767px)')`. Use it for branches that need a distinct mobile layout (e.g. card view instead of a wide table).
|
||||
- `src/lib/i18n/` — minimal typed i18n. `en.ts` is the source of truth (`MessageKey = keyof typeof en`); `vi.ts` must **never** be static-imported — it stays a lazy chunk via `import('./vi')` in `index.ts` only. `t()` imperative, `useT()` reactive hook; language pref lives in the `prefs` store.
|
||||
- `src/main.tsx` — react-query cache persisted to IndexedDB via `idb-keyval` (`PersistQueryClientProvider`). Only public catalog queries (`db` / `deleted` / `count-history`) are dehydrated, never PAT-gated data. `buster = APP.version`, so bumping `about.ts` invalidates the cache. **`gcTime` must stay >= persist `maxAge`** or restored queries are garbage-collected right after hydration.
|
||||
- Error handling — `src/lib/http-error.ts` (`HttpError`), `src/components/error-page.tsx` + `route-error.tsx` + `error-boundary.tsx`. Hidden preview route `/errors/:code` (not linked from nav). `webapp/public/404.html` serves as the GitHub Pages custom 404.
|
||||
- `src/stores/` — Zustand stores: `auth` (in-memory PAT + GitHub user; idle timeout pulled from `prefs`), `theme`, `prefs` (sidebar collapsed + density + idle timeout + author override + notification settings + language + `acceptedLegalVersion` — re-prompts the legal gate when the exported `LEGAL_VERSION` constant bumps), `gpg` (in-memory PrivateKey + fingerprint + uid + enabled), `undo` (20-entry FIFO of reverse ops).
|
||||
- `src/lib/about.ts` — keep the `THIRD_PARTY` array up to date when adding npm deps; About page reads it.
|
||||
- `routes/*.tsx` — one file per route (`/`, `/games`, `/games/:slug`, `/charts`, `/removed` (`/deleted` redirects), `/suggest`, `/settings`, `/about`, `/errors/:code`); `App.tsx` wires them; `components/app-router.tsx` picks **BrowserRouter on the web, HashRouter in Tauri**. `lib/legacy.ts` rewrites v3 `#/x` links to `/x` (crafted hashes go home) and deletes v3 PAT/GPG storage keys.
|
||||
- Data: `lib/config.ts` (`PACK_BASE` = `/data/pack` on the web, `https://freeitchgames.win/data/pack` in Tauri). **Packs** (since 4.2): `lib/data/pack-format.ts` (pure, shared with the build plugin: records by column, dictionaries for repeated strings and every string list; `manifest-v1.json` names per chunk a `main` pack — every field but `description` — and a `desc` pack, plus `deleted` / `history`; files are `<sha256 prefix>.bin`, deflate-raw, served `immutable`). `lib/data/catalog.ts` loads them (`['db','all']` →`{ games, index: {total_games, last_updated}, chunks }`; the manifest revalidated per load and shared 10 s; a main-pack 404 → manifest `cache: 'reload'` + one retry; an unchanged manifest returns the previous result). `lib/data/compression.ts`: `DecompressionStream('deflate-raw')`, else lazy `fflate`. `Game` has **no `description`**: `hooks/useDescriptions.ts` loads `['desc', <file>]` on demand (game page: its chunk; Games search: all, `filterGames(…, descriptions)`).
|
||||
- Cache: react-query persisted to IndexedDB (`webapp.query-cache`, 7 days) by `lib/data/persister.ts` — byte 0 = format (1 deflate-raw, 0 plain), then the JSON; a legacy string is dropped; writes throttled 1 s and skipped when no data object changed. Persisted: `db`, `deleted`, `count-history` and only the `desc` files the current catalog names (`shouldPersistQuery`); stale `desc` queries are removed after a `db` success. `CACHE_BUSTER = ${APP.version}:data-v2`. **`gcTime` must stay >= persist `maxAge`.**
|
||||
- Layout: `components/site/*` (sticky top nav + global search with the `/` shortcut + display menu + phone sheet menu; footer) — the window scrolls, not `<main>`. `/` is the Welcome page (`routes/welcome.tsx`).
|
||||
- `/games`: search, filters, sort and page live in the URL — `lib/game-filters.ts` (`parseQuery` / `toParams` drop defaults; params `q genre platform status tag lang input engine ai access rating browser sort page`; `ai` treats "N/A" / a missing field as its own "Not disclosed" value and lists its options in a fixed order (`aiRank`); unit-tested) — rendered by `components/games/*` (filter chips with facet counts that ignore their own filter, a desktop ARIA table / phone list chosen by `useIsMobile`, 100 per page; the detail page's breadcrumb links back to the same list via router state). Counts show the whole catalog ("2,729 of 2,811") because 18+ games are hidden by default.
|
||||
- `components/charts/` (19 charts, 4 lazy tabs loaded with `lib/lazy-preload.ts` — preloaded when idle or on hover/focus, rendered without a Suspense fallback once loaded — and kept mounted once shown (gotcha 33; skeletons in `chart-skeletons.tsx` match the cards), every series spreading `SERIES_ANIMATION` (300 ms, no delay; a test checks), **no barrel `index.ts`**; every Recharts tooltip/cursor comes from `chart-theme.ts` + `chart-tooltip.tsx`, every pie legend from `LEGEND_BASE` there; every chart container spreads `chartAria(id)` (named by its card's h2 + description + arrow-key hint), every `<Pie>` has `rootTabIndex={-1}`, every `ChartCard` gets an `id` and a `table` (a lazy `<details>` "Data table" built with `lib/chart-table.ts`), and the tooltip reads its text into the card's polite live region through `ChartAnnounce` (a ref, no re-render — gotcha 33); `chart-theme.test.ts` checks all four; below `md` the charts get 12 px legends / 11 px ticks from a media block in `index.css`, the tab bar is one row of equal tabs, and Languages / Avg session switch to horizontal bars via `useIsMobile`), `components/game-thumb.tsx` (`lib/thumbnail.ts` → `/img/160|640/...` on the web, the original URL in Tauri), `components/legal-gate.tsx` (a non-dismissable Radix dialog **over** the page, so deep links land where they pointed; links flagged `inGate` in `lib/about.ts`; re-prompts when `LEGAL_VERSION` in `stores/prefs.ts` changes; no "Leave" button in Tauri).
|
||||
- Styling: **Tailwind v4** via `@tailwindcss/vite` (no PostCSS, no `tailwind.config`); tokens are hex CSS variables in `src/index.css` (`:root` / `.dark`, `@theme inline`; `--brand-soft`, `--thumb`, `--success`, `--scrollbar-thumb(-hover/-active)` besides the shadcn set) and must match the approved mockup — except where WCAG 2.2 AA needed more (4.6.0): `--primary` #6a48f5 (white text 5.44:1), `--primary-text` for purple text (#9a83ff in dark), `--input` #8a8a93 / #6b6b75 for field borders and the off switch (3:1), `--destructive-solid` for filled destructive buttons; `--brand` keeps the mockup's #7c5cff for the logo (as do the favicon, `og.png`, the app icons and the gate page's logo). `webapp/scripts/check-contrast.test.mjs` fails CI when a token pair or a chart colour (`components/charts/palette.ts`) drops below 4.5:1 (text) / 3:1 (borders, ring, chart marks); `lib/color.ts` does the maths. A `@media (forced-colors: active)` block gives selected tabs / pressed toggles / the current page / the active option and switches the system highlight (Windows contrast themes). Themed scrollbars (`@layer base`, only under `(hover: hover) and (pointer: fine) and (forced-colors: none)`): `::-webkit-scrollbar*` for Chromium/Safari, `scrollbar-color` / `scrollbar-width: thin` for Firefox only (gotcha 28); "Hide scrollbars" = unlayered `html[data-scrollbars='hidden']` rules (`hooks/useScrollbarsEffect.ts`). On mouse devices `<html>` reserves the scrollbar gutter, released while a dialog locks scrolling (gotcha 35). The theme: `stores/theme.ts` (synced across tabs, site ↔ admin), `hooks/useThemeEffect.ts` (`.dark` + the `theme-color` metas), an inline pre-paint script in both HTML entries (gotcha 34), and the display menu's button shows `components/theme-icon.ts`'s icon for the theme in use. Self-hosted Geist / Geist Mono (`@fontsource-variable/*`, CSP `font-src 'self'`). Numbers and dates go through `lib/format.ts` (`useFormat`: en-GB / vi-VN). `webapp/scripts/gen_assets.py` redraws favicon, PWA icons and `og.png` from the same tokens and the Geist fonts in `node_modules`.
|
||||
- `lib/gate.ts` (web only): when a tab comes back into view or a cover fails and the verification pass may have run out (`webapp.gate` hint), it asks `GET /api/verify` and reloads into the verification page; `lib/reload.ts` is the shared at-most-every-30-s reload guard.
|
||||
- `hooks/useSeoHead.ts` sets canonical + robots per route (index.html has no static canonical/og:url on purpose).
|
||||
- Accessibility (statement: root `ACCESSIBILITY.md`; target WCAG 2.2 AA): after an in-app navigation `App.tsx`'s ScrollManager moves focus to the new page's h1 (`lib/route-focus.ts` decides: not on first load or query-only changes; a #hash focuses its section; Back focuses the link last used on that entry), waiting for lazy routes with `components/focus-target.ts` (`whenPresent`, 10 s; `focusElement` adds `tabindex=-1` + `data-focus-target`, which hides the ring). Dialogs without a trigger return focus themselves (18+: the opener, `requestNsfw(returnFocus)`; legal gate: the page h1); menus that navigate `preventDefault` their `onCloseAutoFocus` (gotcha 46). The "/" shortcut is a pref (`slashShortcut`, Settings → Accessibility; WCAG 2.1.4). `CardTitle` renders an h2. `ExtLink` appends "(opens in a new tab)" / "(opens in your browser)" for screen readers. English-only strings shown on a Vietnamese page carry `lang="en"`; `<html lang>` turns `vi` only once the VI dictionary is in. `html { scroll-padding-top }` keeps focus clear of the sticky header. No a11y linter: `eslint-plugin-jsx-a11y` peers ESLint ≤ 9.
|
||||
- `lib/i18n/` — `en.ts` is the source of truth; `vi.ts` is `Record<MessageKey, string>` and must never be static-imported (lazy chunk).
|
||||
- `stores/` — Zustand: `prefs` (`webapp.prefs`: language, density, `hideScrollbars`, legal acceptance…), `theme` (`webapp.theme`).
|
||||
- `lib/about.ts` — keep `THIRD_PARTY` up to date when adding npm deps; `LEGAL_LINKS`; `APP.version`.
|
||||
- Code split (`vite.config.ts` rolldown `codeSplitting.groups`): `vendor-react` (priority 100 — must claim React first), `vendor-query`, `vendor-ui`. There is deliberately **no vendor-charts group** (it pulled React/clsx in and put Recharts on the first load); Recharts stays in the lazy chart chunks. Initial load ≈ 189 KB gzip (JS + CSS, gzip -9, measured for 4.6.0; 4.2 added ~4.6 KB for the pack loader, persister and `useQueries`, 4.6 ~3 KB for focus management and the accessibility strings) plus ~51 KB of Geist woff2; catalog data on a first visit ≈ 264 KB (main packs + log + history), descriptions ≈ 170 KB on demand. `fflate` is a lazy chunk, never preloaded. Web build `target` is Safari/iOS 15.4 (Radix class static blocks otherwise break iOS 15); Tauri uses the default.
|
||||
|
||||
## Editable vs read-only fields
|
||||
|
||||
Of the 23 fields per game, only **3** are user-editable: `safe_virus`, `notes`, `nsfw`. The other 17 are scraper output and rendered as read-only badges.
|
||||
Each game has **20** fields (plus optional `added_at` / `updated_at`, appended by the pipeline, and since 4.3 the optional scraper fields `ai_disclosure` (`No AI|AI Assisted|N/A`) / `ai_content` / `accessibility`, which the daily refresh adds to older records — schema changes are additive only, installed v3 apps may still read the raw JSON). Only **3** are maintainer-editable: `safe_virus` (`?|Yes|No|Caution`), `notes`, `nsfw` (`Yes|No`) — via `/admin`. The other 17 are scraper output; no scrape (not even `--full`) overwrites the 3 editable fields.
|
||||
|
||||
## GitHub Actions
|
||||
|
||||
| Workflow | Trigger | Notes |
|
||||
|---|---|---|
|
||||
| `update.yml` | Daily 03:00 UTC + `workflow_dispatch` (with optional `url` input) | Reads `INPUT_URL` env var; falls back to `scripts/temp_link.json`. |
|
||||
| `check_paid.yml` | Every 2 days 04:00 UTC | |
|
||||
| `update_reviews.yml` | 1st + 15th of each month, 05:00 UTC + `workflow_dispatch` | Refresh `rating` + `rating_count`. Skip-on-error keeps old values. |
|
||||
| `update_status.yml` | 1st of each month, 06:00 UTC + `workflow_dispatch` | Refresh `status` only. Same skip semantics. |
|
||||
| `check_alive.yml` | Every 2 days 07:00 UTC | |
|
||||
| `force_update.yml` | `workflow_dispatch` ONLY (optional `url` input) | Emergency re-scrape. Empty input = re-scrape all. Always preserves `safe_virus` / `notes` / `nsfw`. Canonical tool for repairing mojibake. |
|
||||
| `generate_table.yml` | After update / check / refresh workflows succeed | Rebuilds `lists/*.md`. Chain list lives in this file under `workflow_run.workflows` — keep in sync when adding scrape workflows. |
|
||||
| `log_deleted.yml` | After check workflows | Exports `deleted_games.txt`. |
|
||||
| `deploy_webapp.yml` | Push to `main` touching `webapp/`, or manual | Builds → `docs/app/` → GitHub Pages. Requires repo Settings → Pages → Source = "GitHub Actions". |
|
||||
| `release_desktop.yml` | Tag `v*` push, or manual | Tauri build for Win + macOS aarch64 + macOS x86_64 (cross-compile) + Linux. Uploads `.dmg` / `.app.tar.gz` / `.pkg` (macOS), `.msi` / `.exe` (Windows), `.deb` / `.AppImage` (Linux). |
|
||||
| `update.yml` | Push to `main` touching `scripts/temp_link.json` + daily 01:23 UTC + `workflow_dispatch` (`url`) | Ingest queue → patch → `commit_push.sh`. Workflow-level `concurrency: ingest` with **`queue: max`** (the default queue replaces a pending run, which would drop its dispatched `url`). A dispatched `url` is processed first and written to `temp_link.json` (`queue_add`) until it reaches a final outcome. Failed fetches count as an attempt only ≥ 6 h apart (`last_attempt`; 3 → given up), and a 429 counts as none. GitHub-App pushes (the admin Worker and its cron) trigger it; its own `GITHUB_TOKEN` push does not (no loop). Keep the filename. |
|
||||
| `refresh.yml` | Daily 02:47 UTC + `workflow_dispatch` (`budget`, `url`, `allow_mass_removal`, `full`) | scan (read-only, 55-min step timeout, checks out the branch as it is when the job starts — not the queued SHA — so runs waiting in the queue see the previous run's state; patch artifact uploaded `if: always()`) → apply (`!cancelled()`: a failed / timed-out scan's checkpoint is applied, a cancelled run's is not) → notify. Workflow-level `concurrency: refresh-pipeline` + `queue: max` runs one whole scan → apply at a time (scheduled, manual and force-update runs alike). Removal needs the same 404/410, paid or `private` (itch.io's password form, `is_password_protected`; ingest drops such links as final) strike seen again ≥ 20 h after the first sighting (`strike_at`). Checkpoints never carry removals. **Mass-change guard:** a run whose removals or new strikes exceed max(10, 10 %) of the games it checked withholds all its removals and marks them — and, on a strike spike, all its strikes — `withheld_at`; later runs keep withholding those (they take at most half a run's budget) until a healthy check clears them, and alert (`mass_change`) — that pattern means itch.io markup changed; dispatch with `allow_mass_removal` only after checking on itch.io. `apply_patch.py` re-checks the same per-run limit and max(25, 5 %) of the catalog unless `ALLOW_MASS_REMOVAL=1`. |
|
||||
| `force_update.yml` | `workflow_dispatch` ONLY (`url`, `budget`, `allow_mass_removal`) | Dispatches `refresh.yml` with `full: true` (`actions: write`; it used to call it through `uses:`, which failed at startup with no annotation): re-scrapes every scraper field for one URL or the next batch (rotates on `full` timestamps). Dispatch it N times in a row to cover N consecutive batches (FIFO, each from the latest main). Always preserves `safe_virus` / `notes` / `nsfw`. Canonical tool for repairing mojibake. |
|
||||
| `notify-failure.yml` | `workflow_call` | Discord (`DISCORD_CI_WEBHOOK`) on failure / **cancelled** (job-level timeouts end as cancelled) / rate-limited / mass change / failed Cloudflare build. |
|
||||
| `python-ci.yml` / `webapp-ci.yml` | PRs (+ pushes for Python) | ruff + format + vulture + pytest + `validate.py` (both requirements locks installed at once, so drifting pins fail) / `npm ci --ignore-scripts` + `npm run check:tauri` (gotcha 31) + `npm run cf:types -- --check` + lint + knip + vitest + build + `npm run cf:check` (`wrangler deploy --dry-run`). SonarQube Cloud runs in `sonarcloud.yml`. |
|
||||
| `sonarcloud.yml` | Push to `main` + PRs (both skip data-only and `.md`-only changes) + `workflow_dispatch` | SonarQube Cloud CI analysis (gotcha 41): `token` (no `SONAR_TOKEN` — Dependabot and fork PRs — → notice, the rest skipped) → `coverage` (pytest-cov + Vitest v8, no secrets; artifact kept 1 day) → `scan` (`sonarqube-scan-action`, full history, `sonar.projectVersion` from `webapp/package.json`; the only step that uses the token). |
|
||||
| `qodana.yml` | Push to `main` + PRs (both skip data-only and `.md`-only changes) + `workflow_dispatch` | Qodana (JetBrains) analysis (gotcha 49): `tokens` (no Qodana secrets — Dependabot and fork PRs — → notice, the rest skipped) → three jobs, one per Qodana Cloud project and token: `typescript` (`qodana-js`, native, `webapp/qodana.yaml`), `python` (`qodana-python`, native, root `qodana.yaml`), `rust` (`qodana-rust`, Docker image, `webapp/src-tauri/qodana.yaml`). Whole-project scans (`pr-mode: false`), no PR comment; each `qodana.yaml` has a quality gate of 0 problems (`failureConditions`), so a finding fails its job. |
|
||||
| `deploy-status.yml` | Hourly + manual | Not a deploy. `bash/cf_build_status.sh` walks main's first-parent history to the latest finished `Workers Builds: free-games-itchio-list` check run (Cloudflare posts it only when a build ends; branch commits carry preview builds under the same name) and alerts once per failed build (cache key per check-run id, saved after the Discord post). Scheduled because GitHub never starts `check_run` workflows for `GITHUB_TOKEN` pushes (the data commits). |
|
||||
| `release_desktop.yml` | Tag `v*` push, or manual | `create-release` makes the single draft (id passed to tauri-action v1 `releaseId`); release builds use **no** npm/cargo caches (cache-poisoning). Win + macOS aarch64 + macOS x86_64 (cross-compile) + Linux (`ubuntu-22.04` for a low glibc floor). Uploads `.dmg` / `.app.tar.gz` / `.pkg` (macOS), `.msi` / `.exe` (Windows), `.deb` / `.rpm` / `.AppImage` (Linux). macOS `.pkg` `--identifier` reads `tauri.conf.json`. |
|
||||
| `release_android.yml` | Tag `v*` push, or manual | Tauri **Android** build → arm64-v8a APK, **post-signed** with `zipalign`+`apksigner` (gen/ stays gitignored). Tag → attaches to the same draft Release; manual dispatch → workflow artifact. Secrets: `ANDROID_KEYSTORE_BASE64` / `ANDROID_KEYSTORE_PASSWORD` / `ANDROID_KEY_ALIAS`. |
|
||||
| `announce-release.yml`, `notify-release-pipeline.yml` | Release published / pipeline runs | Reusable workflows from `poli0981/.github`, SHA-pinned — but at that pin they still check out their notifier script from that repo's `main`. |
|
||||
| `announce-discussion.yml` | Release published; push to `main` touching `CHANGELOG.md` / `changelog/**` | Local. The release goes to Discussions → Announcements, a changelog push to → General unless the head commit says `[skip-discuss]`. |
|
||||
|
||||
All workflows: `permissions: {}` at the top, per-job grants, actions pinned by commit SHA. Python installs are hash-locked and wheels only (`pip install --require-hashes --only-binary :all:`, gotcha 40); npm installs skip install scripts (`npm ci --ignore-scripts` — esbuild's and workerd's launchers find their platform binary without them).
|
||||
|
||||
## Release / tag process
|
||||
|
||||
@@ -74,44 +99,116 @@ Of the 23 fields per game, only **3** are user-editable: `safe_virus`, `notes`,
|
||||
git fetch origin
|
||||
git tag -s vX.Y.Z origin/main -m "summary"
|
||||
git push origin vX.Y.Z
|
||||
gh release create vX.Y.Z --title "..." --notes "..." --verify-tag
|
||||
# release_desktop.yml's create-release job opens ONE draft; desktop + Android jobs upload into it.
|
||||
# When every asset is there, edit the notes and publish (this fires the announcements):
|
||||
gh release edit vX.Y.Z --draft=false
|
||||
```
|
||||
|
||||
Tag from `main` only (forking from a feature branch and force-moving on rebase makes a mess). GPG signing is wired through gpg-agent; user's signing key is `03F965C2E2DB5C6B` (EDDSA) and `commit.gpgsign=true` is on, so `git tag -s` and `git commit` both sign.
|
||||
Draft-first: **never** `gh release create` by hand before CI — tauri-action v1 refuses to upload into a published release, and announcements would go out before installers exist. Merge PRs into `main` with squash or a merge commit, never by fast-forward pushing a branch: its commits' preview-build check runs would then sit on main's own line and confuse `deploy-status.yml`. Tag from `main` only. Release notes go to `changelog/<major>.x/ver<major>.<minor>.x.md` plus a row in the `CHANGELOG.md` index (each row keeps the anchor of the old single-file heading as `<a name>`: published release notes link to them). Versions live in `webapp/src/lib/about.ts` (`APP.version`), `webapp/package.json`, `webapp/src-tauri/tauri.conf.json` and `Cargo.toml` (+ `Cargo.lock`) — keep them equal. GPG signing is wired through gpg-agent (`commit.gpgsign=true`, so `git tag -s` and `git commit` both sign; the pinentry must be answered — in unattended sessions commits fail rather than going unsigned). Signing key since 2026-10-10: `838884804847BE7AE5FCF0A96AD1AB0921B96825` (ed25519 certify-only primary, generated locally and never published before; signing subkey `ED0BFD3005662D5D`; `user.signingkey` = the primary fingerprint, global + repo). The old key `03F965C2E2DB5C6B` is **revoked** (compromised: it sat in the browser extension's storage, Sept 2026); tags up to v4.3.0 and older commits carry it. The owner's offline backup and revocation certificates live outside the repo.
|
||||
|
||||
## Required PAT permissions for the webapp
|
||||
## Licenses & policies
|
||||
|
||||
Fine-grained PAT scoped to **only this repo** with:
|
||||
|
||||
- **Contents: Read and write** — edits, deletes, queueing URLs.
|
||||
- **Actions: Read and write** — dispatching the scraper workflow.
|
||||
|
||||
`workflow:write` is **not** what we need (that's for editing `.github/workflows/*.yml` files, which the webapp doesn't do). Classic PATs with the `workflow` scope happen to cover both.
|
||||
Code **MIT** (`LICENSE`); catalog data **CC BY 4.0** for the maintainer's contribution — excluding creators' descriptions, cover images, names/trademarks (`data_game/LICENSE.md`, `LICENSES/CC-BY-4.0.txt`); docs **CC BY 4.0**; map + non-affiliation in `NOTICE.md`. Policies (EN in `docs/`, VI mirrors in `docs/i18n/vi/`, English controls): ToS (website + data + content removal), EULA (desktop/Android binaries only; also `webapp/src-tauri/installer/EULA.rtf`), Privacy Policy, Disclaimer, `SECURITY.md`, `CODE_OF_CONDUCT.md`. `ACCESSIBILITY.md` (root: GitHub's accessibility community health file; VI mirror `docs/i18n/vi/ACCESSIBILITY.md`) is a statement, not a policy to accept — no `LEGAL_VERSION` bump when it changes, but keep its §3 (what works) and §6 (known limitations) in step with the code; barriers come in through `.github/ISSUE_TEMPLATE/accessibility.yml` (label `accessibility`) or contact@. When a policy changes, bump `LEGAL_VERSION` (`webapp/src/stores/prefs.ts`) and the dates in `about.legal.desc` (EN/VI) so the legal gate asks again. Contact addresses `contact@ / legal@ / privacy@ / security@ / takedown@poli0981.dev` are aliases of the maintainer's Google Workspace mailbox (not Cloudflare Email Routing; the Privacy Policy lists Google as the email processor). The maintainer's site https://poli0981.dev/ and channel hub https://poli0981.dev/links/ are linked from the About page (`DEV` in `lib/about.ts`).
|
||||
|
||||
## Known gotchas (cost a release each — don't relearn)
|
||||
|
||||
1. **`universal-apple-darwin` + `bundle_dmg.sh` is fragile** in headless CI. Use per-arch (`aarch64-apple-darwin`, `x86_64-apple-darwin`) instead.
|
||||
2. **`macos-13` is retired** from free GitHub-hosted runners (late 2024). Cross-compile x86_64 from `macos-latest` (Apple Silicon).
|
||||
3. **Tauri icons must exist before build.** Generate via `npm run tauri icon -- path/to/source.png`. The 1024×1024 source is gitignored; generated icons are committed.
|
||||
4. **Tauri doesn't ship `.pkg`.** We build it with `pkgbuild` after `tauri-action` and upload via `gh release upload`. Step uses `if: always()` so a DMG flake doesn't drop the PKG.
|
||||
5. **Vite v8 `base`** only accepts `'./'`, an absolute URL, or an empty string. Anything else warns and silently breaks asset paths.
|
||||
6. **TS 6** deprecates `baseUrl`. Use `paths` alone.
|
||||
7. **lucide-react v1+** removed/renamed brand icons (`Github` → not available). Use `Library`, `Database`, etc. for repo icons.
|
||||
8. **`/repos/.../contents` `content` is base64 with newlines AND base64-decoded data is UTF-8.** Strip newlines first, but `atob` alone returns a Latin-1 binary string — multi-byte UTF-8 sequences become mojibake. Go through `TextDecoder('utf-8')` via the `base64ToUtf8` helper in `webapp/src/lib/github/encoding.ts`. The matching `utf8ToBase64` is correct as-is.
|
||||
9. **`createWorkflowDispatch` returns 204 with no run id.** To track the run, list runs filtered by `event=workflow_dispatch` and a dispatch timestamp from a few seconds before.
|
||||
10. **`docs/app/` is gitignored.** CI builds it. Don't commit build output.
|
||||
11. **PUT `/repos/.../contents/{path}` can never be "Verified".** GitHub authors that commit itself from the PAT; there is no `signature` field. All webapp writes must go through the Git Data API (blob → tree → commit → updateRef) to allow GPG signing. `contents.ts` `putFile` was removed for this reason — use `commitSingleFile` (wraps `atomicCommit`).
|
||||
12. **GPG signing must use binary mode in openpgp.js.** `openpgp.createMessage({ text })` normalizes line endings before hashing → signature won't verify against the LF-only Git commit object. Use `createMessage({ binary: TextEncoder.encode(canonical) })`.
|
||||
13. **Commit object canonical timestamp must match Octokit's `author.date` exactly.** GitHub re-derives `<unix_ts> <±HHMM>` from the ISO date and recomputes the SHA. Use a single `ts + tzOffsetMin` source for both, derive `author.date` via `isoFromTs(ts, tzOffsetMin)`.
|
||||
14. **TabsList primitive is `inline-flex` with `whitespace-nowrap` triggers.** Many tabs + narrow viewport → overflow. The fix in `/workflows` is dual-render: `<Select>` on mobile (`md:hidden`), TabsList on desktop (`hidden md:inline-flex`). Charts uses `flex-wrap` defensively but the labels are short enough to fit at 430px.
|
||||
1. **`universal-apple-darwin` + `bundle_dmg.sh` is fragile** in headless CI. Use per-arch (`aarch64-apple-darwin`, `x86_64-apple-darwin`).
|
||||
2. **`macos-13` is retired** from free GitHub-hosted runners. Cross-compile x86_64 from `macos-latest`.
|
||||
3. **Tauri icons must exist before build.** `npm run tauri icon -- path/to/source.png`; the 1024×1024 source is gitignored, generated icons are committed.
|
||||
4. **Tauri doesn't ship `.pkg`.** Built with `pkgbuild` after tauri-action and uploaded via `gh release upload`; the step uses `if: ${{ !cancelled() && … }}` so a DMG flake doesn't drop the PKG while a cancel still stops it.
|
||||
5. **Vite v8 `base`** only accepts `'./'`, an absolute URL, or an empty string. Web uses `'/'` (BrowserRouter deep links), Tauri `'./'`.
|
||||
6. **TypeScript 7 has no JS API (expected in 7.1), and typescript-eslint needs one** (peer `typescript <6.1`). So in `webapp/package.json` `typescript` is an alias of `@typescript/typescript6` (the 6.0 API for typescript-eslint and `scripts/i18n-edit.mjs`; bin `tsc6`) and TS 7 is `@typescript/native` (`npm:typescript@^7`), whose `tsc` is what `npm run build` / `npx tsc -b` run — `npx tsc --version` must say 7.x. Drop the alias once typescript-eslint accepts TS 7; never let Dependabot move the alias to 7. `baseUrl` is gone since TS 6: use `paths` alone.
|
||||
7. **lucide-react v1+** removed brand icons (`Github`). Use `Library`, `Database`, etc.
|
||||
8. **`bundle.windows.nsis.license` does NOT exist in `@tauri-apps/cli` 2.11** — use top-level `bundle.licenseFile`, and it must be **RTF** (WiX `.msi` requires it; NSIS auto-detects). File: `webapp/src-tauri/installer/EULA.rtf`.
|
||||
9. **The bundle `identifier` must be alphanumeric** (`com.poli0981.freegamesitchio`): Android rejects `-`, Tauri's validator rejects `_`; one identifier serves every platform.
|
||||
10. **Android signing: `zipalign` BEFORE `apksigner`**; never edit the generated Gradle; never lose the keystore. `versionCode = major*1e6 + minor*1e3 + patch` from `tauri.conf.json`. **`minSdkVersion` 30 (Android 11) is the install gate** — change it only in `tauri.conf.json` (`bundle.android.minSdkVersion`); no runtime OS check by design (reach ≈ 86.9 % mid-2026; see `docs/pc_spec.md`). The Android JDK setup must NOT use `cache: gradle` (gen/ doesn't exist at checkout).
|
||||
11. **`webapp/dist/` is gitignored and `assets.directory` must be `./dist`.** In Sept 2026 a config-less deploy served the raw `webapp/` tree (source exposed).
|
||||
12. **A Worker with static assets gets no `ctx.access`** — verify the Access JWT yourself (access.ts). **`workers_dev` and `preview_urls` must stay `false`**: those hostnames bypass Access.
|
||||
13. **`public/_headers` applies only to responses served straight from assets**, not to responses the Worker builds (set headers in `worker/http.ts`). Responses fetched through `env.ASSETS` do carry them.
|
||||
14. **With `run_worker_first` as an array, the asset layer's SPA fallback answers every miss before the Worker** — a stale hashed chunk got `index.html` + the year-long immutable cache. Hence `not_found_handling: "none"` + `spa.ts`.
|
||||
15. **Never share an in-flight promise across requests in a Worker** (cache only resolved values): a pending subrequest dies with the request that started it (client disconnect) and every later awaiter hangs.
|
||||
16. **itch.io cover URLs are signed per size**, so you can't rewrite `/original/` to a smaller variant — resizing goes through Image Transformations (`cf.image`) and R2.
|
||||
17. **GitHub Actions concurrency keeps at most one *pending* run per group by default** and cancels the older pending one — use `queue: max` where a queued run carries unique input. A called workflow must not request its caller's group (deadlock → cancelled). **A queued run checks out the SHA from when it was triggered** (`workflow_dispatch`: the branch head at dispatch time), so runs waiting behind each other read the same state unless the job checks out `ref: ${{ github.ref }}` (refresh.yml's scan does).
|
||||
18. **Pushes made with `GITHUB_TOKEN` trigger no workflows** (no ingest loop), and GitHub never starts `check_run` workflows for them (hence the scheduled `deploy-status.yml`). Workers Builds posts its check run only when a build ends.
|
||||
19. **`wrangler types` reads `.dev.vars`** — `npm run cf:types` points it at the empty `types.env` so the committed `worker-configuration.d.ts` never depends on local secrets. Don't use `secrets.required` until every environment has the secrets (deploys fail without them).
|
||||
20. **D1 migrations are applied by hand** (`npx wrangler d1 migrations apply freeitchgames --remote`), never in the build — and before deploying code that needs them. Production `freeitchgames` was created by command (APAC); its `database_id` is in `wrangler.jsonc` (not a secret). **R2 must be enabled on the account** (dashboard, payment method) before `wrangler r2 bucket create`; a deploy whose bucket is missing fails.
|
||||
21. **React Router 8 wraps navigations in `startTransition` by default**: `useSearchParams` then returns the previous URL until the transition commits, so URL-driven state (the Games filters) overwrote itself on quick clicks. Both routers in `components/app-router.tsx` pass `useTransitions={false}`.
|
||||
22. **`window.confirm` / `alert` / `prompt` do nothing in the macOS app** (wry's WebKit answers "Cancel"). Use in-app dialogs (`components/nsfw-dialog.tsx` + `requestNsfw()` in `lib/nsfw.ts`).
|
||||
23. **The design tokens are hex: write `var(--x)`, never `hsl(var(--x))`.** The invalid colour painted the Recharts hover band black and left tooltips transparent (fixed in 4.1.0).
|
||||
24. **Recharts 3 makes charts focusable** (`accessibilityLayer`, plus `tabindex` on inner `<g>`s): a mouse click focused the SVG, Chromium drew its black focus ring and the tooltip stuck on the first item. `ChartCard` keeps mouse clicks from moving focus; keyboard focus keeps the `--ring` outline.
|
||||
25. **The verification gate fails open, and its off switch is deleting `GATE_SECRET`** (`BOT_GATE` changed in the dashboard is undone by the next deploy). It also needs `GATE_BOT_TOKEN` + the zone Transform Rule — without them Google would get the challenge; a client that only claims to be a crawler gets a 503, never the noindex page. Don't gate `/data`: every app version reads it — `/data/pack/*` (4.2+), and the legacy JSON (4.0–4.1.1, Tauri origins only; browsers get 410). Keep those legacy files in `dist/`: the Worker also reads `urls.json` and `deleted_games.json` through `env.ASSETS`.
|
||||
26. **A negative `run_worker_first` pattern (`!/data/pack/*`) sends a missing file straight to the asset worker**, whose 404 still gets the `_headers` rules — for a pack, the year-long `immutable`, so a browser would cache the 404 of a name that can come back (rollback). List the Worker-first files positively; pack misses then reach `spa.ts` (`no-store`).
|
||||
27. **A `desc` pack matches its games by row, so only within one build.** Load the `desc` named in the same `db` result; on a 404 refetch `db` (`useDescriptions.ts`), never re-resolve a desc file against a newer manifest for games already on screen.
|
||||
28. **In Chromium 121+, `scrollbar-color` or `scrollbar-width` on an element switches its `::-webkit-scrollbar` styling off.** Keep the standard properties Firefox-only (`@supports not selector(::-webkit-scrollbar)`), except `scrollbar-width: none` for hiding.
|
||||
29. **Pack names are content hashes: the build must stay deterministic** (column and dictionary order, zlib level 9 — a Node/zlib upgrade only re-downloads once), **and no hash may reach the JS bundle** (data-only deploys keep JS byte-identical; the manifest is fetched, never imported). `_headers` joins a header set by two matching rules with a comma — give each path one `Cache-Control`.
|
||||
30. **itch.io shows the `Published` and `Updated` info rows only for a few weeks** after the event (every `Published` date in a 250-page sample of Oct 2026 was under four weeks old); an explicit `Release date` row stays. That is why `release_date` is N/A for most older games, and why a `--full` re-scrape keeps a known `release_date` / `thumbnail` instead of writing N/A (`KEEP_KNOWN_FIELDS` in `refresh.py`).
|
||||
31. **Tauri crates and their npm packages must share major.minor** (`tauri` ↔ `@tauri-apps/api`, `tauri-plugin-x` ↔ `@tauri-apps/plugin-x`): `tauri build` refuses to build otherwise, and only the release workflows run it — every v4.3.0 release build first failed on `tauri-plugin-opener` 2.6.0 vs `@tauri-apps/plugin-opener` 2.7.0 after Dependabot bumped the npm side alone (#119). Webapp CI's `npm run check:tauri` (`webapp/scripts/check-tauri-versions.mjs`, lock files only) now fails such a PR; Dependabot's cargo updates run weekly on Mondays like npm so both groups arrive together. Fix a one-sided bump with `cargo update -p <crate>` in `webapp/src-tauri/`.
|
||||
32. **Recharts hides category labels silently and styles legends its own way.** The default `interval="preserveEnd"` keeps a label only if its line box (font size × 1.5) plus `minTickGap` (5) fits its row, and the first one only if half of it fits above: the 15-row Genres chart showed 7 labels, without the two largest genres — category axes set `interval={0}`. A label wider than the axis wraps onto two lines, measured at the 16px body size unless `style` carries a size with a unit (`singleLineTick()` in `chart-theme.ts`). `<Legend>` sorts alphabetically (`itemSorter: 'value'`) and colours each label like its slice (amber/green text on white fails contrast) — pies spread `LEGEND_BASE`.
|
||||
33. **Recharts' ResponsiveContainer unmounts its chart when it measures 0×0** (`display: none`, e.g. Radix's `hidden` panel): a hidden tab must keep its size. The Charts page force-mounts visited tabs and hides the inactive ones with `absolute inset-x-0 top-0 h-0 overflow-hidden invisible` + `inert` (no scroll height, no focus); switching back otherwise rebuilt every chart and replayed its animation. Its panel elements are memoised, so a tab switch re-renders only the tab bar (a re-render restarts Recharts tweens).
|
||||
34. **The inline theme script's sha256 is in three CSPs**: `public/_headers`, `src-tauri/tauri.conf.json` and `THEME_SCRIPT_HASH` in `worker/admin.ts`. Change the script and `scripts/check-csp-hashes.test.mjs` fails with the hash to paste. A wrong hash only blocks the script (the old light flash). Keep `%` and `import(` out of it (Vite rewrites them in HTML).
|
||||
35. **`scrollbar-gutter: stable` vs dialogs**: fixed overlays stop at the reserved gutter, and react-remove-scroll-bar adds the scrollbar width as body margin on top. Hence `html:not(:has(> body[data-scroll-locked]))` — the gutter is released while a dialog locks scrolling, which is then exactly the old behaviour.
|
||||
36. **itch.io collection JSON** (`/c/<id>/<slug>?format=json&page=N`): `&page=1` redirects to the HTML page (page 1 has no `page`); a wrong or missing slug redirects to the canonical URL **without** the query string (re-request with the slug from `Location`); an unknown id answers 500; link attributes come in any order; past the last page `num_items` is 0. Zero cells while `num_items > 0` means changed markup: `collections.ts` reports it (422) and adds nothing.
|
||||
37. **D1 counts every statement of a batch** towards its 1,000 queries per invocation: bind URL lists in `IN (…)` slices of ≤ 90 (100 bound parameters at most), as `setStatus` / `reconcile` / `markIngested` do, never one statement per URL.
|
||||
38. **npm 11.20+ (Node 26) gates dependency install scripts on `allowScripts` in `webapp/package.json`.** esbuild and workerd are approved by name (their postinstall only checks the platform binary). A new dependency with an install script shows up in `npm install-scripts ls`; review it, then `npm install-scripts approve <pkg> --no-allow-scripts-pin` (name-only, so Dependabot bumps stay covered).
|
||||
39. **Dependabot's pip updater reads `.python-version` and aborts on a Python it doesn't support** (3.10–3.14 as of Oct 2026): a `3.15` there stopped pip version updates and the pip dependency graph ("Dependabot detected the following Python requirement … '3.15.*'"). So the CI pin lives in `.github/python-version`, which only `setup-python`'s `python-version-file` reads (python-ci, refresh ×2, update); move it back to `.python-version` once Dependabot lists 3.15.
|
||||
40. **The Python requirements are hash-locked pip-tools compiles** — `requirements.txt` ← `requirements.in`, `requirements-dev.txt` ← `requirements-dev.in` (`-c requirements.txt`) — installed everywhere with `--require-hashes --only-binary :all:`, so a new release of any dependency, indirect ones included, can't reach the jobs that push to `main`, and no sdist build script runs. After editing a `.in`, recompile with **pip-tools on Python 3.14**: `pip-compile --generate-hashes --allow-unsafe --strip-extras requirements.in`, then the same for `requirements-dev.in`. Dependabot takes the Python version from the `# … autogenerated by pip-compile with Python X.Y` header and supports ≤ 3.14 (gotcha 39); the hashes cover every file of a release, so CI's 3.15 still finds its cp315 wheels. `colorama` is listed in `requirements-dev.in` because pytest needs it on Windows only: a lock compiled on Linux (Dependabot's) would otherwise leave it out and the hash-checked local install would fail. Keep those pip commands in a block scalar (`run: |`): in a plain YAML scalar the `: ` of `:all: -r` makes the whole workflow file invalid — GitHub then records a 0-job failed push run named after the file, and a PR simply shows no check for that workflow.
|
||||
41. **SonarQube Cloud analyses in CI** (`sonarcloud.yml` + `sonar-project.properties`; project `poli0981_free-games-itchio-list`, public). Automatic Analysis is switched off on sonarcloud.io — switched back on, it makes the CI scan fail. PRs get a "SonarCloud Code Analysis" check from the SonarQube Cloud app; Dependabot and fork PRs get no `SONAR_TOKEN`, so their analysis is skipped with a notice (a Dependabot secret of that name would enable it). Tests run in the `coverage` job without the token; besides the `token` job's presence check, only the `scan` step gets it, in a job that runs no project code. Binary images and the D1 migrations (SQLite, claimed by the Oracle PL/SQL analyzer, which then warned on every run) are excluded from the analysis. Coverage: `pytest --cov` (`[tool.coverage.run]` in `pyproject.toml`) and `npm run test:coverage` (`test.coverage` in `vite.config.ts`; the lcov reporter's `projectRoot` is the repo root, so the scanner resolves the paths); `@vitest/coverage-v8` needs vitest's exact version (Dependabot group `vitest`). The built-in "Sonar way" gate fails a PR under 80 % coverage on new code (from 20 new lines up), so code without unit tests by design is in `sonar.coverage.exclusions` — keep that list in step with what the tests reach. `sonar.projectVersion` comes from `webapp/package.json`: on `main`, "new code" (previous version) starts over at each version bump. `sonar.python.version` stays 3.14 until SonarQube Cloud's analyzer supports 3.15 (it warns "No explicit support for version 3.15"). The free plan keeps only `main` and PRs: a manual run on another branch uploads a branch analysis nobody can open ("not allowed to access data from non main branches"). Mark a false positive on the issue itself. Two of its suggested fixes are wrong here: S2871 wants `localeCompare` in `.sort()`, but chunk names, migration files and `unblocked.json` keep code-unit order (= Python's `sorted()`) — pass `compareCodeUnits` (`worker/text.ts`); S8906 wants `select_one('div.a.b')` for bs4's `class_=[a, b]`, which means *either* class — write a selector list `div.a, div.b`. Trim trailing characters with `trimEnd()` (`worker/text.ts`), not `/x+$/` (S8786: quadratic backtracking on a long run). Known false positive: css:S8776 on Tailwind v4's `@utility … { &::-webkit-scrollbar … }` (the `&` is required for variants).
|
||||
42. **miniflare (wrangler's local runtime) pins `undici` exactly, so Dependabot can't fix an undici alert** until a wrangler release moves the pin. The stopgap is `overrides.undici` in `webapp/package.json` (4.4.3–4.5.0 carried `^7.30.1` over wrangler 4.152's 7.29.1; dropped with wrangler 4.156, whose miniflare pins 7.30.1). Only miniflare uses undici; nothing of it reaches the site, the Worker or the apps. Remove such an override once `npm ls undici` without it shows the fixed version, and before miniflare moves to a new undici major (the override would hold it back).
|
||||
43. **The Workers rate-limit binding counts per machine, not per data centre.** Measured on production right after the 4.5.0 deploy (CDG): 1,000 requests in 53 s, each `curl` on a new connection, against `RL_SITE` 120/60 s → **no 429 at all**; 200 requests on **one** keep-alive connection → 93 × 200, then 429s. A data centre has many machines, each counts locally and syncs late, so a client that keeps one connection (browsers over HTTP/2, scripts with keep-alive) is held to the limit, while one that opens a new connection per request is spread across machines and barely counted. The zone's WAF rule counts across the data centre: it is the limit that holds against floods. Test the Worker limits over one connection (`curl URL URL …` in one invocation, or `--next`), never with `xargs curl`; under `wrangler dev` (miniflare: one process) every request counts. The WAF rule (300 / 10 s, set 2026-10-27) needs > 30 requests a second, which `xargs curl` doesn't reach from a home line: use the runbook's Node `fetch` one-liner (800 requests in 4.9 s → 111 × 200, 201 × Worker 429, 488 × WAF 1015).
|
||||
|
||||
44. **Tailwind v4's `outline-hidden` adds a visible 2 px outline in forced-colours mode.** On a focus variant that is the point (inputs keep a system-coloured focus ring in Windows contrast themes); used unconditionally on a container (`<main tabIndex={-1}>`, the games list, popovers) it drew a permanent frame there. Containers use `outline-none`, fields `focus-visible:outline-hidden`.
|
||||
45. **Vitest stubs CSS imports — `./index.css?raw` is an empty string in tests.** A test that reads a stylesheet lives in `webapp/scripts/*.test.mjs` and uses `node:fs` (`check-contrast.test.mjs`; `src/` has no Node types).
|
||||
46. **Radix FocusScope gives focus back to the trigger in a `setTimeout` after unmount.** A link inside a menu or sheet that navigates would have focus pulled back to the menu button, away from the new page's h1: `SheetContent` / `PopoverContent` call `e.preventDefault()` in `onCloseAutoFocus` when the path changed. A modal opened without a Radix trigger (the 18+ dialog) drops focus to `<body>` unless `onCloseAutoFocus` focuses something. Radix 1.3.1 sets no `aria-modal` (it hides the rest with `aria-hidden`).
|
||||
47. **Name Recharts charts with `aria-labelledby`, not their `title` prop** (`title` also shows a native browser tooltip over the whole chart); `Treemap`'s props type has no `role`. A custom tooltip loses Recharts' live region, and the tooltip box is `visibility: hidden` while inactive, so announcements go through the card (`ChartAnnounce`).
|
||||
48. **The tool permissions refuse loading third-party code into the preview page** (an axe-core `<script>` from a CDN). Check pages with the browser's accessibility tree and DOM queries instead; Lighthouse / axe DevTools are for the owner's own browser.
|
||||
49. **Qodana takes one linter per Qodana Cloud project**, hence three projects (`itch-typescript` wwgZ1, `itch-python` GgGnX, `itch-rust` P2Rd7; team "My first team", public) and three secrets (`QODANA_TOKEN_TS_JS` / `_PYTHON` / `_RUST`). All three linters need an **Ultimate** licence (a trial in Nov 2026; the Rust linter is Early Access and its image carries its own evaluation licence, to 2027-01-10): when it ends the scans fail on the licence — renew, or delete `qodana.yml` and the three `qodana.yaml`. What the first runs cost: (a) **native `qodana-python` finds no interpreter by itself** (`SDKs.json` empty), and then calls every `X | None` an invalid type hint and a dataclass a class without `__init__` — the job builds `.venv` and passes `QODANA_PYTHON_PATH`; (b) **the `qodana-rust` image has no C linker and none of Tauri's system libraries, and its container runs as the runner's user**, who can't write the image's `CARGO_HOME` or `apt-get install` (`cargo metadata` / `cargo check` fail → "Cargo project loading" sanity problem, analysis degraded, `run` unresolved) — the job passes `-u root -e CARGO_HOME=/data/cache/cargo`, `webapp/src-tauri/qodana.yaml` installs the packages in `bootstrap`, and a stand-in `webapp/dist/index.html` lets `tauri::generate_context!()` expand; (c) `--project-dir <subdir> --repository-root .` is how a subdirectory project keeps its git data; (d) the default cache keys are the same for every job of a run — each job sets its own. `gh run view --log` returns nothing until the whole run has finished; the report (SARIF + IDE logs) is the `qodana-report-*` artifact, a zip inside the artifact. Inspections switched off on purpose are listed with their reason in `webapp/qodana.yaml` (throw-to-own-catch in Worker handlers, kept regex escapes, non-ASCII keys); deliberate uses of deprecated DOM APIs carry `// noinspection JSDeprecatedSymbols`. Recharts' `<Cell>` is deprecated (gone in 4.0): a pie slice's colour is the `fill` of its data entry (`paletteFills` in `components/charts/palette.ts`).
|
||||
|
||||
## Safe-edit rules
|
||||
|
||||
- Don't edit `lists/*.md` directly — they're regenerated by `generate_md.py`.
|
||||
- Don't commit `webapp/dist/`, `webapp/src-tauri/target/`, `Cargo.lock`, or `webapp/src-tauri/icon-source.png`.
|
||||
- Don't commit a real PAT, ever. Settings page handles it client-side; CI uses `secrets.GH_TOKEN`.
|
||||
- When adding an npm dep, also add it to `webapp/src/lib/about.ts` so the About page lists it.
|
||||
- Don't write `data_game/` from new code paths directly — go through a patch + `apply_patch.py` (or the Worker's `repo.ts`), so concurrent writers never clobber each other and `validate.py` gates every commit.
|
||||
- Don't commit `webapp/dist/`, `webapp/src-tauri/target/`, `webapp/src-tauri/gen/`, `webapp/src-tauri/icon-source.png`, `.dev.vars`, `username.txt`, `assets/qr/`. `Cargo.lock` **is** committed (since v4).
|
||||
- Never commit secrets (GitHub App key, admin emails, Turnstile secret, tokens). Data workflows push with the job's `GITHUB_TOKEN`; the Worker writes as the GitHub App.
|
||||
- When adding an npm dep, also add it to `webapp/src/lib/about.ts` so the About page lists it. A Python dep goes into `requirements*.in`, then recompile the locks (gotcha 40).
|
||||
|
||||
## Current state (as of v3.7.0)
|
||||
## Current state (Nov 2026)
|
||||
|
||||
`main` is the trunk. All feature work has merged. Tags `v3.0.0` through `v3.7.0` exist (all GPG-signed). The webapp is published at `https://poli0981.github.io/free-games-itchio-list/app/`. v3.7.0 added the first-launch legal-acceptance gate, the Windows NSIS installer EULA page, and per-tab lazy-loading of the charts route.
|
||||
**Maintenance mode since v4.6.1 (2026-11-11) — the owner's decision.** The project is stable and feature-complete. Work is limited to security fixes (CVEs), runtime / dependency updates (the weekly sweep) and repairs when the site or the data pipeline breaks; **no new features, redesigns or refactors**. Issues and PRs are accepted for the data only (add, fix, remove a game — README → Project status, CONTRIBUTING); accessibility barriers and security reports keep their channels (kept because ACCESSIBILITY.md §7 and SECURITY.md promise them). Feature requests and code PRs are closed without review. Don't propose features in this repo.
|
||||
|
||||
**v4.6.2** (2026-11-16, PR #195): dependency-only release — the 2026-11-16 sweep below. Released because wry 0.57.2 fixes Android crashes and a memory leak, macOS panics and a Windows focus issue, which reach the apps only through a release (web-only updates redeploy on merge and need none). The owner wants a deps-only release's notes short: one "Update deps:" list (changelog + GitHub release). README count 6,000+ (6,069 games that day). No policy change (`LEGAL_VERSION` unchanged).
|
||||
|
||||
**v4.6.1** (2026-11-11): maintenance mode + Qodana. Docs (EN + VI): "Project status" in the READMEs, CONTRIBUTING rewritten around the data-only scope, SECURITY note, runbook §2 step 5 (Qodana) and §4. Templates: `bug_report.yml` is now "Report a problem"; `feature_request.yml`, `feedback.yml`, `general_question.yml` and the PR templates `bug_fix.md`, `new_features.md`, `documentation.md` are deleted; the issue chooser links Discussions. README badges (status, Python CI, SonarQube quality gate + coverage, Qodana, WCAG target) and the game count (5,900+; 5,907 games that day). `qodana.yml` + three `qodana.yaml` (gotcha 49). Code changes are only the first Qodana findings: pie charts without `<Cell>`, `ElementRef` → `ComponentRef`, `FormEvent` → `SubmitEvent`, an awaited `res.json()`, three Python nits, the unused `serde_json` crate dropped from the Tauri shell. No policy change (`LEGAL_VERSION` unchanged).
|
||||
|
||||
**v4.6.0** (2026-11-09): accessibility. Root `ACCESSIBILITY.md` + VI mirror (the owner had tested the website and the Windows app with the keyboard only and Windows Narrator; this release fixed what a WCAG 2.2 AA review found; after it, the owner's VoiceOver test on a real iPhone 14 Pro in Safari, Chrome and Brave passed), the `accessibility.yml` issue form and labels `accessibility` / `feedback`, a default `.github/pull_request_template.md` (GitHub's community profile ignores `PULL_REQUEST_TEMPLATE/`). Code: focus management (route h1, Back to the used link, dialogs), the "/" shortcut switch, header search options / count, h2 card titles, `lang` marking, screen-reader text for counts / loading / new tabs, contrast tokens + `check-contrast.test.mjs`, forced-colours CSS, chart names / arrow-key announcements / data tables. Docs sync: dead `@freeitchgames.win` addresses in `data_game/LICENSE.md`, stale dates / VI revision notes / library versions, `check:tauri` in the check lists, the About page's removal link, `remove_game.yml` → label `delete-game`. Not done by choice: desktop zoom (`zoomHotkeysEnabled` off, `maximizable: false`, min 900×600 — a known limitation in the statement). No policy change (`LEGAL_VERSION` unchanged). Ships the two deps sweeps below.
|
||||
|
||||
**Deps sweeps since v4.5.0** (11-02 and 11-09 shipped in 4.6.0 — the catalog had 5,818 games on 2026-11-09 —, 11-16 in 4.6.2). Each combines the week's Dependabot PRs plus what Dependabot didn't open (its 5-PR limit, pip / actions / cargo), with the 3-day cooldown applied by hand to every ecosystem (cargo and actions have none in `dependabot.yml`):
|
||||
- 2026-11-02, PR #176: Dependabot #171–#175 (react-router 8.5.1, TanStack Query 5.105.0, lucide-react 1.64.0, knip 6.44.0, typescript-eslint 8.72.1, wrangler 4.156.0 + regenerated types), jose 6.2.14, `overrides.undici` dropped (gotcha 42), pytest 9.2.0 / Ruff 0.17.3, sonarqube-scan-action 8.4.0, `cargo update`.
|
||||
- 2026-11-09, PR #182: Dependabot #177–#181 (TanStack Query 5.106.1, vitest 5.1.0, vite 8.3.6, @vitejs/plugin-react 6.2.1, Tailwind 4.3.4, eslint 10.14.0, knip 6.44.1, wrangler 4.158.0 + regenerated types, jose 6.2.15, globals 17.14.0), lucide-react 1.69.0, soupsieve 4.0.1 (a major whose breaking changes only touch `<template>` / `<iframe>` contents), coverage 7.17.2 / Ruff 0.17.4, setup-java 6.2.0, sonarqube-scan-action 8.4.1, `cargo update` (wasm-bindgen 0.2.130 family …).
|
||||
- 2026-11-16, PR #195: Dependabot #190–#194 (TanStack Query 5.107.1, @tauri-apps/plugin-opener 2.7.3, Tailwind 4.3.5, @vitejs/plugin-react 6.3.0, knip 6.45.1, typescript-eslint 8.72.2, vite 8.3.8, wrangler 4.161.0 + regenerated types, jose 6.2.17, lucide-react 1.72.0), zustand 5.1.0 (`persist` still hydrates sync storage synchronously; `rehydrate()` now returns a `Promise`), soupsieve 4.1 / coverage 7.17.3 / Ruff 0.17.5, `cargo update` (wry 0.57.2 — it pulls `dom_query` 0.29 next to tauri-utils' 0.28 —, tauri-plugin-opener 2.7.3; brotli, bumpalo, cc, ctor, jiff, mio held at older versions by the cooldown); transitive npm bumps checked too (tapable 2.3.4 held at 2.3.3 in the lock; `npm audit signatures` all verified). Held for the next sweep: eslint 10.15.0, eslint-plugin-react-refresh 0.5.8, lucide-react 1.73.0, wrangler 4.162.0, soupsieve 4.1.1, sonarqube-scan-action 8.5.0, setup-java 6.3.0. Rust stable 1.100.0 (2026-11-12) is what the release builds now get (`toolchain: stable`).
|
||||
|
||||
Node 26.13.1 (LTS; the 2026-11-11 security release — http2 / TLS server fixes) with its npm 11.20.0 is current: CI and Workers Builds follow `.node-version` / `NODE_VERSION` `26` by themselves; only local installs need upgrading.
|
||||
|
||||
`npm audit`: 9 moderate, all minimatch < 11.0.1 (GHSA-g3hv-75wg-m249) under eslint / typescript-eslint — dev-only, no fix until they accept minimatch 11. `cargo audit`: 0 vulnerabilities, 5 upstream warnings. Security settings unchanged: CodeQL default setup not configured, Dependabot security updates off; 0 open alerts, SonarQube Cloud 0 issues.
|
||||
|
||||
**v4.5.0** (2026-10-27): rate limits for the whole site — `worker/ratelimit.ts` + `RL_SITE` / `RL_IMG` / `RL_ADMIN`, every namespace moved to 8801–8806 / staging 8901–8906 (account-wide ids; 1001 / 1003 were shared with other Workers), the 429 page, admin wording, `docs/operations.md` §1 step 15 (the WAF rule: `not cf.client.bot`, not `/assets/` or `/data/pack/`, 300 requests / 10 s, block 10 s — set by the owner in the dashboard). No policy change (`LEGAL_VERSION` unchanged; SECURITY.md EN + VI describe the limits).
|
||||
|
||||
**v4.4.3** (2026-10-26): dependency and security updates only — the week's npm updates (Dependabot #159–#163 in one PR, plus lucide-react / Zustand; `knip` kept at 6.42.1 by the 3-day cooldown), wrangler 4.152 with regenerated `worker-configuration.d.ts` (a wrangler bump fails `cf:types -- --check` until it is regenerated — why Dependabot's build-tooling PR failed), `overrides.undici` (gotcha 42), zod 4.6.7, `cargo update` (tauri 2.12.5, tokio 1.54.1; `cargo audit`: 0 vulnerabilities, 5 upstream warnings — glib, zbus family, proc-macro-error), certifi / coverage / Ruff via pip-tools on 3.14, `actions/setup-python` 7.1.0. Repository security state that day: CodeQL default setup **not configured** (last analyses May 2026, 0 open alerts), Dependabot **security updates disabled** in Settings (version updates run), secret scanning + push protection on, SonarQube Cloud gate OK with 0 issues.
|
||||
|
||||
**SonarQube Cloud CI** (2026-10-22, shipped in 4.4.3's notes): CI-based analysis with test coverage replaced Automatic Analysis — `sonarcloud.yml`, `sonar-project.properties` (tests marked as tests, coverage exclusions, `.sonarcloud.properties` removed), `pytest-cov` + `@vitest/coverage-v8` (gotcha 41).
|
||||
|
||||
**Toolchain** (2026-10-22, #149 + #154, shipped in 4.4.2): TypeScript 7.0.2 (`@typescript/native`; `typescript` = the 6.0 API alias, gotcha 6), Node 26 (`webapp/.node-version`, `engines >=26`, `@types/node` 26, Workers Builds `NODE_VERSION` raised to 26 by the owner in the dashboard — `docs/operations.md` §1 step 1), Python 3.15 (`.github/python-version` — gotcha 39, ruff `py315`, `urllib3` declared since `scraper.py` imports it). No source change was needed: TS 7 reports 0 errors, the suites pass on Node 26.12 and Python 3.15.1.
|
||||
|
||||
**v4.4.2** (2026-10-22): SonarQube Cloud cleanup — the scan's 57 issues: 45 fixed in code, the 11 on the saved itch.io test pages excluded by `.sonarcloud.properties`, css:S8776 (Tailwind `@utility`) left for the owner to mark a false positive (gotcha 41). Worker paths and the gate cookie's padding are trimmed by `trimEnd()` (a `/\/+$/` on the public 404 path was quadratic), the feed / collection parsers have no backtracking regexes left, `compareCodeUnits` makes the code-unit sorts explicit, the NSFW notices are one selector list (each tested). Supply chain: hash-locked Python deps + wheels only in every workflow (gotcha 40), `npm ci --ignore-scripts` in CI and the release builds, `npm run cf:check` instead of `npx wrangler`. `scripts/i18n-edit.mjs` reads its operations from stdin (`node scripts/i18n-edit.mjs < ops.json`). Ships the toolchain upgrade and Dependabot #141–#148, #150, #152, #153.
|
||||
|
||||
**v4.4.1** (2026-10-16): the browser extension and the Telegram bot are retired — both repos (`poli0981/itch-f2p-extension`, `poli0981/telegram-scraper-bot`) were already public archives; an Announcements discussion says so. Removed: `POST /api/ingest` (`ingest.ts`, `requireService`, `RL_INGEST`, `ACCESS_AUD_INGEST`, the idempotency store — it never received a game: 0 `ext` rows in production D1), the admin's "Browser extension" auto-approve source and "Extension" label, the About page's Telegram numeric-ID note. The policies (Privacy, ToS, EULA + installer RTF, Disclaimer, Security; EN + VI) only lost the extension / ingest wording: "Last updated" 2026-10-16, `LEGAL_VERSION` deliberately unchanged (nothing new to accept, ToS §14). Unused repo secrets `GH_TOKEN`, `TELEGRAM_BOT_TOKEN`, `DISCUSSION_*` deleted. Ships Dependabot #131 (vite 8.3.4), #135 (tauri crates), #136 (serde_json), #137 (ruff).
|
||||
|
||||
**v4.4.0** (2026-10-13, PR #133): admin automation. Add page: any text / file / itch.io collection → **Check** (dry run) → batches of 200 → per-game ingest tracking (`/api/admin/track`, from the new `scripts/state/ingest_outcomes.json`). The cron runs the maintainer's automatic rules in one `[auto]` commit: auto-approve (on by default, `rss` + `form`, unflagged, after 24 h, only items found after the `since` baseline, ≤ 100 a run) and **followed collections** (≤ 30 pages a run; never-seen unflagged free games queued directly, removed or flagged ones to review). Bulk remove / edit ≤ 100 in one commit (preset reasons translated on the Removed page), New games, Activity, Settings; queue batches of 200. D1 migration `0002_automation.sql` applied to production before the merge. Policies rewritten for approval by rules (ToS §5, Privacy §2.3/§2.4, Disclaimer §4, EN + VI; `LEGAL_VERSION` 2026-10-13). Web: the theme button shows the theme in use (a v4 regression), a pre-paint theme script (no dark flash; hash in three CSPs), Charts tabs kept mounted (switching back reuses every chart, no replayed animation), 300 ms entrances, scrollbar gutter. Also ships #130 (2026-10-11, the Charts page on phones: one-row tab bar, 12 px legends / 11 px ticks, horizontal Languages / Avg session bars, all 15 Genre labels, data-order pie legends, translated removal reasons, locale axis numbers).
|
||||
|
||||
**v4.3.0** (2026-10-10, PR #117; released the same day): itch.io's newer info rows in the catalog — `ai_disclosure` / `ai_content` (generative-AI disclosure) and `accessibility` — on the game page, as `/games` filters (`ai`, `access`) and as charts (Overview: "Generative AI"; Discovery: "Accessibility Features", "What AI Was Used For"); `description` = the creator's tagline. The whole catalog was re-scraped the same day with `force_update.yml` (6 × 600 + 10, ≈14.5 games/min; an itch.io outage ~05:20–06:50Z only cost retries): 3,236 of 3,251 games carry the new fields — No AI 53 %, AI Assisted 11 %, not disclosed 36 %; accessibility on 14 % (Subtitles 257, One button 119); the other 15 are 14 dead-page strikes awaiting confirmation and one password-protected page (`everium.itch.io/underthethorns`; it failed every check until #129 taught the refresh to strike such pages). Fixed on the way, same day: #118 (`force_update.yml` had never worked in v4 — it now dispatches `refresh.yml`, whose scan reads the latest main so queued batches rotate), #119 (`tauri-plugin-opener` 2.7: every first v4.3.0 release build had failed; the tag was moved before publishing), #120 (the 5 open Dependabot alerts; `check:tauri` CI guard; weekly cargo Dependabot), then Dependabot #122–#127.
|
||||
|
||||
**v4.2.0** (2026-10-03, PR #103): catalog packs + lazy descriptions (first visit ≈ 264 KB instead of ≈ 520 KB), compressed IndexedDB cache, `/data/*.json` only for apps 4.0–4.1.1 (410 + repository links for everyone else), `/img` cache fixes, themed scrollbars + "Hide scrollbars", policies (`LEGAL_VERSION` 2026-10-03: data reuse goes through the repository). Checked on the live site the same day: TLS 1.2/1.3 only, HSTS preload header (domain not on the preload list), Cloudflare compression already on (zstd/br), Smart Tiered Cache on but irrelevant here (`docs/operations.md` §1 step 12).
|
||||
|
||||
**v4.1.1** (2026-09-29): contact addresses moved to `@poli0981.dev` (Google Workspace), About page links poli0981.dev + /links/, `LEGAL_VERSION` 2026-09-29.
|
||||
|
||||
**v4.1.0** (2026-09-24): the Turnstile verification gate for the web app, readable chart tooltips, the changelog split into `changelog/`, a docs refresh, updated Privacy/ToS/EULA (`LEGAL_VERSION` 2026-09-24). The gate ships switched on in `wrangler.jsonc` but stays inert until `GATE_BOT_TOKEN`, the Transform Rule and `GATE_SECRET` are in place (`docs/operations.md` §1 step 14) — `curl -s https://freeitchgames.win/api/verify` says `"enabled"`.
|
||||
|
||||
**v4.0.0** (2026-09-18) moved the site to the Cloudflare Worker at https://freeitchgames.win (PRs #81, #82, #88). The whole chain is live: Access for `/admin`, the GitHub App (verified commits to `scripts/temp_link.json` → `update.yml`), Turnstile, `ADMIN_EMAILS`; D1 `freeitchgames`, R2 `freeitchgames-thumbs`, Image Transformations (source `img.itch.zone`); Web Analytics is injected by the zone. **Still open (owner):** the legal-text review items; add the new GPG key's public half on GitHub (until then new signatures show Unverified) and remove the revoked `03F965C2E2DB5C6B` there; delete the Zero Trust Access app "Ingest" and its service token (unused since 4.4.1).
|
||||
+73
-24
@@ -1,37 +1,86 @@
|
||||
# Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
We as contributors, maintainers (just me, the unemployed noob dev), and visitors pledge to make participation in this repo a harassment-free experience for everyone — regardless of level of experience, gender, gender identity, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or how many Steam sales you've survived.
|
||||
Last updated: 2026-09-29
|
||||
|
||||
Basically: be cool. I'm introvert max level with zero social skills, so let's keep things positive.
|
||||
Applies from: the release of version 4.0.0.
|
||||
|
||||
This is a small hobby repo about free itch.io games, run by one unemployed noob dev, poli0981 (SkullMute), called "the Maintainer" below. Basically: be cool. The Maintainer is an introvert at max level with zero social skills, so let's keep things positive.
|
||||
|
||||
The rules below are adapted from the [Contributor Covenant 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) (see [§7](#7-attribution)).
|
||||
|
||||
## 1. Our pledge
|
||||
|
||||
We as members, contributors and the Maintainer pledge to make participation in this community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation — or how many Steam sales you've survived.
|
||||
|
||||
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive and healthy community.
|
||||
|
||||
## 2. Our standards
|
||||
|
||||
## Our Standards
|
||||
Examples of behavior that contributes to a positive environment:
|
||||
- Using welcoming and inclusive language
|
||||
- Being respectful of differing viewpoints and experiences
|
||||
- Gracefully accepting constructive criticism
|
||||
- Focusing on what's best for the list (more free games!)
|
||||
- Showing empathy towards other community members (if any show up :D)
|
||||
|
||||
- Showing empathy and kindness toward other people
|
||||
- Being respectful of differing opinions, viewpoints and experiences
|
||||
- Giving and gracefully accepting constructive feedback
|
||||
- Accepting responsibility, apologizing to those affected by our mistakes, and learning from the experience
|
||||
- Focusing on what is best not just for us as individuals but for the whole community — and the list (more free games!)
|
||||
|
||||
Examples of unacceptable behavior:
|
||||
- Harassment, trolling, or insults
|
||||
- Sexualized language or imagery (keep NSFW in the games, not here)
|
||||
- Personal or political attacks
|
||||
- Doxxing or sharing private info
|
||||
- Spamming sketchy links or malware
|
||||
- Any other conduct that would make an introvert like me close the tab immediately
|
||||
|
||||
## Enforcement
|
||||
I'm the only maintainer (with Grok as backup), so I'll remove, edit, or reject comments, commits, code, issues, or PRs that violate this. Repeat offenders get blocked. No warnings required — life's too short.
|
||||
- Sexualized language or imagery, and sexual attention or advances of any kind. Discussing whether a game should carry the `nsfw` flag is fine; sexual content aimed at people is not.
|
||||
- Trolling, insulting or derogatory comments, and personal or political attacks
|
||||
- Public or private harassment
|
||||
- Publishing others' private information, such as a physical or email address, without their explicit permission (doxxing)
|
||||
- Spam, or links to malware, phishing or other harmful content
|
||||
- Other conduct that could reasonably be considered inappropriate in a professional setting — or that would make an introvert close the tab immediately
|
||||
|
||||
Instances of abusive behavior can be reported by opening an issue (I'll see it... eventually). All reports will be reviewed and kept confidential.
|
||||
## 3. Enforcement responsibilities
|
||||
|
||||
## Scope
|
||||
This applies everywhere in the repo: issues, PRs, comments, code.
|
||||
The Maintainer is responsible for clarifying and enforcing these standards and will take appropriate and fair corrective action in response to any behavior they consider inappropriate, threatening, offensive or harmful.
|
||||
|
||||
## Final Vibes
|
||||
This is just a small hobby repo about free itch.io games. Let's keep it fun, chill, and drama-free. If you're here to add games or fix my mediocre code — you're already a legend.
|
||||
The Maintainer has the right and responsibility to remove, edit or reject comments, commits, code, issues, pull requests, discussions, game suggestions and other contributions that are not aligned with this Code of Conduct, and will explain moderation decisions when appropriate.
|
||||
|
||||
Adapted from the Contributor Covenant, because even noob devs copy good stuff.
|
||||
## 4. Scope
|
||||
|
||||
Thanks for reading (or pretending to). 🚀
|
||||
This Code of Conduct applies in all project spaces: the GitHub repository (issues, pull requests, discussions, comments, commit messages and code), anything submitted to the project (for example notes sent with the Suggest form), and the Discord community linked from the [About page](https://freeitchgames.win/about). It also applies when someone is officially representing the project in public spaces.
|
||||
|
||||
## 5. Reporting
|
||||
|
||||
If you experience or witness abusive, harassing or otherwise unacceptable behavior, report it **privately** to the Maintainer:
|
||||
|
||||
- email **legal@poli0981.dev**, or
|
||||
- send the Maintainer a direct message through one of the contact channels listed on the [About page](https://freeitchgames.win/about).
|
||||
|
||||
Please don't report conduct problems in a public issue. Every report will be reviewed and handled promptly and fairly, and the Maintainer will respect the privacy and security of the person who reports.
|
||||
|
||||
Because the project has only one maintainer, if your report is about the Maintainer, you can also use GitHub's own "Report abuse" feature or Discord's reporting tools.
|
||||
|
||||
## 6. Enforcement guidelines
|
||||
|
||||
The Maintainer follows these community impact guidelines when deciding what to do about a breach of this Code of Conduct:
|
||||
|
||||
1. **Correction**
|
||||
- *Community impact*: inappropriate language or other behavior that is unprofessional or unwelcome.
|
||||
- *Consequence*: a private, written warning that explains what the problem was and why the behavior was inappropriate. A public apology may be requested.
|
||||
2. **Warning**
|
||||
- *Community impact*: a violation through a single incident or a series of actions.
|
||||
- *Consequence*: a warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with the Maintainer, for a set period of time — both in project spaces and in external channels such as social media. Breaking these terms may lead to a temporary or permanent ban.
|
||||
3. **Temporary ban**
|
||||
- *Community impact*: a serious violation, including sustained inappropriate behavior.
|
||||
- *Consequence*: a temporary ban from any interaction or public communication with the community for a set period of time. No public or private interaction with the people involved, including unsolicited interaction with the Maintainer, is allowed during this period. Breaking these terms may lead to a permanent ban.
|
||||
4. **Permanent ban**
|
||||
- *Community impact*: a pattern of violating community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of groups of people.
|
||||
- *Consequence*: a permanent ban from any public interaction within the community.
|
||||
|
||||
The ladder is a guide, not a promise to go step by step: for spam, malware links or serious harassment, the Maintainer may go straight to a ban (block).
|
||||
|
||||
## 7. Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct/. The community impact guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
||||
|
||||
Changes from the original: it is adapted for a project with a single maintainer, adds project-specific examples, and names this project's scope and private reporting channels. The Contributor Covenant is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/); this adapted version is also available under CC BY 4.0, like the rest of the project's documentation.
|
||||
|
||||
## 8. Final vibes
|
||||
|
||||
This is just a small hobby repo about free itch.io games. Let's keep it fun, chill and drama-free. If you're here to add games or fix mediocre code — you're already a legend.
|
||||
|
||||
Thanks for reading (or pretending to). 🚀
|
||||
+115
-73
@@ -1,106 +1,148 @@
|
||||
# Contributing Guidelines
|
||||
|
||||
Thanks for even thinking about contributing to this random repo! I'm just an unemployed, introvert Vietnamese dev with mediocre skills and two non-judgmental AI buddies — **Grok (xAI)** for the late-night brainstorming and **Claude Code (Anthropic, Claude Opus 4.7)** for the heavier code/docs work. This list survives on community help — because I'm too lazy to hunt/fix everything alone :D Any contribution (even one game) makes you a legend.
|
||||
Thanks for even thinking about contributing to this random repo! I'm just an unemployed, introvert Vietnamese dev with mediocre skills and two non-judgmental AI buddies: **Grok (xAI)** for the late-night brainstorming and **Claude Code (Anthropic)** for the heavier code/docs work. This list survives on community help, because I'm too lazy to hunt/fix everything alone :D Any contribution (even one game) makes you a legend.
|
||||
|
||||
## How to Contribute (Use Templates — I'm Lazy ;D)
|
||||
## Project Status: Stable, Maintenance Only
|
||||
|
||||
Please use the issue/PR templates — they make my life easier and reduce "wtf" moments.
|
||||
Since version 4.6.1 (2026-11-11) the project is **stable and in maintenance mode**. It is feature-complete: the website, the apps and the data pipeline keep running, and the catalog keeps updating itself.
|
||||
|
||||
### 1. Add New Games (Most Welcome!)
|
||||
- Open issue → Choose **[Add Games]** template.
|
||||
- Max 15 games per issue (dropdown + one link per line).
|
||||
- Optional: why it's good or notes for table.
|
||||
- Daily Action will auto-scrape and add. Easy.
|
||||
- **Still done by the Maintainer**: security fixes (CVEs and reports made through [SECURITY.md](SECURITY.md)), runtime and dependency updates, and repairs when something stops the site or the daily data updates from working.
|
||||
- **Not done any more**: new features, redesigns, refactors.
|
||||
- **Issues and pull requests are accepted for the data only**: adding games (section 1), fixing a game's data or removing a game (sections 2 and 3). Accessibility barriers (section 3) and security reports keep their own channels. Anything else is closed without review; no hard feelings.
|
||||
|
||||
#### 1b. Add games via Telegram bot ([@my_skull_bot](https://t.me/my_skull_bot)) — alternative to issues
|
||||
## How to Contribute (Use the Right Door, I'm Lazy ;D)
|
||||
|
||||
Faster batch path if you have many links and don't want to file an issue per
|
||||
batch. Privacy-conscious — your Telegram numeric ID never enters this repo.
|
||||
Games go through the website; data fixes and removals go through the GitHub issue templates or email. They make my life easier and reduce "wtf" moments.
|
||||
|
||||
1. **Contact owner** privately on Telegram ([@SkullMute0011](https://t.me/SkullMute0011)) — or via any channel listed in [About](https://poli0981.github.io/free-games-itchio-list/app/#/about) → Find me elsewhere.
|
||||
2. **Find your Telegram numeric ID** — e.g. send `/start` to [@userinfobot](https://t.me/userinfobot) and copy the ID it returns.
|
||||
3. **DM your ID to the owner.** **Never** post your numeric ID into Discord, X, GitHub comments, or any public channel.
|
||||
4. Owner adds your ID to the bot's local whitelist (operator-side, not committed to this repo).
|
||||
5. **Owner runs the bot** in a local Docker container, ~2–5 hours per day. Status visible at [@my_skull_bot](https://t.me/my_skull_bot).
|
||||
6. **Follow the bot's prompts** — paste itch.io URLs, the bot dispatches the `bot-ingest.yml` workflow, and edits the same Telegram message with the result when done.
|
||||
### 1. Suggest New Games (Most Welcome!)
|
||||
|
||||
Full bot behavior + technical flow:
|
||||
[USER_GUIDE.md](https://github.com/poli0981/telegram-scraper-bot/blob/main/docs/USER_GUIDE.md)
|
||||
in the bot's repo [poli0981/telegram-scraper-bot](https://github.com/poli0981/telegram-scraper-bot).
|
||||
- Go to **<https://freeitchgames.win/suggest>** and paste an itch.io game link. One link per submission.
|
||||
- Optional: a short note (why it's good, content warnings…), up to 500 characters. Notes are deleted after 180 days. Please don't put personal data in it.
|
||||
- A Cloudflare Turnstile check and a rate limit keep bots out; if you get blocked, wait a bit and try again.
|
||||
- Only **free** itch.io games. Paid games are dropped automatically when the game page is scraped.
|
||||
- The game must be playable or downloadable **on its itch.io page itself** (a browser build or an uploaded file). A page that only points to a launcher or a download on another site doesn't qualify, even when that is free: the [Disclaimer](docs/DISCLAIMER.md) tells visitors that any download happens on itch.io.
|
||||
- Nothing goes live instantly: every suggestion lands in a **review queue**, where the Maintainer approves or rejects it, by hand or through automatic rules (a suggestion without a warning flag that nobody rejected within about a day may be approved automatically). Approved links are then scraped by the data pipeline and show up on the site after the next deploy.
|
||||
|
||||
Privacy + handling of your Telegram ID is documented in
|
||||
[Terms of Use §14](docs/ToS.md) and [Privacy Policy §15](docs/PrivacyPolicy.md).
|
||||
Removal request: DM the owner with "remove me from whitelist" — done at next bot start.
|
||||
Got a whole list? The **[Add Games (bulk list)]** issue template takes up to 15 links at once, and a PR that adds itch.io URLs to `scripts/temp_link.json` works too (use the [Add Games] PR template). Both go through the same review: the Maintainer checks every link before it is queued, and merging such a PR is the approval. Please don't edit `data_game/` by hand: the pipeline owns those files (see [section 7](#7-pull-requests)).
|
||||
|
||||
### 2. Remove Games
|
||||
- Open issue → Choose **[Remove Games]** template.
|
||||
- Max 10 games (because lazy :v).
|
||||
- Provide names/links + reasons (checkboxes like boring, demo, malware, dev request, etc.).
|
||||
- I'll remove manually (or script if I feel motivated).
|
||||
#### 1b. Other ways games get in
|
||||
|
||||
### 3. Report Bugs
|
||||
- Open issue → **[Bug Report]** template.
|
||||
- Checkboxes for common bugs (dead links, wrong flags, table broken, etc.).
|
||||
- The site reads itch.io's public RSS feeds of new and popular free games every 4 hours (one feed per run) and queues what it finds.
|
||||
- The site also reads the public itch.io collections the Maintainer follows and queues their new free games directly (one removed before, or with a warning flag, goes to the review queue instead).
|
||||
|
||||
The RSS feeds land in the same review queue as the Suggest page. (The Maintainer's browser extension and the old Telegram bot are retired; their repositories, [itch-f2p-extension](https://github.com/poli0981/itch-f2p-extension) and [telegram-scraper-bot](https://github.com/poli0981/telegram-scraper-bot), are archived.)
|
||||
|
||||
### 2. Remove Games or Fix Their Data
|
||||
|
||||
Game creators especially: if you want your game off the list, or its data corrected, that's always fine.
|
||||
|
||||
- Email **takedown@poli0981.dev**, or open the **["Remove a game"](https://github.com/poli0981/free-games-itchio-list/issues/new?template=remove_game.yml)** issue template (it also has a section for copyright claims).
|
||||
- Include the game URL, who you are (the creator / rights holder, or someone authorized by them) and the reason.
|
||||
- The Maintainer removes the record from the catalog (logged with a reason on the public [removed-games page](https://freeitchgames.win/removed)) and deletes the resized cover copies the site stores; cached copies expire on their own. Target: within 7 days, urgent legal requests sooner.
|
||||
- Heads-up: this is a public git repo, so past versions stay in its history. Rewriting public history is only done in exceptional cases of legal necessity.
|
||||
- Wrong `safe_virus` / `nsfw` / notes, or other data errors that aren't a removal? Use the **[Report a problem]** issue template (section 3).
|
||||
|
||||
Details live in the [Terms of Use](docs/ToS.md) and the [Disclaimer](docs/DISCLAIMER.md).
|
||||
|
||||
### 3. Report a Problem (Wrong Data, Something Broke)
|
||||
|
||||
- Open an issue → **[Report a problem]** template ([direct link](https://github.com/poli0981/free-games-itchio-list/issues/new?template=bug_report.yml)).
|
||||
- It is for **data errors** (dead link, wrong name, genre, tags, cover, `nsfw` or `safe_virus` flag…) and for **things that broke** (a page or an app that stopped working, the catalog no longer updating). It is not for ideas: see section 4.
|
||||
- Details + screenshots + urgency level.
|
||||
- If complex — see "Discuss More" below.
|
||||
- **Security problems are not for the public tracker.** Report them privately: see [SECURITY.md](SECURITY.md).
|
||||
- **Accessibility barriers** (keyboard, screen reader, zoom, contrast, motion…): use the **[Accessibility barrier]** template ([direct link](https://github.com/poli0981/free-games-itchio-list/issues/new?template=accessibility.yml)), or email contact@poli0981.dev if you'd rather not use GitHub. What happens next is in [ACCESSIBILITY.md](ACCESSIBILITY.md#7-reporting-an-accessibility-barrier).
|
||||
|
||||
### 4. Suggest Features or Improvements
|
||||
- Open issue → **[Feature Request / Improvement]** template.
|
||||
- Choose type (new feature or code fix), name, reason, priority (from "nice to have" to "repo dying").
|
||||
- Optional: pseudo-code/snippet (no malware pls, I'll check with my average skills :D).
|
||||
### 4. Features and Improvements (Closed)
|
||||
|
||||
### 5. Give Feedback
|
||||
- Use the **[Feedback]** template.
|
||||
- Checkboxes (EULA/ToS too strict? Repo concept bad? Anti-AI? Delete repo? Other).
|
||||
- Roast or praise — my self-loathing can handle it.
|
||||
- The project is in maintenance mode: **feature requests, improvement ideas and code changes are no longer accepted**. Such issues and pull requests are closed without review.
|
||||
- The code is MIT-licensed: you're welcome to fork it and build your own thing ([README → License](README.md#license)).
|
||||
|
||||
### 6. Anything Else (Questions, Memes, Off-Topic)
|
||||
- Use the **[General / Off-Topic]** template.
|
||||
- Drop whatever's on your mind.
|
||||
### 5. Feedback, Questions, Anything Else
|
||||
|
||||
### 7. Submit Code Changes (PR)
|
||||
- Fork → branch → code.
|
||||
- Open PR → Choose a PR template ([Bug Fix], [New Feature], [Add Games direct], [Documentation]).
|
||||
- Test locally if possible (run scripts manually).
|
||||
- Clear description — I'll review slowly (unemployed schedule + Grok help).
|
||||
- Use **[GitHub Discussions](https://github.com/poli0981/free-games-itchio-list/discussions)**, the Discord servers or email (see "Discuss More" below). Roast or praise, my self-loathing can handle it.
|
||||
- They are read, but they don't turn into new features (section 4).
|
||||
|
||||
### 8. Webapp Changes (React + TS)
|
||||
### 6. Dependencies and Security Fixes
|
||||
|
||||
The browse/edit UI lives in [`webapp/`](webapp/). Same MIT license, same PR template.
|
||||
- Dependency updates are handled by Dependabot and the Maintainer's weekly sweep: please don't send version-bump PRs.
|
||||
- Found a vulnerability? Report it privately ([SECURITY.md](SECURITY.md)); the Maintainer makes the fix.
|
||||
|
||||
### 7. Pull Requests
|
||||
|
||||
- **Accepted**: a PR that adds itch.io URLs to `scripts/temp_link.json` (use the [Add Games] PR template). Merging it is the Maintainer's approval.
|
||||
- **Not accepted**: everything else (code, UI, docs, refactors). Fixing or removing a game's data goes through an issue or email (sections 2 and 3), because the pipeline owns `data_game/`.
|
||||
- The rules below still apply to every PR, the Maintainer's own included.
|
||||
|
||||
**PR rules** (the non-negotiable part):
|
||||
|
||||
- **CI must pass.** Python CI (ruff check + format, vulture, pytest, `validate.py`) and Webapp CI (Tauri crate/npm version check, type generation check, lint, knip, tests, build, `wrangler deploy --dry-run`) both run on PRs. Red CI = no merge. SonarQube Cloud also analyses each PR (with test coverage) and reports its quality gate as the "SonarCloud Code Analysis" check, and Qodana (JetBrains) analyses the TypeScript / JavaScript, Python and Rust code. Both skip PRs from forks, which get no repository secrets.
|
||||
- **PRs are merged with squash** (one PR becomes one commit on `main`) **or a merge commit, never by fast-forward**, so make the PR title a good commit message (the repo uses the `type(scope): summary` style, e.g. `fix(web): …`).
|
||||
- **Licensing is inbound = outbound.** By opening a PR you agree that your contribution is licensed under the same license as the part it changes: **MIT** for code, **CC BY 4.0** for catalog data and documentation (see [README → License](README.md#license)). Only submit work you have the right to submit.
|
||||
- **Never commit secrets**: no tokens, API keys, `.dev.vars` / `.env` files, private keys (such as the GitHub App key) or signing keystores. If you pushed one by accident, report it privately (security@poli0981.dev) and rotate it; deleting the commit is not enough.
|
||||
- **Don't edit `data_game/` by hand.** Data changes go through the pipeline (a patch + `apply_patch.py`, which runs `validate.py`), so concurrent writers never clobber each other.
|
||||
- Don't commit build output or generated files: `webapp/dist/`, `webapp/.wrangler/`, `webapp/src-tauri/target/`, `webapp/src-tauri/gen/`. (`webapp/src-tauri/Cargo.lock` **is** committed; keep it in sync when you change `Cargo.toml`.)
|
||||
- Adding an npm dependency? Also add it to the `THIRD_PARTY` list in `webapp/src/lib/about.ts` so the About page credits it.
|
||||
- New external link in the app? Use `<ExtLink href="…">` from `webapp/src/components/ext-link.tsx`, not a plain `<a href="…" target="_blank">`: plain anchors work on the web but silently break in the Tauri apps (and ExtLink tells screen readers the link opens a new tab).
|
||||
- **Accessibility**: UI changes keep working with the keyboard alone and with screen readers, and keep the contrast ratios (`npm test` checks the colours). The checklist is in [ACCESSIBILITY.md → For contributors](ACCESSIBILITY.md#8-for-contributors) and in the pull request template.
|
||||
|
||||
### 8. Dev Setup (Summary)
|
||||
|
||||
For forks, and for the Maintainer's own maintenance work.
|
||||
|
||||
Full instructions (Worker, local D1, secrets, Tauri, Android) are in **[`docs/dev_env.md`](docs/dev_env.md)**; the Tauri/Android build notes are in [`webapp/TAURI.md`](webapp/TAURI.md). The short version:
|
||||
|
||||
**Python pipeline** (Python 3.15, see `.github/python-version`):
|
||||
|
||||
**Local dev** (Node 22+, npm):
|
||||
```sh
|
||||
cd webapp
|
||||
npm install
|
||||
npm run dev # http://localhost:5173
|
||||
npm run build # writes to docs/app/ (verify before pushing)
|
||||
npm run lint # eslint
|
||||
python -m venv .venv
|
||||
# activate it, then:
|
||||
pip install -r requirements-dev.txt
|
||||
pytest # no network needed
|
||||
ruff check scripts tests webapp/scripts
|
||||
ruff format scripts tests
|
||||
python scripts/validate.py # checks every data file
|
||||
```
|
||||
|
||||
**Tauri desktop dev** (also needs Rust via https://rustup.rs and platform deps — see [`webapp/TAURI.md`](webapp/TAURI.md)):
|
||||
To try a real scrape locally: add a URL to `scripts/temp_link.json`, then run
|
||||
`python scripts/update_info.py --out patch.json` and `python scripts/apply_patch.py patch.json`
|
||||
(don't commit the result; see the PR rules above).
|
||||
|
||||
**Webapp + Worker** (Node.js 26+, CI uses the version in `webapp/.node-version`):
|
||||
|
||||
```sh
|
||||
cd webapp
|
||||
npm ci
|
||||
npm run dev # Vite on http://localhost:5173
|
||||
npm run build # writes to webapp/dist/ (the Worker serves it as its assets)
|
||||
npx wrangler dev # second terminal: Worker on :8787; Vite proxies /api and /img to it
|
||||
npm test # vitest
|
||||
npm run lint
|
||||
npm run knip
|
||||
```
|
||||
|
||||
**Tauri apps** (also needs Rust via <https://rustup.rs> and platform deps):
|
||||
|
||||
```sh
|
||||
cd webapp
|
||||
npm run tauri:dev # native window pointing at the Vite dev server
|
||||
npm run tauri:build # produce installers in src-tauri/target/release/bundle/
|
||||
npm run tauri:build # installers in src-tauri/target/release/bundle/
|
||||
```
|
||||
|
||||
**House rules**:
|
||||
- Don't commit `webapp/dist/` or `docs/app/` — CI builds them on push to `main`.
|
||||
- Don't commit a real PAT into the repo (that's also a webapp Settings concern, not a CI concern).
|
||||
- Add new third-party deps? Update `webapp/src/lib/about.ts` so the About page lists them.
|
||||
|
||||
## Tips for Smooth Contributing
|
||||
- **Test locally**: Clone, add to `temp_link.json`, run `python update_info.py` → `generate_md.py`, check `/lists/`.
|
||||
- **Keep clean**: Only free itch.io games, no paid/demo/malware/duplicates.
|
||||
- **Be patient**: I'm introvert + lazy, replies might be slow.
|
||||
- **Agreement**: All templates have a required checkbox — off-topic/spam/violate policy = I ignore/close without drama :D
|
||||
|
||||
## Discuss More? (If Templates Not Enough)
|
||||
Issues/PRs are best for tracking, but if you wanna describe bugs/features in depth, chit-chat, or share noob stories — there are actual servers now (introvert god-mode breached):
|
||||
- **Test locally**: run the checks from section 8 before pushing; CI runs the same ones.
|
||||
- **Keep it clean**: only free itch.io games, no paid/demo/malware/duplicates.
|
||||
- **Be patient**: I'm introvert + lazy, replies might be slow.
|
||||
- **Agreement**: all issue templates have a required checkbox. Off-topic/spam/policy violations, and anything outside the maintenance scope above, get ignored/closed without drama :D
|
||||
- **Be cool**: everything here falls under the [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
## Discuss More? (If Templates Aren't Enough)
|
||||
|
||||
Issues are best for tracking data problems, but if you wanna chit-chat, ask something, or share noob stories, there are [GitHub Discussions](https://github.com/poli0981/free-games-itchio-list/discussions) and actual servers now (introvert god-mode breached):
|
||||
|
||||
**Chat / community**
|
||||
- Discord — Repo discussion (#general): https://discord.gg/2aNR3aVt
|
||||
- Discord — Game chat (#general): https://discord.gg/kDM9GMu5vm
|
||||
- Discord: Repo discussion (#general): https://discord.gg/2aNR3aVt
|
||||
- Discord: Game chat (#general): https://discord.gg/kDM9GMu5vm
|
||||
|
||||
**Social (DMs open, replies slow)**
|
||||
- X (Twitter): [@SkullMute0011](https://x.com/SkullMute0011)
|
||||
@@ -111,8 +153,8 @@ Issues/PRs are best for tracking, but if you wanna describe bugs/features in dep
|
||||
**Support the boredom project (totally optional, $50 bank account thanks you)**
|
||||
- [Patreon](https://patreon.com/skullmute) · [Ko-fi](https://ko-fi.com/skullmute) · [Steam profile](https://steamcommunity.com/profiles/76561199544666292/)
|
||||
|
||||
Grok can't join Discord, but ping me on any channel — I'll try not to ghost.
|
||||
Grok and Claude Code can't join Discord, but ping me on any channel, I'll try not to ghost.
|
||||
|
||||
Big thanks in [ACKNOWLEDGEMENTS.md](docs/ACKNOWLEDGEMENTS.md) for any help!
|
||||
|
||||
This repo is MIT — go wild, but chill. Questions? Just open a **[General]** issue :D 🚀
|
||||
Code is MIT, data and docs are CC BY 4.0: go wild, but chill. Questions? Just open a **[General]** issue :D 🚀
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 poli0981
|
||||
Copyright (c) 2025-2026 poli0981 (SkullMute)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -0,0 +1,396 @@
|
||||
Attribution 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution 4.0 International Public License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution 4.0 International Public License ("Public License"). To the
|
||||
extent this Public License may be interpreted as a contract, You are
|
||||
granted the Licensed Rights in consideration of Your acceptance of
|
||||
these terms and conditions, and the Licensor grants You such rights in
|
||||
consideration of benefits the Licensor receives from making the
|
||||
Licensed Material available under these terms and conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
d. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
f. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
g. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
h. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
i. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
j. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
k. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
4. If You Share Adapted Material You produce, the Adapter's
|
||||
License You apply must not prevent recipients of the Adapted
|
||||
Material from complying with this Public License.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
# Notice
|
||||
|
||||
Last updated: 2026-10-16
|
||||
|
||||
Applies from: the release of version 4.0.0.
|
||||
|
||||
This file explains who owns what in `free-games-itchio-list` and the website <https://freeitchgames.win>,
|
||||
and which license applies to which part.
|
||||
|
||||
## 1. Not affiliated with itch.io
|
||||
|
||||
This is an independent, unofficial hobby project by **poli0981 (SkullMute)** ("the Maintainer"). It is
|
||||
**not affiliated with, endorsed by, or sponsored by itch.io or Leaf Corcoran / itch corp**. The name
|
||||
"itch.io" is used only to say where the listed games are published.
|
||||
|
||||
The games are hosted on itch.io and belong to their creators, who set their own licenses and terms.
|
||||
The project does not host or distribute game files. Every game link goes to the game's itch.io page.
|
||||
|
||||
## 2. Trademarks
|
||||
|
||||
- "itch.io" and the itch.io logo are trademarks of their owner.
|
||||
- Game names, logos and other marks belong to their respective creators or owners.
|
||||
- Other product and company names in this repository (for example Cloudflare, GitHub, Discord, Tauri) are
|
||||
trademarks of their respective owners.
|
||||
|
||||
They are used only to identify the thing they name. That use does not suggest any endorsement.
|
||||
|
||||
## 3. Creator content
|
||||
|
||||
The catalog copies some material from each public itch.io game page: the game's name, developer,
|
||||
description text, genre, tags and other metadata, and the cover image URL. **Descriptions and cover images
|
||||
remain the property of their creators.** The project does not license them to anyone
|
||||
(see [`data_game/LICENSE.md`](data_game/LICENSE.md), section 3).
|
||||
|
||||
Creators and rights holders can ask for a game to be removed or corrected. Email
|
||||
**takedown@poli0981.dev** or open the
|
||||
["Remove a game" issue](https://github.com/poli0981/free-games-itchio-list/issues/new?template=remove_game.yml).
|
||||
The process is described in the [Terms of Use](docs/ToS.md).
|
||||
|
||||
## 4. License map
|
||||
|
||||
| Part | What it includes | License | Text |
|
||||
|---|---|---|---|
|
||||
| **Code** | Everything not listed below, including `scripts/`, `webapp/`, `bash/`, `.github/workflows/` and `tests/` | MIT, `Copyright (c) 2025-2026 poli0981 (SkullMute)` | [`LICENSE`](LICENSE) |
|
||||
| **Catalog data** | `data_game/`, `scripts/deleted_games.json`, and the files built from them under <https://freeitchgames.win/data> | CC BY 4.0, for the Maintainer's contribution only. Creator descriptions, cover images, game names and trademarks are **excluded** | [`data_game/LICENSE.md`](data_game/LICENSE.md), [`LICENSES/CC-BY-4.0.txt`](LICENSES/CC-BY-4.0.txt) |
|
||||
| **Documentation** | `*.md` files in the repository root and in `docs/` (README, policies, guides and their Vietnamese translations) | CC BY 4.0 | [`LICENSES/CC-BY-4.0.txt`](LICENSES/CC-BY-4.0.txt) |
|
||||
| **Third-party components** | Libraries, frameworks and tools the project uses | Their own licenses | [`docs/THIRD_PARTY.md`](docs/THIRD_PARTY.md) and the [About page](https://freeitchgames.win/about) |
|
||||
| **Browser extension** (archived) | [poli0981/itch-f2p-extension](https://github.com/poli0981/itch-f2p-extension), a separate repository, archived and no longer used | GPL-3.0 | That repository |
|
||||
|
||||
When you reuse the documentation, credit poli0981 (SkullMute), link to this repository and to CC BY 4.0,
|
||||
and say if you changed it. For the data, use the credit line in
|
||||
[`data_game/LICENSE.md`](data_game/LICENSE.md), section 4.
|
||||
|
||||
The license texts in [`LICENSE`](LICENSE) and [`LICENSES/`](LICENSES/) are reproduced as published by their
|
||||
authors.
|
||||
|
||||
## 5. Code of Conduct attribution
|
||||
|
||||
The [Code of Conduct](CODE_OF_CONDUCT.md) and its
|
||||
[Vietnamese translation](docs/i18n/vi/CODE_OF_CONDUCT.md) are adapted from the
|
||||
[Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at
|
||||
<https://www.contributor-covenant.org/version/2/1/code_of_conduct/>. The Contributor Covenant is licensed
|
||||
under CC BY 4.0.
|
||||
|
||||
## 6. Third-party software
|
||||
|
||||
The website, the desktop and Android apps and the data pipeline are built with open-source software that
|
||||
keeps its own licenses. The list, with licenses, is in [`docs/THIRD_PARTY.md`](docs/THIRD_PARTY.md). The
|
||||
runtime libraries are also listed on the [About page](https://freeitchgames.win/about). The project's
|
||||
licenses do not change those licenses.
|
||||
|
||||
## 7. Contributions
|
||||
|
||||
Contributions follow the rule "inbound = outbound":
|
||||
|
||||
- contributions to the **code** are licensed under the **MIT License**;
|
||||
- contributions to the **data** or the **documentation** are licensed under **CC BY 4.0**.
|
||||
|
||||
Only contribute material you have the right to share under those terms.
|
||||
|
||||
## 8. Contact
|
||||
|
||||
- Content removal and copyright: **takedown@poli0981.dev**
|
||||
- Anything else legal: **legal@poli0981.dev**
|
||||
|
||||
---
|
||||
|
||||
*This notice is written by a hobby maintainer, not a lawyer, and it is not legal advice. If this file and a
|
||||
license text disagree, the license text wins.*
|
||||
@@ -1,167 +1,286 @@
|
||||
# Free Itch.io Games List
|
||||
|
||||
[](https://github.com/poli0981/free-games-itchio-list/)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/releases/latest)
|
||||
[](#project-status)
|
||||
[](https://freeitchgames.win)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/stargazers)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/network/members)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/commits/main)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/actions/workflows/python-ci.yml)
|
||||
[](https://sonarcloud.io/summary/new_code?id=poli0981_free-games-itchio-list)
|
||||
[](https://sonarcloud.io/summary/new_code?id=poli0981_free-games-itchio-list)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/actions/workflows/qodana.yml)
|
||||
[](ACCESSIBILITY.md)
|
||||
[](LICENSE)
|
||||
[](data_game/LICENSE.md)
|
||||
[](README.vi.md)
|
||||
|
||||
> 🇻🇳 Tiếng Việt: see [`README.vi.md`](README.vi.md). Vietnamese translations of the policy docs live in [`docs/i18n/vi/`](docs/i18n/vi/). The English versions in this repo remain controlling for legal interpretation.
|
||||
|
||||
A curated, auto-updating catalog of free games on [itch.io](https://itch.io). Games are scraped, validated, and
|
||||
organized into browsable markdown tables — updated daily via GitHub Actions.
|
||||
A curated, auto-updating catalog of **6,000+ free games on [itch.io](https://itch.io)**. Browse it at
|
||||
**<https://freeitchgames.win>**: search, filter, sort, and jump to any game's itch.io page. The site is
|
||||
read-only for everyone: no accounts, no sign-in, no comments, no ads, no payments.
|
||||
|
||||
## Project status
|
||||
|
||||
**Stable, maintenance only** (since version 4.6.1, 2026-11-11). The project is feature-complete: the
|
||||
website, the apps and the data pipeline keep running, and the catalog keeps updating itself every day.
|
||||
|
||||
- **What still happens**: security fixes (CVEs and reports made through [SECURITY.md](SECURITY.md)),
|
||||
runtime and dependency updates (Node.js, Python, Rust, npm / pip / cargo packages, GitHub Actions),
|
||||
and repairs when something stops the site or the daily data updates from working.
|
||||
- **What no longer happens**: new features, redesigns and refactors. Feature requests and code
|
||||
pull requests are closed without review.
|
||||
- **Issues and pull requests are for the data only**: adding games, fixing a game's data, removing a
|
||||
game. See [Contributing](#contributing).
|
||||
|
||||
## Table of contents
|
||||
|
||||
- [Browse by genre](#browse-by-genre)
|
||||
- [Webapp (browse + edit + analytics)](#webapp-browse--edit--analytics)
|
||||
- [How it works](#how-it-works)
|
||||
- [Project status](#project-status)
|
||||
- [Browse the catalog](#browse-the-catalog)
|
||||
- [Desktop and Android apps](#desktop-and-android-apps)
|
||||
- [Add a game](#add-a-game)
|
||||
- [How the data stays fresh](#how-the-data-stays-fresh)
|
||||
- [Under the hood](#under-the-hood)
|
||||
- [Project structure](#project-structure)
|
||||
- [Automation (GitHub Actions)](#automation-github-actions)
|
||||
- [Automation](#automation)
|
||||
- [Data fields](#data-fields)
|
||||
- [Contributing](#contributing)
|
||||
- [Connect / support](#connect--support)
|
||||
- [License](#license)
|
||||
- [Legal](#legal)
|
||||
|
||||
## Browse by genre
|
||||
## Browse the catalog
|
||||
|
||||
Tables are auto-generated and split by primary genre (max 300 games per file). New genres appear automatically as games
|
||||
are added.
|
||||
Everything lives on the website, **<https://freeitchgames.win>**:
|
||||
|
||||
- [Action](lists/action.md)
|
||||
- [Adventure](lists/adventure.md)
|
||||
- [Puzzle](lists/puzzle.md)
|
||||
- [Horror](lists/horror.md)
|
||||
- [Visual Novel](lists/visual_novel.md)
|
||||
- [Simulation](lists/simulation.md)
|
||||
- [Platformer](lists/platformer.md)
|
||||
- [Other](lists/other.md)
|
||||
- *(more genres auto-create as needed)*
|
||||
- **Games**: the whole catalog in one fast table (a compact list on phones), with filters for genre, platform,
|
||||
status, the creator's generative-AI disclosure, accessibility and more, plus a detail page for every game.
|
||||
- **Charts**: how the catalog breaks down, and how it has grown over time.
|
||||
- **Removed**: every game dropped from the catalog, with the reason
|
||||
(<https://freeitchgames.win/removed>).
|
||||
- **A quick check first.** Your first visit, then about once every 48 hours, starts with a short
|
||||
Cloudflare Turnstile check that keeps bots out. It usually passes by itself and then opens the page
|
||||
you asked for. The catalog data under `/data` and the apps don't need it.
|
||||
- **18+ content is hidden by default.** Games flagged `nsfw: Yes` stay hidden (covers included) unless
|
||||
you opt in under Settings after confirming you are 18 or older. That choice is stored only in your
|
||||
browser.
|
||||
- **Made for every way of browsing.** Everything works with the keyboard alone and with screen readers,
|
||||
colours meet the WCAG contrast ratios in both themes, every chart has a data table, and the site
|
||||
follows your system's reduced-motion and contrast settings. What works, the known gaps and how to
|
||||
report a barrier: [ACCESSIBILITY.md](ACCESSIBILITY.md).
|
||||
|
||||
## Webapp (browse + edit + analytics)
|
||||
Every link goes to the game's own page on itch.io. Cover images on the website are resized copies served
|
||||
by freeitchgames.win, so your browser does not contact itch.io until you click a link.
|
||||
|
||||
A React + TypeScript SPA in [`webapp/`](webapp/) provides a browsable UI on top of the same JSON
|
||||
catalog: virtualized DataTable for all 500+ games, faceted filters (genre / status / platforms /
|
||||
NSFW), 16 charts (Recharts), bulk edit/delete via the GitHub Git Data API, and a one-click "add"
|
||||
flow that dispatches the scraper workflow with a URL input.
|
||||
Want the raw data? It is plain JSON in [`data_game/`](data_game/) (plus
|
||||
[`scripts/deleted_games.json`](scripts/deleted_games.json)) in this repo: clone it, download it, or read the
|
||||
raw files. Please use those instead of scraping the website, which serves its own compact format; see
|
||||
[License](#license) for how you may reuse them.
|
||||
|
||||
- **Web build**: deployed to GitHub Pages by [`.github/workflows/deploy_webapp.yml`](.github/workflows/deploy_webapp.yml)
|
||||
— pushes to `main` that touch `webapp/` ship automatically. (One-time setup: repo
|
||||
Settings → Pages → Source = "GitHub Actions".)
|
||||
- **Desktop build (optional)**: same React code wraps as a Tauri 2 native app for Windows / macOS
|
||||
/ Linux. See [`webapp/TAURI.md`](webapp/TAURI.md) for prerequisites and `npm run tauri:dev`.
|
||||
Multi-platform installers are built by [`.github/workflows/release_desktop.yml`](.github/workflows/release_desktop.yml)
|
||||
on tag push (`v*`).
|
||||
- **Auth**: a fine-grained PAT with `contents:write` + `workflow:write` is encrypted in
|
||||
localStorage with a passphrase (AES-GCM, PBKDF2-SHA256). Decrypted token only lives in memory.
|
||||
Reads are public (no auth needed).
|
||||
- **Edits commit as `chore(webapp): …`** so they're easy to filter from the daily scraper
|
||||
commits.
|
||||
(The old address, `poli0981.github.io/free-games-itchio-list`, only redirects to the new site. The
|
||||
per-genre markdown tables under `lists/` and `deleted_games.txt` are gone: the catalog is web-only.)
|
||||
|
||||
Local dev:
|
||||
## Desktop and Android apps
|
||||
|
||||
The same app also ships as native **read-only viewers**, built with Tauri 2 from the same code. Grab them
|
||||
from the latest [GitHub Release](https://github.com/poli0981/free-games-itchio-list/releases/latest):
|
||||
|
||||
| Platform | Files |
|
||||
|---|---|
|
||||
| Windows | `.msi` or `.exe` installer |
|
||||
| macOS | `.dmg`, `.pkg` or `.app.tar.gz` (needs Safari/WebKit 16.4 or newer) |
|
||||
| Linux | `.deb`, `.rpm` or `.AppImage` |
|
||||
| Android 11+ (arm64-v8a) | `.apk` (sideloaded, see below) |
|
||||
|
||||
The apps download the catalog data from <https://freeitchgames.win/data> and load cover images directly
|
||||
from itch.io's image CDN (`img.itch.zone`); clicking a game opens itch.io in your browser. No telemetry.
|
||||
Updates are manual: download a new release when one comes out. Installing an app means accepting the
|
||||
[EULA](docs/EULA.md).
|
||||
|
||||
### Android (download & install)
|
||||
|
||||
No Play Store: just grab the `.apk` and sideload it (Android is fine with this, it just asks nicely first):
|
||||
|
||||
1. Open the latest [Release](https://github.com/poli0981/free-games-itchio-list/releases/latest) and
|
||||
download `FreeGamesItchio_<version>_arm64-v8a.apk`. Only install the APK from that page: it is signed
|
||||
with the project's key.
|
||||
2. Tap it. Android will ask to **allow installs from this source** (browser / file manager). Turn it on
|
||||
(Settings → *Apps* → *Special access* → *Install unknown apps*).
|
||||
3. Accept the "not from Play Store" warning and install. It's the same app as the web/desktop build.
|
||||
|
||||
Notes: **arm64-v8a only** (every phone since ~2017; 32-bit-only devices aren't supported), and Android
|
||||
**11+** (API 30). Older versions can't install it. That's deliberate: it keeps the floor at a release that
|
||||
still gets security hardening and that we actually test on (≈87% of active devices;
|
||||
[why](webapp/TAURI.md#why-android-11-api-30)). Building it yourself is in the Android section of
|
||||
[`webapp/TAURI.md`](webapp/TAURI.md).
|
||||
|
||||
## Add a game
|
||||
|
||||
There are three ways a game gets into the catalog. Each is approved by the Maintainer, one by one in the
|
||||
review queue or through automatic rules the Maintainer sets.
|
||||
|
||||
1. **Suggest page**: <https://freeitchgames.win/suggest>. Paste an itch.io game link and, if you like, a
|
||||
short note (up to 500 characters; notes are deleted after 180 days). A Cloudflare Turnstile check and a
|
||||
rate limit keep spam out. Please don't put personal data in the note.
|
||||
2. **Automatic discovery**: every 4 hours the site reads one of itch.io's public RSS feeds of new and
|
||||
popular free games (one feed per run) and queues what it finds.
|
||||
3. **Followed collections**: the site also reads the public itch.io collections the Maintainer follows and
|
||||
queues their new free games directly (one removed before, or with a warning flag, goes to the review
|
||||
queue instead).
|
||||
|
||||
The Maintainer's browser extension and the old Telegram bot are retired; their repositories
|
||||
([itch-f2p-extension](https://github.com/poli0981/itch-f2p-extension),
|
||||
[telegram-scraper-bot](https://github.com/poli0981/telegram-scraper-bot)) are archived.
|
||||
|
||||
The Maintainer reviews the queue in a private admin area (protected by Cloudflare Access); an item
|
||||
without a warning flag that nobody rejected within a waiting time (24 hours by default) is approved
|
||||
automatically. Approved links are handed to the data pipeline, which scrapes each game page; paid games
|
||||
are dropped.
|
||||
|
||||
Prefer GitHub, or have a long list? The "Add Games (bulk list)" issue template works too; those links go
|
||||
through the same review. See [CONTRIBUTING.md](CONTRIBUTING.md#1-suggest-new-games-most-welcome).
|
||||
|
||||
Want a game **removed**, or its data corrected (game creators especially)? Email
|
||||
**takedown@poli0981.dev** or open a
|
||||
["Remove a game" issue](https://github.com/poli0981/free-games-itchio-list/issues/new?template=remove_game.yml).
|
||||
Include the game URL, who you are (creator / rights holder, or authorized by them) and the reason.
|
||||
Details: [Terms of Use](docs/ToS.md) and [Disclaimer](docs/DISCLAIMER.md).
|
||||
|
||||
## How the data stays fresh
|
||||
|
||||
```
|
||||
Suggest page ──┬─→ review queue ─→ Maintainer approves ─→ scripts/temp_link.json
|
||||
RSS feeds ──┘ (admin, or auto rules) │
|
||||
Followed collections ─────────────────────────────────────────┤
|
||||
▼
|
||||
update.yml → update_info.py (new games) ──┐
|
||||
refresh.yml → refresh.py (1/7 per day) ──┴─→ patch ─→ apply_patch.py
|
||||
(validate + push)
|
||||
│
|
||||
freeitchgames.win/data ←── data_game/*.json
|
||||
```
|
||||
|
||||
1. **Queue**: approved links are committed to `scripts/temp_link.json` by the project's GitHub App
|
||||
(verified commits).
|
||||
2. **Ingest**: `update.yml` runs `update_info.py` as soon as the queue changes (and daily as a fallback).
|
||||
Each link is canonicalized, fetched, checked for free status and scraped; paid, dead, duplicate and
|
||||
previously removed games are skipped. Transient failures stay queued and are retried (up to 3 runs).
|
||||
3. **Refresh**: `refresh.yml` re-checks one seventh of the catalog every day (one request per game), so
|
||||
every game is re-checked weekly: dead links (404/410), games that became paid, rating and status. A
|
||||
game is only removed when the same problem is seen again at least 20 hours later. Removals are logged
|
||||
with a reason in [`scripts/deleted_games.json`](scripts/deleted_games.json), and a run that would
|
||||
remove an implausible number of games holds them back and alerts instead.
|
||||
4. **Commit safely**: both steps emit a URL-keyed patch; `apply_patch.py` applies it to the latest `main`,
|
||||
validates every data file (`validate.py`) and only then pushes, retrying if another writer got there
|
||||
first.
|
||||
5. **Publish**: every push to `main` rebuilds the website, which bundles the catalog under
|
||||
<https://freeitchgames.win/data>.
|
||||
|
||||
The pipeline is polite to itch.io: it identifies itself as
|
||||
`FreeItchGamesBot/4.0 (+https://freeitchgames.win/about)`, paces its requests and honours HTTP 429 /
|
||||
`Retry-After`. Only public itch.io pages and feeds are read.
|
||||
|
||||
## Under the hood
|
||||
|
||||
- **Web app** ([`webapp/src/`](webapp/src/)): React + TypeScript + Vite + Tailwind CSS, TanStack
|
||||
Query, React Router, Zustand. English and Vietnamese UI.
|
||||
- **Cloudflare Worker** ([`webapp/worker/`](webapp/worker/)): serves the site and `/data`, the verification gate
|
||||
(Cloudflare Turnstile), the image proxy (`/img`, resized WebP covers stored on Cloudflare R2), the Suggest API, the review queue
|
||||
(Cloudflare D1), the admin API and the RSS discovery schedule. Config:
|
||||
[`webapp/wrangler.jsonc`](webapp/wrangler.jsonc).
|
||||
- **Admin app** ([`webapp/admin/`](webapp/admin/)): the Maintainer-only review screen at `/admin`, behind
|
||||
Cloudflare Access. It writes to this repo as a GitHub App.
|
||||
- **Native shell** ([`webapp/src-tauri/`](webapp/src-tauri/)): Tauri 2 for Windows, macOS, Linux and
|
||||
Android. See [`webapp/TAURI.md`](webapp/TAURI.md).
|
||||
- **Data pipeline** ([`scripts/`](scripts/), Python 3.15): scraper, refresh, patch/apply and validation,
|
||||
run by GitHub Actions.
|
||||
|
||||
Deploys happen through Cloudflare Workers Builds (root dir `webapp`, `npm run build`, then
|
||||
`npx wrangler deploy`): every push to `main` ships automatically.
|
||||
|
||||
Quick local dev (full setup, including the Worker, secrets and tests, is in
|
||||
[`docs/dev_env.md`](docs/dev_env.md)):
|
||||
|
||||
```sh
|
||||
cd webapp
|
||||
npm install
|
||||
npm run dev # http://localhost:5173
|
||||
npm run build # writes to docs/app/
|
||||
npm run tauri:dev # native desktop (requires Rust)
|
||||
npm ci
|
||||
npm run dev # http://localhost:5173 (Vite)
|
||||
npm run build # writes to webapp/dist/ (the Worker serves it as its assets)
|
||||
npx wrangler dev # second terminal: Worker on :8787; Vite proxies /api and /img to it
|
||||
npm run tauri:dev # native desktop window (requires Rust)
|
||||
```
|
||||
|
||||
## How it works
|
||||
|
||||
```
|
||||
temp_link.json → update_info.py → data_game/
|
||||
(new URLs added here) (scrape + free check) game_info_001.json
|
||||
game_info_002.json ...
|
||||
│
|
||||
┌─────────────────────────────────────────┘
|
||||
▼ ▼
|
||||
generate_md.py check_paid.py
|
||||
(MD tables) check_alive.py
|
||||
(cleanup)
|
||||
```
|
||||
|
||||
1. **Add links** — paste itch.io URLs into `scripts/temp_link.json` (manually, via PR, or via the companion browser
|
||||
extension).
|
||||
2. **Daily scrape** — GitHub Actions runs `update_info.py` at 03:00 UTC. Each link is fetched, checked for free status,
|
||||
and scraped for metadata. Paid games are automatically skipped.
|
||||
3. **Generate tables** — `generate_md.py` groups games by primary genre and outputs markdown tables into `/lists/`.
|
||||
4. **Periodic cleanup** — every 2 days, `check_paid.py` re-checks if any game in the list became paid, and
|
||||
`check_alive.py` verifies that game pages still exist. Removed games are logged with a reason.
|
||||
|
||||
## Project structure
|
||||
|
||||
```
|
||||
data_game/ # Game database (chunked JSON, max 500 per file)
|
||||
data_game/ # Catalog (chunked JSON, max 500 per file) + LICENSE.md (CC BY 4.0)
|
||||
├── game_info_001.json
|
||||
├── game_info_002.json
|
||||
└── ...
|
||||
├── ...
|
||||
├── index.json # Chunk manifest (total + per-file counts)
|
||||
└── count_history.json # Daily totals for the "games over time" chart
|
||||
|
||||
scripts/
|
||||
├── scraper.py # Shared module: session, rate-limiting, free detection, parsing
|
||||
├── data_store.py # Shared module: multi-file load/save/rebalance
|
||||
├── update_info.py # Scrape new games from temp_link.json → data_game/
|
||||
├── check_paid.py # Re-check existing games for paid status
|
||||
├── check_alive.py # Verify game URLs still exist (404/410 → remove)
|
||||
├── generate_md.py # Generate per-genre markdown tables
|
||||
├── log_deleted.py # Export deleted_games.json → deleted_games.txt
|
||||
├── temp_link.json # Input queue for new URLs
|
||||
└── deleted_games.json # Log of removed games with reasons
|
||||
├── scraper.py # Shared: HTTP session, pacing / 429 back-off, free detection, parsing
|
||||
├── data_store.py # Shared: chunked load/save (minimal diffs), index.json, count_history.json
|
||||
├── canonical.py # One canonical form for itch.io game URLs
|
||||
├── update_info.py # Queued URLs → patch (new games)
|
||||
├── refresh.py # Rotating health check → patch (alive / paid / rating / status); --full re-scrape
|
||||
├── apply_patch.py # Apply a patch to the latest main, then validate
|
||||
├── validate.py # Schema + consistency checks for every data file
|
||||
├── temp_link.json # Ingest queue (approved links)
|
||||
├── deleted_games.json # Log of removed games with reasons (public)
|
||||
└── state/ # Pipeline bookkeeping (last check, strikes, retries), not published
|
||||
|
||||
bash/
|
||||
├── test.sh # Wrapper: scrape + reset temp_link
|
||||
├── table.sh # Wrapper: generate MD tables
|
||||
├── check_paid.sh # Wrapper: check paid status
|
||||
├── check_alive.sh # Wrapper: check dead links
|
||||
└── log_deleted.sh # Wrapper: export deletion log
|
||||
bash/commit_push.sh # fetch main → apply patch → validate → commit → push (with retries)
|
||||
bash/cf_build_status.sh # main's latest Cloudflare Workers Build → Discord on failure (deploy-status.yml)
|
||||
tests/ # pytest suite (no network) + fixtures shared with the Worker
|
||||
|
||||
lists/ # Auto-generated markdown tables (one per genre)
|
||||
webapp/
|
||||
├── src/ # React app (routes, components, stores, i18n)
|
||||
├── admin/ # Maintainer-only admin app (/admin)
|
||||
├── worker/ # Cloudflare Worker (data, image proxy, APIs, review queue, RSS discovery)
|
||||
├── src-tauri/ # Tauri 2 shell (desktop + Android)
|
||||
├── wrangler.jsonc # Cloudflare config
|
||||
└── TAURI.md # Desktop / Android build notes
|
||||
|
||||
.github/workflows/
|
||||
├── update.yml # Daily 03:00 UTC — scrape new games
|
||||
│ # (also accepts an optional `url` input from webapp)
|
||||
├── generate_table.yml # Runs after update/check workflows
|
||||
├── check_paid.yml # Every 2 days 04:00 UTC
|
||||
├── check_alive.yml # Every 2 days 07:00 UTC
|
||||
├── log_deleted.yml # Runs after check workflows
|
||||
├── deploy_webapp.yml # Build webapp/ → GitHub Pages on push to main
|
||||
└── release_desktop.yml # Build Tauri installers (Win/macOS/Linux) on v* tag
|
||||
|
||||
webapp/ # React + TS SPA + Tauri desktop wrapper
|
||||
├── src/ # React app (routes, components, hooks, stores)
|
||||
├── src-tauri/ # Rust + Tauri 2 config (icons, capabilities, main.rs)
|
||||
├── TAURI.md # Desktop build prerequisites and instructions
|
||||
├── package.json
|
||||
├── vite.config.ts
|
||||
└── tailwind.config.ts
|
||||
LICENSE # MIT (code)
|
||||
LICENSES/CC-BY-4.0.txt # Full CC BY 4.0 legal code (data + docs)
|
||||
NOTICE.md # License map, non-affiliation, attributions
|
||||
docs/ # Policies, dev environment, third-party list (+ Vietnamese mirrors in docs/i18n/vi/)
|
||||
```
|
||||
|
||||
## Automation (GitHub Actions)
|
||||
## Automation
|
||||
|
||||
| Workflow | Schedule | Purpose |
|
||||
|--------------------|------------------------|-------------------------------------------------------------|
|
||||
| Update game info | Daily 03:00 UTC | Scrape new links from `temp_link.json` (+ optional `url` input from webapp), skip paid |
|
||||
| Generate tables | After update/checks | Rebuild markdown tables in `/lists/` |
|
||||
| Check paid games | Every 2 days 04:00 UTC | Remove games that became paid |
|
||||
| Check dead links | Every 2 days 07:00 UTC | Remove 404/410 game pages |
|
||||
| Log deleted games | After check workflows | Export deletion log to `deleted_games.txt` |
|
||||
| Deploy webapp | On push to main | Build `webapp/` → GitHub Pages (`docs/app/`) |
|
||||
| Release desktop | On `v*` tag push | Build Tauri installers (Win/macOS/Linux) → draft Release |
|
||||
| Job | Schedule | Purpose |
|
||||
|---|---|---|
|
||||
| Ingest (`update.yml`) | On queue change + daily 01:23 UTC | Scrape approved links from `temp_link.json`, skip paid / dead / removed |
|
||||
| Refresh (`refresh.yml`) | Daily 02:47 UTC | Re-check 1/7 of the catalog: dead links, now-paid or password-protected games, rating, status |
|
||||
| Force update (`force_update.yml`) | Manual | Re-scrape every field (one URL or the next batch); keeps `safe_virus` / `notes` / `nsfw` |
|
||||
| RSS discovery and automatic rules (Cloudflare Worker) | Every 4 hours | Poll one itch.io feed per run into the review queue; auto-approve unflagged items after the waiting time; queue new free games of followed collections |
|
||||
| Python CI / Webapp CI | Pull requests (Python CI also on pushes to `main` that touch it) | Lint, tests, data validation / type-check, tests, build |
|
||||
| Code analysis (`sonarcloud.yml`, `qodana.yml`) | Pull requests and pushes to `main` that change code | SonarQube Cloud (with test coverage) and Qodana (TypeScript / JavaScript, Python, Rust) |
|
||||
| Deploy website | On push to `main` | Cloudflare Workers Builds (`webapp/wrangler.jsonc`) → freeitchgames.win |
|
||||
| Build monitor (`deploy-status.yml`) | Hourly | Posts each failed Workers Build of `main` to Discord, once |
|
||||
| Release desktop / Android | On `v*` tag push | Tauri installers (Win/macOS/Linux) and signed APK → draft Release |
|
||||
|
||||
All workflows include rate-limiting (random delays, batch pauses) to avoid being blocked by itch.io. Network errors are
|
||||
treated as transient — games are only removed on confirmed 404/410 or confirmed paid status.
|
||||
Network errors are treated as transient; a game is removed only after the same 404/410 or paid status is
|
||||
seen again at least 20 hours after the first sighting. Failures, cancellations, rate limits and suspicious
|
||||
mass changes are reported to the project's Discord as automated notifications.
|
||||
|
||||
## Data fields
|
||||
|
||||
Each game entry in `data_game/game_info_NNN.json` contains:
|
||||
Each game in `data_game/game_info_NNN.json` has these 20 fields, plus optional `added_at` / `updated_at`
|
||||
timestamps added by the pipeline and, since 4.3, the optional `ai_disclosure` / `ai_content` /
|
||||
`accessibility` fields (filled in as each game is re-checked). Only `safe_virus`, `notes` and `nsfw` are maintained by the Maintainer;
|
||||
everything else is scraped from the game's public itch.io page, and no re-scrape ever overwrites those three.
|
||||
|
||||
| Field | Description |
|
||||
|-------------------|------------------------------------------------------------|
|
||||
| `url` | Game page URL |
|
||||
| `name` | Game title |
|
||||
| `dev` | Developer / author name(s) |
|
||||
| `description` | Short description (first sentence, max 200 chars) |
|
||||
| `description` | The creator's tagline on itch.io, else the description's first sentence (max 200 chars) |
|
||||
| `genre` | Genre(s) from itch.io |
|
||||
| `tags` | All tags |
|
||||
| `status` | Release status |
|
||||
@@ -174,25 +293,33 @@ Each game entry in `data_game/game_info_NNN.json` contains:
|
||||
| `average_session` | Typical play session length |
|
||||
| `languages` | Supported languages |
|
||||
| `inputs` | Input methods (keyboard, mouse, gamepad) |
|
||||
| `nsfw` | NSFW flag (auto-detected from tags, warnings, description) |
|
||||
| `safe_virus` | Manual safety note (default: `?`) |
|
||||
| `nsfw` | 18+ flag, `Yes` / `No` (suggested from tags, warnings and description when a game is added; maintained by the Maintainer) |
|
||||
| `safe_virus` | Manual safety note: `?` (default), `Yes`, `No`, `Caution`. A note, not a guarantee: downloads are not scanned |
|
||||
| `notes` | Manual notes |
|
||||
| `thumbnail` | Thumbnail image URL |
|
||||
| `thumbnail` | Cover image URL (on itch.io) |
|
||||
| `ai_disclosure` | The creator's generative-AI disclosure: `No AI`, `AI Assisted` (itch.io's wording) or `N/A` (not disclosed) |
|
||||
| `ai_content` | What AI was used for when assisted (`Graphics`, `Text`, `Code`, `Sounds`) |
|
||||
| `accessibility` | Accessibility features (`Subtitles`, `Configurable controls`, `Color-blind friendly`, …) |
|
||||
|
||||
All fields default to `N/A` when not available on the game page.
|
||||
Scraped fields default to `N/A` when not available on the game page.
|
||||
|
||||
## Contributing
|
||||
|
||||
See [CONTRIBUTING.md](./CONTRIBUTING.md) for full details.
|
||||
See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide.
|
||||
|
||||
- **Add games** — use the "Add New Games" issue template (max 50 links per issue).
|
||||
- **Add games via Telegram bot** — alternative path for batch submissions through
|
||||
[@my_skull_bot](https://t.me/my_skull_bot); DM the owner to be whitelisted.
|
||||
Full flow + privacy notes: [CONTRIBUTING §1b](CONTRIBUTING.md#1b-add-games-via-telegram-bot-my_skull_bot--alternative-to-issues)
|
||||
· Bot repo: [poli0981/telegram-scraper-bot](https://github.com/poli0981/telegram-scraper-bot)
|
||||
([USER_GUIDE.md](https://github.com/poli0981/telegram-scraper-bot/blob/main/docs/USER_GUIDE.md)).
|
||||
- **Report bugs** — use the "Bug Report" template.
|
||||
- **Request features** — open an issue or submit a PR.
|
||||
- **Add games**: use the [Suggest page](https://freeitchgames.win/suggest).
|
||||
- **Remove a game / fix its data**: email takedown@poli0981.dev or open a
|
||||
["Remove a game" issue](https://github.com/poli0981/free-games-itchio-list/issues/new?template=remove_game.yml).
|
||||
- **Report a problem**: wrong data, a dead link, or something broken on the site or in the apps: use the
|
||||
"Report a problem" issue template.
|
||||
- **Accessibility barriers**: use the ["Accessibility barrier" issue template](https://github.com/poli0981/free-games-itchio-list/issues/new?template=accessibility.yml) or email
|
||||
contact@poli0981.dev. See [ACCESSIBILITY.md](ACCESSIBILITY.md).
|
||||
- **Features and code changes**: not accepted any more, the project is in
|
||||
[maintenance mode](#project-status). Questions and feedback are welcome in
|
||||
[Discussions](https://github.com/poli0981/free-games-itchio-list/discussions).
|
||||
- **Security issues**: report them privately, never in a public issue. See [SECURITY.md](SECURITY.md).
|
||||
- **Privacy questions**: see the [Privacy Policy](docs/PrivacyPolicy.md) or email privacy@poli0981.dev.
|
||||
- Please follow the [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
Contributors are credited in [ACKNOWLEDGEMENTS.md](docs/ACKNOWLEDGEMENTS.md).
|
||||
Maintainer hardware + dev environment: [`docs/pc_spec.md`](docs/pc_spec.md), [`docs/dev_env.md`](docs/dev_env.md).
|
||||
@@ -201,21 +328,65 @@ Maintainer hardware + dev environment: [`docs/pc_spec.md`](docs/pc_spec.md), [`d
|
||||
|
||||
Two Discord servers exist now (the "if I ever make one" disclaimer is officially obsolete):
|
||||
|
||||
- **Chat**: Discord — [Repo discussion](https://discord.gg/2aNR3aVt) · [Game chat](https://discord.gg/kDM9GMu5vm)
|
||||
- **Chat**: Discord: [Repo discussion](https://discord.gg/2aNR3aVt) · [Game chat](https://discord.gg/kDM9GMu5vm)
|
||||
- **Social**: [X/@SkullMute0011](https://x.com/SkullMute0011) · [YouTube/@SkullMute](https://youtube.com/@SkullMute) · [Bluesky](https://bsky.app/profile/skullmute0011.bsky.social) · [Mastodon](https://mastodon.social/@skullmute1122)
|
||||
- **Messaging**: [Telegram (DM)](https://t.me/SkullMute0011) · [Telegram bot — game submission](https://t.me/my_skull_bot) (DM your numeric ID privately, never in public channels)
|
||||
- **Messaging**: [Telegram (DM)](https://t.me/SkullMute0011)
|
||||
- **Support** (totally optional, mirrors [`.github/FUNDING.yml`](.github/FUNDING.yml)): [GitHub Sponsors](https://github.com/sponsors/poli0981) · [Patreon](https://patreon.com/skullmute) · [Ko-fi](https://ko-fi.com/skullmute) · [Buy Me a Coffee](https://buymeacoffee.com/skullmute) · [PayPal](https://paypal.me/DungDang212)
|
||||
- **Gaming**: [Steam profile](https://steamcommunity.com/profiles/76561199544666292/)
|
||||
- **Website**: [poli0981.dev](https://poli0981.dev/) · every channel in one place: [poli0981.dev/links](https://poli0981.dev/links/)
|
||||
- **Email**: **contact@poli0981.dev**
|
||||
|
||||
DMs are open everywhere — replies slow, introvert max level. The About page in the [webapp](https://poli0981.github.io/free-games-itchio-list/app/#/about) has the same list with one-click buttons.
|
||||
DMs are open everywhere; replies are slow (introvert max level). The site's
|
||||
[About page](https://freeitchgames.win/about) has the same list with one-click buttons.
|
||||
|
||||
## License
|
||||
|
||||
This repo uses three licenses (full map in [NOTICE.md](NOTICE.md)):
|
||||
|
||||
| What | License | File |
|
||||
|---|---|---|
|
||||
| **Code**: `scripts/`, `webapp/`, `bash/`, workflows, tests, everything not listed below | MIT, Copyright (c) 2025-2026 poli0981 (SkullMute) | [`LICENSE`](LICENSE) |
|
||||
| **Catalog data**: `data_game/`, `scripts/deleted_games.json` and the derived files at <https://freeitchgames.win/data> | CC BY 4.0, for the Maintainer's contribution (see below) | [`data_game/LICENSE.md`](data_game/LICENSE.md) |
|
||||
| **Documentation**: the `*.md` files in the repo root and `docs/` (this README, the policies) | CC BY 4.0 | [`LICENSES/CC-BY-4.0.txt`](LICENSES/CC-BY-4.0.txt) |
|
||||
|
||||
**What the data license covers:** the selection and arrangement of the collection, the three
|
||||
Maintainer-written fields (`safe_virus`, `notes`, `nsfw`), the removal records, and the structure and
|
||||
derived statistics.
|
||||
|
||||
**What it does not cover** (owned by others, not licensed by this project): game descriptions and any other
|
||||
text written by game creators, cover images / thumbnails and other media, game names, logos and trademarks,
|
||||
and itch.io's trademarks. Plain facts such as URLs, prices and ratings are not copyrightable anyway.
|
||||
|
||||
When you reuse the data, please credit it like this:
|
||||
|
||||
```
|
||||
Free itch.io games catalog by poli0981 (SkullMute) — https://freeitchgames.win — CC BY 4.0
|
||||
```
|
||||
|
||||
Third-party components keep their own licenses: see [`docs/THIRD_PARTY.md`](docs/THIRD_PARTY.md) and the
|
||||
site's About page. The archived browser extension is a separate repo under GPL-3.0. Contributions are
|
||||
accepted under the same license as the part they change (inbound = outbound): MIT for code, CC BY 4.0 for
|
||||
data and docs.
|
||||
|
||||
**Not affiliated with itch.io.** This is an independent fan project. It is not affiliated with, endorsed by,
|
||||
or sponsored by itch.io, Leaf Corcoran or itch corp. "itch.io" and all game names, logos and trademarks
|
||||
belong to their respective owners.
|
||||
|
||||
## Legal
|
||||
|
||||
- [Disclaimer](docs/DISCLAIMER.md)
|
||||
- [Terms of Use](docs/ToS.md): covers the website and everything on it
|
||||
- [Privacy Policy](docs/PrivacyPolicy.md)
|
||||
- [Terms of Service](docs/ToS.md)
|
||||
- [EULA](docs/EULA.md)
|
||||
- [Code of Conduct](./CODE_OF_CONDUCT.md)
|
||||
- [Security](./SECURITY.md)
|
||||
- [Disclaimer](docs/DISCLAIMER.md)
|
||||
- [EULA](docs/EULA.md): covers the desktop and Android apps only
|
||||
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
||||
- [Security Policy](SECURITY.md)
|
||||
- [Accessibility statement](ACCESSIBILITY.md): what works with assistive technology, known gaps, how to report a barrier
|
||||
- [NOTICE](NOTICE.md)
|
||||
|
||||
Licensed under [MIT](LICENSE).
|
||||
Contact (the Maintainer's own mailbox on poli0981.dev):
|
||||
|
||||
- Privacy: **privacy@poli0981.dev**
|
||||
- Content removal / copyright: **takedown@poli0981.dev**
|
||||
- Security vulnerabilities: **security@poli0981.dev** (or GitHub private vulnerability reporting)
|
||||
- Anything else legal: **legal@poli0981.dev**
|
||||
- Everything else: **contact@poli0981.dev**, or any channel at [poli0981.dev/links](https://poli0981.dev/links/)
|
||||
+258
-82
@@ -1,131 +1,307 @@
|
||||
# Danh sách Game Itch.io Miễn Phí
|
||||
|
||||
[](https://github.com/poli0981/free-games-itchio-list/)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/releases/latest)
|
||||
[](#trạng-thái-dự-án)
|
||||
[](https://freeitchgames.win)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/stargazers)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/network/members)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/commits/main)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/actions/workflows/python-ci.yml)
|
||||
[](https://sonarcloud.io/summary/new_code?id=poli0981_free-games-itchio-list)
|
||||
[](https://sonarcloud.io/summary/new_code?id=poli0981_free-games-itchio-list)
|
||||
[](https://github.com/poli0981/free-games-itchio-list/actions/workflows/qodana.yml)
|
||||
[](docs/i18n/vi/ACCESSIBILITY.md)
|
||||
[](LICENSE)
|
||||
[](data_game/LICENSE.md)
|
||||
[](README.md)
|
||||
|
||||
> Đây là bản dịch tiếng Việt mang tính tham khảo cho cộng đồng. Bản tiếng Anh tại [`README.md`](README.md) là bản chính thức cho mọi điều khoản pháp lý / kỹ thuật.
|
||||
> Bản dịch từ bản tiếng Anh cập nhật ngày 2026-11-11 (English source revision 2026-11-11). Nếu có khác biệt, bản tiếng Anh được ưu tiên.
|
||||
>
|
||||
> Bản tiếng Anh tại [`README.md`](README.md) là bản chính thức. Bản dịch tiếng Việt của các tài liệu chính sách nằm trong [`docs/i18n/vi/`](docs/i18n/vi/).
|
||||
|
||||
Một danh mục được duy trì tự động của các game miễn phí trên [itch.io](https://itch.io). Game được cào (scrape), xác thực và tổ chức thành các bảng markdown có thể duyệt — cập nhật hàng ngày qua GitHub Actions.
|
||||
Một danh mục được tuyển chọn và tự động cập nhật gồm **hơn 6,000 game miễn phí trên [itch.io](https://itch.io)**. Duyệt tại **<https://freeitchgames.win>**: tìm kiếm, lọc, sắp xếp và mở thẳng trang itch.io của bất kỳ game nào. Website chỉ để xem, với tất cả mọi người: không tài khoản, không đăng nhập, không bình luận, không quảng cáo, không thanh toán.
|
||||
|
||||
## Trạng thái dự án
|
||||
|
||||
**Ổn định, chỉ bảo trì** (từ phiên bản 4.6.1, 2026-11-11). Dự án đã đủ tính năng: website, các ứng dụng và pipeline dữ liệu vẫn chạy, danh mục vẫn tự cập nhật mỗi ngày.
|
||||
|
||||
- **Những gì vẫn được làm**: vá bảo mật (CVE và báo cáo gửi qua [SECURITY](docs/i18n/vi/SECURITY.md)), cập nhật runtime và thư viện phụ thuộc (Node.js, Python, Rust, gói npm / pip / cargo, GitHub Actions), và sửa khi có gì đó làm website hoặc việc cập nhật dữ liệu hằng ngày ngừng chạy.
|
||||
- **Những gì không còn làm**: tính năng mới, thiết kế lại, refactor. Đề xuất tính năng và pull request về code sẽ bị đóng mà không review.
|
||||
- **Issue và pull request chỉ dành cho dữ liệu**: thêm game, sửa dữ liệu của một game, gỡ game. Xem [Đóng góp](#đóng-góp).
|
||||
|
||||
## Mục lục
|
||||
|
||||
- [Duyệt theo thể loại](#duyệt-theo-thể-loại)
|
||||
- [Webapp (duyệt + sửa + analytics)](#webapp-duyệt--sửa--analytics)
|
||||
- [Cách hoạt động](#cách-hoạt-động)
|
||||
- [Trạng thái dự án](#trạng-thái-dự-án)
|
||||
- [Duyệt danh mục](#duyệt-danh-mục)
|
||||
- [Ứng dụng desktop và Android](#ứng-dụng-desktop-và-android)
|
||||
- [Thêm game](#thêm-game)
|
||||
- [Dữ liệu được cập nhật thế nào](#dữ-liệu-được-cập-nhật-thế-nào)
|
||||
- [Bên trong dự án](#bên-trong-dự-án)
|
||||
- [Cấu trúc dự án](#cấu-trúc-dự-án)
|
||||
- [Tự động hóa (GitHub Actions)](#tự-động-hóa-github-actions)
|
||||
- [Tự động hóa](#tự-động-hóa)
|
||||
- [Các trường dữ liệu](#các-trường-dữ-liệu)
|
||||
- [Đóng góp](#đóng-góp)
|
||||
- [Kết nối / hỗ trợ](#kết-nối--hỗ-trợ)
|
||||
- [Giấy phép](#giấy-phép)
|
||||
- [Pháp lý](#pháp-lý)
|
||||
|
||||
## Duyệt theo thể loại
|
||||
## Duyệt danh mục
|
||||
|
||||
Các bảng được tự tạo và chia theo thể loại chính (tối đa 300 game / file). Thể loại mới sẽ tự xuất hiện khi có game được thêm vào.
|
||||
Mọi thứ nằm trên website **<https://freeitchgames.win>**:
|
||||
|
||||
- [Action](lists/action.md)
|
||||
- [Adventure](lists/adventure.md)
|
||||
- [Puzzle](lists/puzzle.md)
|
||||
- [Horror](lists/horror.md)
|
||||
- [Visual Novel](lists/visual_novel.md)
|
||||
- [Simulation](lists/simulation.md)
|
||||
- [Platformer](lists/platformer.md)
|
||||
- [Other](lists/other.md)
|
||||
- *(các thể loại khác sẽ tự tạo khi cần)*
|
||||
- **Danh sách game**: toàn bộ danh mục trong một bảng chạy nhanh (dạng danh sách gọn trên điện thoại), lọc theo thể loại, nền tảng, trạng thái, công bố của tác giả về AI tạo sinh, hỗ trợ tiếp cận và nhiều thứ khác, cùng một trang chi tiết cho từng game.
|
||||
- **Biểu đồ**: danh mục được chia ra sao, và đã lớn lên thế nào theo thời gian.
|
||||
- **Đã gỡ** (Removed): mọi game bị loại khỏi danh mục, kèm lý do (<https://freeitchgames.win/removed>).
|
||||
- **Kiểm tra nhanh trước.** Lần đầu vào, rồi khoảng mỗi 48 giờ, trang sẽ chạy một bước kiểm tra Cloudflare Turnstile ngắn để chặn bot. Thường nó tự qua rồi mở đúng trang bạn cần. Dữ liệu trong `/data` và các ứng dụng không cần bước này.
|
||||
- **Nội dung 18+ bị ẩn theo mặc định.** Game được đánh dấu `nsfw: Yes` sẽ bị ẩn (kể cả ảnh bìa) trừ khi bạn tự bật trong Settings sau khi xác nhận mình đủ 18 tuổi. Lựa chọn đó chỉ được lưu trong trình duyệt của bạn.
|
||||
- **Dành cho mọi cách duyệt web.** Mọi thứ dùng được chỉ với bàn phím và với trình đọc màn hình, màu sắc đạt tỉ lệ tương phản WCAG ở cả hai giao diện, mỗi biểu đồ có bảng dữ liệu, và site làm theo thiết lập giảm chuyển động và tương phản của hệ thống. Những gì đã hỗ trợ, các hạn chế đã biết và cách báo rào cản: [Trợ năng](docs/i18n/vi/ACCESSIBILITY.md) ([EN](ACCESSIBILITY.md)).
|
||||
|
||||
## Webapp (duyệt + sửa + analytics)
|
||||
Mọi link đều dẫn tới trang riêng của game trên itch.io. Ảnh bìa trên website là bản thu nhỏ do freeitchgames.win phục vụ, nên trình duyệt của bạn không kết nối tới itch.io cho tới khi bạn bấm vào một link.
|
||||
|
||||
Một SPA React + TypeScript trong [`webapp/`](webapp/) cung cấp giao diện duyệt trên cùng catalog JSON: DataTable virtualized cho 500+ game, faceted filter (thể loại / trạng thái / nền tảng / NSFW), 16 chart (Recharts), bulk edit/delete qua GitHub Git Data API, và một flow "add" một-click dispatch workflow scraper với input URL.
|
||||
Muốn lấy dữ liệu gốc? Đó là JSON thuần, nằm trong [`data_game/`](data_game/) (cùng [`scripts/deleted_games.json`](scripts/deleted_games.json)) của repo này: clone, tải về hoặc đọc file raw. Vui lòng dùng các file đó thay vì cào (scrape) website, vốn chỉ phục vụ định dạng thu gọn riêng của nó; xem [Giấy phép](#giấy-phép) để biết bạn được tái sử dụng chúng thế nào.
|
||||
|
||||
- **Bản web**: deploy lên GitHub Pages bởi [`.github/workflows/deploy_webapp.yml`](.github/workflows/deploy_webapp.yml) — push vào `main` chạm `webapp/` sẽ tự ship. (Setup một lần: repo Settings → Pages → Source = "GitHub Actions".)
|
||||
- **Bản desktop (tùy chọn)**: cùng code React đóng gói thành app native Tauri 2 cho Windows / macOS / Linux. Xem [`webapp/TAURI.md`](webapp/TAURI.md) để biết yêu cầu và `npm run tauri:dev`.
|
||||
- **Auth**: PAT fine-grained với `contents:write` + `actions:write` được mã hóa AES-GCM trong localStorage (PBKDF2-SHA256). Token đã giải mã chỉ tồn tại trong bộ nhớ.
|
||||
- **Edit commit dạng `chore(webapp): …`** để dễ lọc khỏi commit của scraper hàng ngày.
|
||||
(Địa chỉ cũ `poli0981.github.io/free-games-itchio-list` giờ chỉ chuyển hướng sang website mới. Các bảng markdown theo thể loại trong `lists/` và file `deleted_games.txt` đã bị bỏ: danh mục giờ chỉ có trên web.)
|
||||
|
||||
Dev cục bộ:
|
||||
## Ứng dụng desktop và Android
|
||||
|
||||
Cùng một app cũng được phát hành dưới dạng **ứng dụng native chỉ để xem**, build bằng Tauri 2 từ cùng mã nguồn. Tải từ [GitHub Release](https://github.com/poli0981/free-games-itchio-list/releases/latest) mới nhất:
|
||||
|
||||
| Nền tảng | File |
|
||||
|---|---|
|
||||
| Windows | Trình cài đặt `.msi` hoặc `.exe` |
|
||||
| macOS | `.dmg`, `.pkg` hoặc `.app.tar.gz` (cần Safari/WebKit 16.4 trở lên) |
|
||||
| Linux | `.deb`, `.rpm` hoặc `.AppImage` |
|
||||
| Android 11+ (arm64-v8a) | `.apk` (cài tay, xem bên dưới) |
|
||||
|
||||
Các app tải dữ liệu danh mục từ <https://freeitchgames.win/data> và tải ảnh bìa trực tiếp từ CDN ảnh của itch.io (`img.itch.zone`); bấm vào một game sẽ mở itch.io trong trình duyệt của bạn. Không có telemetry. Cập nhật thủ công: khi có bản mới thì tải bản mới về. Cài app đồng nghĩa với việc chấp nhận [EULA](docs/i18n/vi/EULA.md) ([EN](docs/EULA.md)).
|
||||
|
||||
### Android (tải & cài đặt)
|
||||
|
||||
Không có trên Play Store: chỉ cần tải `.apk` về và cài tay (Android cho phép, chỉ hỏi xác nhận trước):
|
||||
|
||||
1. Mở [Release](https://github.com/poli0981/free-games-itchio-list/releases/latest) mới nhất và tải `FreeGamesItchio_<version>_arm64-v8a.apk`. Chỉ cài APK từ trang đó: file được ký bằng khóa của dự án.
|
||||
2. Bấm vào file. Android sẽ hỏi **cho phép cài từ nguồn này** (trình duyệt / trình quản lý file). Hãy bật lên (Cài đặt → *Ứng dụng* → *Truy cập đặc biệt* → *Cài ứng dụng không xác định*).
|
||||
3. Chấp nhận cảnh báo "không từ Play Store" và cài. Vẫn là app y hệt bản web/desktop.
|
||||
|
||||
Lưu ý: **chỉ arm64-v8a** (mọi điện thoại từ ~2017; không hỗ trợ máy chỉ chạy 32-bit), và Android **11+** (API 30). Phiên bản cũ hơn không cài được. Đây là cố ý: giữ mức tối thiểu ở phiên bản còn được gia cố bảo mật và là phiên bản bọn mình thật sự test (≈87% thiết bị đang hoạt động; [lý do](webapp/TAURI.md#why-android-11-api-30)). Cách tự build có trong mục Android của [`webapp/TAURI.md`](webapp/TAURI.md).
|
||||
|
||||
## Thêm game
|
||||
|
||||
Có ba cách để một game vào danh mục. Mỗi game đều được Maintainer duyệt, từng game một trong hàng chờ duyệt hoặc qua các quy tắc tự động do Maintainer đặt ra.
|
||||
|
||||
1. **Trang Suggest**: <https://freeitchgames.win/suggest>. Dán link game itch.io và, nếu muốn, một ghi chú ngắn (tối đa 500 ký tự; ghi chú bị xóa sau 180 ngày). Một bước kiểm tra Cloudflare Turnstile và giới hạn tần suất giúp chặn spam. Vui lòng không ghi dữ liệu cá nhân vào ghi chú.
|
||||
2. **Tự động phát hiện**: cứ 4 giờ một lần, website đọc một trong các RSS feed công khai của itch.io về game miễn phí mới và phổ biến (mỗi lượt một feed) rồi đưa những gì tìm được vào hàng chờ.
|
||||
3. **Collection được theo dõi**: website cũng đọc các collection công khai trên itch.io mà Maintainer theo dõi và đưa thẳng game miễn phí mới của chúng vào hàng chờ ingest (game từng bị gỡ, hoặc có cờ cảnh báo, thì vào hàng chờ duyệt).
|
||||
|
||||
Extension trình duyệt của Maintainer và Telegram bot cũ đã ngừng hoạt động; repo của chúng ([itch-f2p-extension](https://github.com/poli0981/itch-f2p-extension), [telegram-scraper-bot](https://github.com/poli0981/telegram-scraper-bot)) đã được lưu trữ (archive).
|
||||
|
||||
Maintainer duyệt hàng chờ trong một khu vực quản trị riêng (được bảo vệ bởi Cloudflare Access); mục không có cờ cảnh báo mà không ai từ chối trong thời gian chờ (mặc định 24 giờ) được duyệt tự động. Link được duyệt sẽ được chuyển cho pipeline dữ liệu, pipeline này cào từng trang game; game trả phí bị loại.
|
||||
|
||||
Thích dùng GitHub hơn, hoặc có cả một danh sách dài? Issue template "Add Games (bulk list)" cũng dùng được; các link đó đi qua cùng quy trình duyệt. Xem [CONTRIBUTING](docs/i18n/vi/CONTRIBUTING.md#1-đề-xuất-game-mới-hoan-nghênh-nhất).
|
||||
|
||||
Muốn **gỡ** một game, hoặc sửa dữ liệu của nó (nhất là các nhà phát triển game)? Gửi email tới **takedown@poli0981.dev** hoặc mở issue ["Remove a game"](https://github.com/poli0981/free-games-itchio-list/issues/new?template=remove_game.yml). Ghi rõ URL game, bạn là ai (người tạo / chủ sở hữu quyền, hoặc người được họ ủy quyền) và lý do. Chi tiết: [Điều khoản sử dụng](docs/i18n/vi/ToS.md) và [Tuyên bố miễn trừ](docs/i18n/vi/DISCLAIMER.md).
|
||||
|
||||
## Dữ liệu được cập nhật thế nào
|
||||
|
||||
```
|
||||
Trang Suggest ─┬─→ hàng chờ duyệt ─→ Maintainer duyệt ─→ scripts/temp_link.json
|
||||
RSS feed ─┘ (admin, hoặc quy tắc tự động) │
|
||||
Collection theo dõi ──────────────────────────────────────────┤
|
||||
▼
|
||||
update.yml → update_info.py (game mới) ──┐
|
||||
refresh.yml → refresh.py (1/7 mỗi ngày) ──┴─→ patch ─→ apply_patch.py
|
||||
(validate + push)
|
||||
│
|
||||
freeitchgames.win/data ←── data_game/*.json
|
||||
```
|
||||
|
||||
1. **Hàng chờ**: link đã duyệt được GitHub App của dự án commit vào `scripts/temp_link.json` (commit đã xác minh).
|
||||
2. **Ingest**: `update.yml` chạy `update_info.py` ngay khi hàng chờ thay đổi (và mỗi ngày một lần để dự phòng). Mỗi link được chuẩn hóa, fetch, kiểm tra còn miễn phí không rồi cào dữ liệu; game trả phí, đã chết, trùng hoặc từng bị gỡ sẽ bị bỏ qua. Lỗi tạm thời được giữ lại trong hàng chờ để thử lại (tối đa 3 lượt chạy).
|
||||
3. **Refresh**: `refresh.yml` mỗi ngày kiểm tra lại 1/7 danh mục (mỗi game một request), nên mọi game được kiểm tra lại hằng tuần: link chết (404/410), game chuyển sang trả phí, rating và trạng thái. Game chỉ bị gỡ khi cùng một vấn đề được thấy lại sau ít nhất 20 giờ. Việc gỡ được ghi kèm lý do trong [`scripts/deleted_games.json`](scripts/deleted_games.json), và một lượt chạy định gỡ số game nhiều bất thường sẽ giữ chúng lại và cảnh báo thay vì gỡ.
|
||||
4. **Commit an toàn**: cả hai bước xuất ra một patch theo URL; `apply_patch.py` áp nó lên `main` mới nhất, validate mọi file dữ liệu (`validate.py`) rồi mới push, và thử lại nếu có tiến trình ghi khác push trước.
|
||||
5. **Xuất bản**: mỗi lần push vào `main` sẽ build lại website, gói kèm danh mục tại <https://freeitchgames.win/data>.
|
||||
|
||||
Pipeline cư xử lịch sự với itch.io: nó tự xưng danh là `FreeItchGamesBot/4.0 (+https://freeitchgames.win/about)`, giãn nhịp request và tuân thủ HTTP 429 / `Retry-After`. Chỉ các trang và feed công khai của itch.io được đọc.
|
||||
|
||||
## Bên trong dự án
|
||||
|
||||
- **Web app** ([`webapp/src/`](webapp/src/)): React + TypeScript + Vite + Tailwind CSS, TanStack Query, React Router, Zustand. Giao diện tiếng Anh và tiếng Việt.
|
||||
- **Cloudflare Worker** ([`webapp/worker/`](webapp/worker/)): phục vụ website và `/data`, cổng xác minh (Cloudflare Turnstile), proxy ảnh (`/img`, ảnh bìa WebP đã thu nhỏ lưu trên Cloudflare R2), API Suggest, hàng chờ duyệt (Cloudflare D1), API quản trị và lịch phát hiện qua RSS. Cấu hình: [`webapp/wrangler.jsonc`](webapp/wrangler.jsonc).
|
||||
- **App quản trị** ([`webapp/admin/`](webapp/admin/)): màn hình duyệt chỉ dành cho Maintainer tại `/admin`, đứng sau Cloudflare Access. Nó ghi vào repo này dưới danh nghĩa một GitHub App.
|
||||
- **Vỏ native** ([`webapp/src-tauri/`](webapp/src-tauri/)): Tauri 2 cho Windows, macOS, Linux và Android. Xem [`webapp/TAURI.md`](webapp/TAURI.md).
|
||||
- **Pipeline dữ liệu** ([`scripts/`](scripts/), Python 3.15): scraper, refresh, patch/apply và validate, chạy bằng GitHub Actions.
|
||||
|
||||
Việc deploy do Cloudflare Workers Builds đảm nhận (thư mục gốc `webapp`, `npm run build`, rồi `npx wrangler deploy`): mỗi lần push vào `main` sẽ tự động lên site.
|
||||
|
||||
Dev cục bộ nhanh (thiết lập đầy đủ, gồm Worker, secret và test, có trong [`docs/dev_env.md`](docs/dev_env.md) ([VI](docs/i18n/vi/dev_env.md))):
|
||||
|
||||
```sh
|
||||
cd webapp
|
||||
npm install
|
||||
npm run dev # http://localhost:5173
|
||||
npm run build # ghi vào docs/app/
|
||||
npm run tauri:dev # native desktop (cần Rust)
|
||||
npm ci
|
||||
npm run dev # http://localhost:5173 (Vite)
|
||||
npm run build # ghi vào webapp/dist/ (Worker phục vụ thư mục này làm assets)
|
||||
npx wrangler dev # terminal thứ hai: Worker ở cổng :8787; Vite chuyển tiếp /api và /img tới đó
|
||||
npm run tauri:dev # cửa sổ desktop native (cần Rust)
|
||||
```
|
||||
|
||||
## Cách hoạt động
|
||||
|
||||
```
|
||||
temp_link.json → update_info.py → data_game/
|
||||
(URL mới thêm vào đây) (scrape + check free) game_info_001.json
|
||||
game_info_002.json ...
|
||||
│
|
||||
┌─────────────────────────────────────────┘
|
||||
▼ ▼
|
||||
generate_md.py check_paid.py
|
||||
(bảng MD) check_alive.py
|
||||
(cleanup)
|
||||
```
|
||||
|
||||
1. **Thêm link** — dán URL itch.io vào `scripts/temp_link.json` (thủ công, qua PR, hoặc qua extension trình duyệt đi kèm).
|
||||
2. **Scrape hàng ngày** — GitHub Actions chạy `update_info.py` lúc 03:00 UTC. Mỗi link được fetch, kiểm tra trạng thái free và cào metadata. Game trả phí tự bị bỏ qua.
|
||||
3. **Tạo bảng** — `generate_md.py` nhóm game theo thể loại chính và xuất các bảng markdown vào `/lists/`.
|
||||
4. **Cleanup định kỳ** — mỗi 2 ngày, `check_paid.py` kiểm tra lại game nào đã chuyển sang trả phí, và `check_alive.py` xác minh các trang game còn tồn tại. Game bị gỡ được log kèm lý do.
|
||||
|
||||
## Cấu trúc dự án
|
||||
|
||||
Xem [`README.md`](README.md#project-structure) phiên bản tiếng Anh để có sơ đồ thư mục đầy đủ và mới nhất.
|
||||
```
|
||||
data_game/ # Danh mục (JSON chia khối, tối đa 500 game/file) + LICENSE.md (CC BY 4.0)
|
||||
├── game_info_001.json
|
||||
├── ...
|
||||
├── index.json # Bảng kê các khối (tổng + số lượng từng file)
|
||||
└── count_history.json # Tổng số theo ngày cho biểu đồ "số game theo thời gian"
|
||||
|
||||
## Tự động hóa (GitHub Actions)
|
||||
scripts/
|
||||
├── scraper.py # Dùng chung: HTTP session, giãn nhịp / lùi lại khi 429, nhận diện free, parse
|
||||
├── data_store.py # Dùng chung: đọc/ghi theo khối (diff tối thiểu), index.json, count_history.json
|
||||
├── canonical.py # Một dạng chuẩn duy nhất cho URL game itch.io
|
||||
├── update_info.py # URL trong hàng chờ → patch (game mới)
|
||||
├── refresh.py # Kiểm tra xoay vòng → patch (còn sống / trả phí / rating / trạng thái); --full cào lại
|
||||
├── apply_patch.py # Áp patch lên main mới nhất, rồi validate
|
||||
├── validate.py # Kiểm tra schema + tính nhất quán cho mọi file dữ liệu
|
||||
├── temp_link.json # Hàng chờ ingest (link đã duyệt)
|
||||
├── deleted_games.json # Nhật ký game đã gỡ kèm lý do (công khai)
|
||||
└── state/ # Sổ sách của pipeline (lần kiểm tra cuối, strike, lần thử lại), không công khai
|
||||
|
||||
| Workflow | Lịch | Mục đích |
|
||||
bash/commit_push.sh # fetch main → áp patch → validate → commit → push (có thử lại)
|
||||
bash/cf_build_status.sh # Workers Build mới nhất của main → báo Discord khi lỗi (deploy-status.yml)
|
||||
tests/ # Bộ test pytest (không dùng mạng) + fixture dùng chung với Worker
|
||||
|
||||
webapp/
|
||||
├── src/ # App React (route, component, store, i18n)
|
||||
├── admin/ # App quản trị chỉ dành cho Maintainer (/admin)
|
||||
├── worker/ # Cloudflare Worker (dữ liệu, proxy ảnh, API, hàng chờ duyệt, phát hiện qua RSS)
|
||||
├── src-tauri/ # Vỏ Tauri 2 (desktop + Android)
|
||||
├── wrangler.jsonc # Cấu hình Cloudflare
|
||||
└── TAURI.md # Ghi chú build desktop / Android
|
||||
|
||||
LICENSE # MIT (mã nguồn)
|
||||
LICENSES/CC-BY-4.0.txt # Toàn văn pháp lý CC BY 4.0 (dữ liệu + tài liệu)
|
||||
NOTICE.md # Bản đồ giấy phép, tuyên bố không liên kết, ghi công
|
||||
docs/ # Chính sách, môi trường dev, danh sách bên thứ ba (+ bản tiếng Việt trong docs/i18n/vi/)
|
||||
```
|
||||
|
||||
## Tự động hóa
|
||||
|
||||
| Tác vụ | Lịch | Mục đích |
|
||||
|---|---|---|
|
||||
| Update game info | Hàng ngày 03:00 UTC | Scrape link mới từ `temp_link.json` (+ input `url` tùy chọn từ webapp), bỏ qua game trả phí |
|
||||
| Generate tables | Sau update/checks | Build lại các bảng markdown trong `/lists/` |
|
||||
| Check paid games | Mỗi 2 ngày 04:00 UTC | Gỡ game đã chuyển sang trả phí |
|
||||
| Check dead links | Mỗi 2 ngày 07:00 UTC | Gỡ trang game 404/410 |
|
||||
| Log deleted games | Sau check workflows | Xuất log gỡ ra `deleted_games.txt` |
|
||||
| Deploy webapp | Khi push vào main | Build `webapp/` → GitHub Pages (`docs/app/`) |
|
||||
| Release desktop | Khi push tag `v*` | Build installer Tauri (Win/macOS/Linux) → draft Release |
|
||||
| Ingest (`update.yml`) | Khi hàng chờ đổi + hằng ngày 01:23 UTC | Cào link đã duyệt từ `temp_link.json`, bỏ qua game trả phí / đã chết / từng bị gỡ |
|
||||
| Refresh (`refresh.yml`) | Hằng ngày 02:47 UTC | Kiểm tra lại 1/7 danh mục: link chết, game chuyển sang trả phí hoặc bị đặt mật khẩu, rating, trạng thái |
|
||||
| Force update (`force_update.yml`) | Thủ công | Cào lại mọi trường (một URL hoặc lô tiếp theo); giữ nguyên `safe_virus` / `notes` / `nsfw` |
|
||||
| Phát hiện qua RSS và quy tắc tự động (Cloudflare Worker) | Mỗi 4 giờ | Đọc một feed itch.io mỗi lượt vào hàng chờ duyệt; tự duyệt mục không có cờ sau thời gian chờ; đưa game miễn phí mới của collection được theo dõi vào hàng chờ ingest |
|
||||
| Python CI / Webapp CI | Pull request (Python CI còn chạy khi push vào `main` chạm tới phần Python) | Lint, test, validate dữ liệu / type-check, test, build |
|
||||
| Phân tích code (`sonarcloud.yml`, `qodana.yml`) | Pull request và push vào `main` có đổi code | SonarQube Cloud (kèm test coverage) và Qodana (TypeScript / JavaScript, Python, Rust) |
|
||||
| Deploy website | Khi push vào `main` | Cloudflare Workers Builds (`webapp/wrangler.jsonc`) → freeitchgames.win |
|
||||
| Theo dõi build (`deploy-status.yml`) | Mỗi giờ | Báo mỗi Workers Build lỗi của `main` lên Discord, một lần |
|
||||
| Release desktop / Android | Khi push tag `v*` | Trình cài đặt Tauri (Win/macOS/Linux) và APK đã ký → draft Release |
|
||||
|
||||
Tất cả workflow có rate-limit (delay ngẫu nhiên, batch pause) để tránh bị itch.io block. Lỗi mạng được coi là tạm thời — game chỉ bị gỡ khi xác nhận 404/410 hoặc xác nhận trả phí.
|
||||
Lỗi mạng được coi là tạm thời; game chỉ bị gỡ khi cùng lỗi 404/410 hoặc trạng thái trả phí được thấy lại ít nhất 20 giờ sau lần đầu. Lỗi, lượt bị hủy, bị giới hạn tốc độ và thay đổi hàng loạt đáng ngờ được báo về Discord của dự án dưới dạng thông báo tự động.
|
||||
|
||||
## Các trường dữ liệu
|
||||
|
||||
Mỗi game trong `data_game/game_info_NNN.json` có 20 trường sau, cộng thêm dấu thời gian tùy chọn `added_at` / `updated_at` do pipeline thêm vào và, từ bản 4.3, các trường tùy chọn `ai_disclosure` / `ai_content` / `accessibility` (được điền dần khi từng game được kiểm tra lại). Chỉ `safe_virus`, `notes` và `nsfw` do Maintainer quản lý; mọi thứ khác được cào từ trang itch.io công khai của game, và không lần cào lại nào ghi đè ba trường đó.
|
||||
|
||||
| Trường | Mô tả |
|
||||
|-------------------|------------------------------------------------------------|
|
||||
| `url` | URL trang game |
|
||||
| `name` | Tên game |
|
||||
| `dev` | Tên nhà phát triển / tác giả |
|
||||
| `description` | Tagline của tác giả trên itch.io, nếu không có thì là câu đầu tiên của phần mô tả (tối đa 200 ký tự) |
|
||||
| `genre` | Thể loại theo itch.io |
|
||||
| `tags` | Tất cả tag |
|
||||
| `status` | Trạng thái phát hành |
|
||||
| `platforms` | Nền tảng hỗ trợ (Windows, macOS, Linux, Web) |
|
||||
| `publisher` | Nhà phát hành (nếu khác tác giả) |
|
||||
| `release_date` | Ngày phát hành đầy đủ từ metadata của trang |
|
||||
| `made_with` | Engine / công cụ sử dụng |
|
||||
| `rating` | Điểm đánh giá trung bình (tổng hợp từ itch.io) |
|
||||
| `rating_count` | Số lượt đánh giá |
|
||||
| `average_session` | Thời lượng một phiên chơi điển hình |
|
||||
| `languages` | Ngôn ngữ hỗ trợ |
|
||||
| `inputs` | Cách điều khiển (bàn phím, chuột, tay cầm) |
|
||||
| `nsfw` | Cờ 18+, `Yes` / `No` (được gợi ý từ tag, cảnh báo nội dung và mô tả khi thêm game; do Maintainer quản lý) |
|
||||
| `safe_virus` | Ghi chú an toàn thủ công: `?` (mặc định), `Yes`, `No`, `Caution`. Chỉ là ghi chú, không phải bảo đảm: file tải về không được quét |
|
||||
| `notes` | Ghi chú thủ công |
|
||||
| `thumbnail` | URL ảnh bìa (trên itch.io) |
|
||||
| `ai_disclosure` | Công bố của tác giả về AI tạo sinh: `No AI`, `AI Assisted` (cách ghi của itch.io) hoặc `N/A` (chưa công bố) |
|
||||
| `ai_content` | Phần dùng AI khi có dùng AI hỗ trợ (`Graphics`, `Text`, `Code`, `Sounds`) |
|
||||
| `accessibility` | Tính năng hỗ trợ tiếp cận (`Subtitles`, `Configurable controls`, `Color-blind friendly`, …) |
|
||||
|
||||
Các trường được cào mặc định là `N/A` khi trang game không có thông tin.
|
||||
|
||||
## Đóng góp
|
||||
|
||||
Xem [CONTRIBUTING.vi](docs/i18n/vi/CONTRIBUTING.md) (hoặc [bản tiếng Anh CONTRIBUTING.md](CONTRIBUTING.md) cho bản chính thức).
|
||||
Xem [CONTRIBUTING (tiếng Việt)](docs/i18n/vi/CONTRIBUTING.md) để có hướng dẫn đầy đủ (bản chính thức: [CONTRIBUTING.md](CONTRIBUTING.md)).
|
||||
|
||||
- **Thêm game** — dùng issue template "Add New Games" (tối đa 50 link / issue).
|
||||
- **Thêm game qua Telegram bot** — đường thay thế cho batch submissions qua
|
||||
[@my_skull_bot](https://t.me/my_skull_bot); DM owner để được whitelist.
|
||||
Flow đầy đủ + ghi chú riêng tư: [CONTRIBUTING §1b](docs/i18n/vi/CONTRIBUTING.md#1b-th%C3%AAm-game-qua-telegram-bot-my_skull_bot--thay-th%E1%BA%BF-cho-issue)
|
||||
· Repo bot: [poli0981/telegram-scraper-bot](https://github.com/poli0981/telegram-scraper-bot)
|
||||
([USER_GUIDE.md](https://github.com/poli0981/telegram-scraper-bot/blob/main/docs/USER_GUIDE.md)).
|
||||
- **Báo bug** — dùng template "Bug Report".
|
||||
- **Đề xuất tính năng** — mở issue hoặc gửi PR.
|
||||
- **Thêm game**: dùng [trang Suggest](https://freeitchgames.win/suggest).
|
||||
- **Gỡ game / sửa dữ liệu**: gửi email tới takedown@poli0981.dev hoặc mở issue ["Remove a game"](https://github.com/poli0981/free-games-itchio-list/issues/new?template=remove_game.yml).
|
||||
- **Báo sự cố**: dữ liệu sai, link chết, hoặc có gì đó hỏng trên website hay trong ứng dụng: dùng issue template "Report a problem".
|
||||
- **Rào cản trợ năng**: dùng [issue template "Accessibility barrier"](https://github.com/poli0981/free-games-itchio-list/issues/new?template=accessibility.yml) hoặc gửi email tới contact@poli0981.dev. Xem [Trợ năng](docs/i18n/vi/ACCESSIBILITY.md) ([EN](ACCESSIBILITY.md)).
|
||||
- **Tính năng và thay đổi code**: không còn được nhận, dự án đang ở [chế độ bảo trì](#trạng-thái-dự-án). Câu hỏi và góp ý xin gửi vào [Discussions](https://github.com/poli0981/free-games-itchio-list/discussions).
|
||||
- **Vấn đề bảo mật**: báo cáo riêng tư, đừng bao giờ mở issue công khai. Xem [SECURITY](docs/i18n/vi/SECURITY.md) ([EN](SECURITY.md)).
|
||||
- **Câu hỏi về quyền riêng tư**: xem [Chính sách quyền riêng tư](docs/i18n/vi/PrivacyPolicy.md) ([EN](docs/PrivacyPolicy.md)) hoặc gửi email tới privacy@poli0981.dev.
|
||||
- Vui lòng tuân thủ [Quy tắc ứng xử](docs/i18n/vi/CODE_OF_CONDUCT.md) ([EN](CODE_OF_CONDUCT.md)).
|
||||
|
||||
Người đóng góp được ghi nhận trong [ACKNOWLEDGEMENTS.md](docs/ACKNOWLEDGEMENTS.md).
|
||||
Cấu hình máy maintainer + môi trường dev: [`docs/pc_spec.md`](docs/pc_spec.md) ([VI](docs/i18n/vi/pc_spec.md)), [`docs/dev_env.md`](docs/dev_env.md) ([VI](docs/i18n/vi/dev_env.md)).
|
||||
Cấu hình máy + môi trường dev của Maintainer: [`docs/pc_spec.md`](docs/pc_spec.md) ([VI](docs/i18n/vi/pc_spec.md)), [`docs/dev_env.md`](docs/dev_env.md) ([VI](docs/i18n/vi/dev_env.md)).
|
||||
|
||||
## Kết nối / hỗ trợ
|
||||
|
||||
Hai server Discord giờ đã tồn tại (câu "if I ever make one" chính thức lỗi thời):
|
||||
|
||||
- **Chat**: Discord — [Repo discussion](https://discord.gg/2aNR3aVt) · [Game chat](https://discord.gg/kDM9GMu5vm)
|
||||
- **Chat**: Discord: [Repo discussion](https://discord.gg/2aNR3aVt) · [Game chat](https://discord.gg/kDM9GMu5vm)
|
||||
- **Mạng xã hội**: [X/@SkullMute0011](https://x.com/SkullMute0011) · [YouTube/@SkullMute](https://youtube.com/@SkullMute) · [Bluesky](https://bsky.app/profile/skullmute0011.bsky.social) · [Mastodon](https://mastodon.social/@skullmute1122)
|
||||
- **Messaging**: [Telegram (DM)](https://t.me/SkullMute0011) · [Telegram bot — gửi game](https://t.me/my_skull_bot) (DM numeric ID riêng tư, đừng đăng kênh chung)
|
||||
- **Hỗ trợ** (hoàn toàn tùy chọn, mirror [`.github/FUNDING.yml`](.github/FUNDING.yml)): [GitHub Sponsors](https://github.com/sponsors/poli0981) · [Patreon](https://patreon.com/skullmute) · [Ko-fi](https://ko-fi.com/skullmute) · [Buy Me a Coffee](https://buymeacoffee.com/skullmute) · [PayPal](https://paypal.me/DungDang212)
|
||||
- **Nhắn tin**: [Telegram (DM)](https://t.me/SkullMute0011)
|
||||
- **Ủng hộ** (hoàn toàn tùy chọn, giống [`.github/FUNDING.yml`](.github/FUNDING.yml)): [GitHub Sponsors](https://github.com/sponsors/poli0981) · [Patreon](https://patreon.com/skullmute) · [Ko-fi](https://ko-fi.com/skullmute) · [Buy Me a Coffee](https://buymeacoffee.com/skullmute) · [PayPal](https://paypal.me/DungDang212)
|
||||
- **Gaming**: [Steam profile](https://steamcommunity.com/profiles/76561199544666292/)
|
||||
- **Website**: [poli0981.dev](https://poli0981.dev/) · mọi kênh ở một chỗ: [poli0981.dev/links](https://poli0981.dev/links/)
|
||||
- **Email**: **contact@poli0981.dev**
|
||||
|
||||
DM mở khắp nơi — trả lời chậm, introvert max level. Trang About trong [webapp](https://poli0981.github.io/free-games-itchio-list/app/#/about) có cùng danh sách dạng nút bấm.
|
||||
DM mở ở mọi nơi; trả lời chậm (hướng nội max level). [Trang About](https://freeitchgames.win/about) của website có cùng danh sách dưới dạng nút bấm.
|
||||
|
||||
## Giấy phép
|
||||
|
||||
Repo này dùng ba giấy phép (bản đồ đầy đủ trong [NOTICE.md](NOTICE.md)):
|
||||
|
||||
| Phần nào | Giấy phép | File |
|
||||
|---|---|---|
|
||||
| **Mã nguồn**: `scripts/`, `webapp/`, `bash/`, workflow, test, mọi thứ không liệt kê bên dưới | MIT, Copyright (c) 2025-2026 poli0981 (SkullMute) | [`LICENSE`](LICENSE) |
|
||||
| **Dữ liệu danh mục**: `data_game/`, `scripts/deleted_games.json` và các file dẫn xuất tại <https://freeitchgames.win/data> | CC BY 4.0, cho phần đóng góp của Maintainer (xem bên dưới) | [`data_game/LICENSE.md`](data_game/LICENSE.md) |
|
||||
| **Tài liệu**: các file `*.md` ở thư mục gốc repo và trong `docs/` (README này, các chính sách) | CC BY 4.0 | [`LICENSES/CC-BY-4.0.txt`](LICENSES/CC-BY-4.0.txt) |
|
||||
|
||||
**Giấy phép dữ liệu bao gồm:** việc tuyển chọn và sắp xếp bộ sưu tập, ba trường do Maintainer viết (`safe_virus`, `notes`, `nsfw`), các bản ghi gỡ game, cùng cấu trúc và số liệu thống kê dẫn xuất.
|
||||
|
||||
**Không bao gồm** (thuộc sở hữu của người khác, dự án không cấp phép): mô tả game và mọi văn bản khác do người làm game viết, ảnh bìa / thumbnail và các phương tiện khác, tên game, logo và nhãn hiệu, cùng nhãn hiệu của itch.io. Các dữ kiện đơn thuần như URL, giá và điểm đánh giá vốn không được bảo hộ quyền tác giả.
|
||||
|
||||
Khi tái sử dụng dữ liệu, vui lòng ghi công như sau:
|
||||
|
||||
```
|
||||
Free itch.io games catalog by poli0981 (SkullMute) — https://freeitchgames.win — CC BY 4.0
|
||||
```
|
||||
|
||||
Các thành phần bên thứ ba giữ giấy phép riêng của chúng: xem [`docs/THIRD_PARTY.md`](docs/THIRD_PARTY.md) và trang About của website. Extension trình duyệt (đã archive) là một repo riêng theo GPL-3.0. Đóng góp được nhận theo cùng giấy phép với phần mà nó thay đổi (inbound = outbound): MIT cho mã nguồn, CC BY 4.0 cho dữ liệu và tài liệu.
|
||||
|
||||
**Không liên kết với itch.io.** Đây là một dự án độc lập do người hâm mộ làm. Dự án không liên kết với, không được chứng thực hay tài trợ bởi itch.io, Leaf Corcoran hoặc itch corp. "itch.io" cùng mọi tên game, logo và nhãn hiệu thuộc về chủ sở hữu tương ứng.
|
||||
|
||||
## Pháp lý
|
||||
|
||||
Bản tiếng Việt nằm trong [`docs/i18n/vi/`](docs/i18n/vi/) — bản tiếng Anh là bản chính thức cho mọi giải thích pháp lý.
|
||||
Bản tiếng Việt nằm trong [`docs/i18n/vi/`](docs/i18n/vi/); bản tiếng Anh là bản chính thức cho mọi giải thích pháp lý.
|
||||
|
||||
- [Disclaimer](docs/i18n/vi/DISCLAIMER.md) ([EN](docs/DISCLAIMER.md))
|
||||
- [Privacy Policy](docs/i18n/vi/PrivacyPolicy.md) ([EN](docs/PrivacyPolicy.md))
|
||||
- [Terms of Use](docs/i18n/vi/ToS.md) ([EN](docs/ToS.md))
|
||||
- [EULA](docs/i18n/vi/EULA.md) ([EN](docs/EULA.md))
|
||||
- [Code of Conduct](docs/i18n/vi/CODE_OF_CONDUCT.md) ([EN](CODE_OF_CONDUCT.md))
|
||||
- [Security](docs/i18n/vi/SECURITY.md) ([EN](SECURITY.md))
|
||||
- [Điều khoản sử dụng](docs/i18n/vi/ToS.md) ([EN](docs/ToS.md)): áp dụng cho website và mọi thứ trên đó
|
||||
- [Chính sách quyền riêng tư](docs/i18n/vi/PrivacyPolicy.md) ([EN](docs/PrivacyPolicy.md))
|
||||
- [Tuyên bố miễn trừ](docs/i18n/vi/DISCLAIMER.md) ([EN](docs/DISCLAIMER.md))
|
||||
- [EULA](docs/i18n/vi/EULA.md) ([EN](docs/EULA.md)): chỉ áp dụng cho app desktop và Android
|
||||
- [Quy tắc ứng xử](docs/i18n/vi/CODE_OF_CONDUCT.md) ([EN](CODE_OF_CONDUCT.md))
|
||||
- [Chính sách bảo mật (Security Policy)](docs/i18n/vi/SECURITY.md) ([EN](SECURITY.md))
|
||||
- [Tuyên bố trợ năng (Accessibility)](docs/i18n/vi/ACCESSIBILITY.md) ([EN](ACCESSIBILITY.md)): những gì đã hỗ trợ cho công cụ trợ năng, các hạn chế đã biết, cách báo rào cản
|
||||
- [NOTICE](NOTICE.md)
|
||||
|
||||
Cấp phép theo [MIT](LICENSE).
|
||||
Liên hệ (hộp thư riêng của Maintainer trên poli0981.dev):
|
||||
|
||||
- Quyền riêng tư: **privacy@poli0981.dev**
|
||||
- Gỡ nội dung / bản quyền: **takedown@poli0981.dev**
|
||||
- Lỗ hổng bảo mật: **security@poli0981.dev** (hoặc tính năng báo cáo lỗ hổng riêng tư của GitHub)
|
||||
- Mọi vấn đề pháp lý khác: **legal@poli0981.dev**
|
||||
- Các việc khác: **contact@poli0981.dev**, hoặc bất kỳ kênh nào tại [poli0981.dev/links](https://poli0981.dev/links/)
|
||||
+75
-37
@@ -1,54 +1,92 @@
|
||||
# Security Policy
|
||||
|
||||
Last updated: 2026-05-04
|
||||
Last updated: 2026-11-11
|
||||
|
||||
Yo, this is mostly a hobby repo — a curated list of free itch.io games with Python scraping scripts on GitHub Actions, plus a React/TypeScript webapp (and Tauri desktop wrapper) for browsing and editing the catalog. Still no backend, no database, no telemetry. The one security-relevant thing is the GitHub Personal Access Token the webapp can hold for write operations — see below.
|
||||
Applies from: the release of version 4.0.0.
|
||||
|
||||
## Supported Versions
|
||||
Everything here is "latest commit" only. I'm unemployed with too much free time, so fixes (if any) come when I feel like it — or when Grok nags me.
|
||||
Yo — this is a hobby project run by one person, poli0981 (SkullMute), called "the Maintainer" below: a curated catalog of free itch.io games. Since v4 it is made of a **read-only website** at https://freeitchgames.win (served by a Cloudflare Worker), a **Python data pipeline** on GitHub Actions, and **read-only desktop and Android apps**. There are no public accounts, no sign-in and no payments; the only login is the Maintainer's own admin page, protected by Cloudflare Access. Small attack surface — but if you find a hole, the Maintainer really wants to hear about it.
|
||||
|
||||
## Reporting a Vulnerability
|
||||
Found something scary? Like a script that could theoretically spam itch.io or expose... nothing? You're a legend.
|
||||
## 1. Reporting a vulnerability
|
||||
|
||||
Please **don't** open a public issue. Instead:
|
||||
- Open a **private** GitHub issue (if the repo allows — I'm introvert, might not have email public).
|
||||
- Or just open a normal issue and prefix "[Security]" — I'll make it private if needed.
|
||||
- Describe the issue clearly (steps to reproduce, potential impact).
|
||||
- I'll review (with Grok's help, because my security knowledge is "easy mode" level).
|
||||
Please **don't** report vulnerabilities in public issues, discussions, pull requests or Discord. Report them privately instead:
|
||||
|
||||
What to expect:
|
||||
- I'll acknowledge within a few days (unemployed schedule, not 24/7).
|
||||
- If valid (big if :v), I'll fix and credit you in changelog/acknowledgements.
|
||||
- If not valid — thanks anyway for caring about my mediocre code.
|
||||
- **GitHub private vulnerability reporting**: the repository's **Security** tab → **Report a vulnerability** ([direct link](https://github.com/poli0981/free-games-itchio-list/security/advisories/new)), or
|
||||
- email **security@poli0981.dev**.
|
||||
|
||||
Common "vulnerabilities" you might find:
|
||||
- Scraping breaks if itch.io changes HTML (not security, just life).
|
||||
- Rate limiting? I already sleep(2) — be kind to servers.
|
||||
- Dependencies? requests + bs4 are stable, but update if needed.
|
||||
- Webapp deps (npm/Rust)? Dependabot/security alerts on the repo cover those — bumps land via PR.
|
||||
A good report includes:
|
||||
|
||||
## Webapp PAT handling (read this if you use the writeable webapp)
|
||||
- what is affected (URL or endpoint, workflow, or app version and platform);
|
||||
- steps to reproduce, or a working proof of concept;
|
||||
- the impact you think it has;
|
||||
- whether, and how, you would like to be credited.
|
||||
|
||||
The browse-only flows (Dashboard, Games table, Charts, Deleted) need **no** auth and use the public CDN at `raw.githubusercontent.com`. Write flows (edit annotations, bulk edit/delete, dispatch the scraper workflow) need a GitHub Personal Access Token, which the webapp stores like this:
|
||||
## 2. Scope
|
||||
|
||||
- **Use a fine-grained PAT** scoped to **only** `poli0981/free-games-itchio-list` with the minimum scopes you need:
|
||||
- `contents: write` — required for edits / deletes / queueing URLs.
|
||||
- `actions: write` — required for the Add page / Workflows page dispatch buttons.
|
||||
- `metadata: read` is implicit.
|
||||
- **At rest** the PAT is encrypted with AES-GCM 256-bit; the key is derived from your passphrase via PBKDF2-SHA256 (100k iterations) with a fresh per-token salt. The encrypted blob lives in `localStorage` under `webapp.pat.encrypted`.
|
||||
- **In memory** the decrypted PAT only exists in the React app's Zustand store between unlock and explicit Lock (or tab close).
|
||||
- **Lock or remove anytime** from Settings. Removing also wipes the localStorage entry.
|
||||
- **Don't paste a classic PAT** with full repo scope unless you really mean to. Fine-grained tokens are scoped to one repo and one set of operations.
|
||||
- **Don't share `localStorage`** between users (e.g., shared kiosk machine). The encryption protects the PAT from a casual file-system reader, not from someone who knows your passphrase.
|
||||
**In scope**
|
||||
|
||||
If you find a way to bypass the encryption, exfiltrate the PAT from memory through a CSP gap, or trick the webapp into sending writes to the wrong repo — please report privately as above.
|
||||
- The website https://freeitchgames.win and its Cloudflare Worker, including the image proxy (`/img`), the Suggest API (`/api/suggest`), and the admin app and API (`/admin`, `/api/admin`).
|
||||
- The data pipeline (`scripts/`) and the GitHub Actions workflows (`.github/workflows/`).
|
||||
- The desktop apps and the Android APK published on [GitHub Releases](https://github.com/poli0981/free-games-itchio-list/releases).
|
||||
- The published data (`data_game/`, `scripts/deleted_games.json`, and https://freeitchgames.win/data) — for example, a way to get content into the catalog without the Maintainer's approval.
|
||||
|
||||
## Web/desktop dependency reporting
|
||||
**Out of scope**
|
||||
|
||||
For Tauri / Rust crate vulnerabilities or npm package CVEs that affect the webapp, opening a normal `[Security]` issue is fine; if it's actively exploitable in the deployed Pages site, please prefix `[CRITICAL]` so I can yank the deploy until it's fixed.
|
||||
- itch.io itself — report to itch.io.
|
||||
- Platform issues in Cloudflare or GitHub — report to them through their own programs.
|
||||
- The games linked from the catalog. A game that contains malware is not a vulnerability in this project, but please still tell the Maintainer at **takedown@poli0981.dev** so it can be flagged or removed.
|
||||
- Volumetric denial-of-service (DoS/DDoS) and load testing.
|
||||
- Reports from automated scanners without a working proof of concept.
|
||||
|
||||
No bounties (bank account < $50), but eternal thanks and a shoutout.
|
||||
The browser extension (poli0981/itch-f2p-extension) and the Telegram bot (poli0981/telegram-scraper-bot) are archived and no longer supported, so they are out of scope.
|
||||
|
||||
This repo is MIT licensed and super low-risk. Stay safe out there — especially when downloading random free games.
|
||||
## 3. Supported versions
|
||||
|
||||
Thanks for reporting responsibly. You're better at security than me already. 🚀
|
||||
| Component | Supported |
|
||||
|---|---|
|
||||
| The live website (https://freeitchgames.win) | Yes |
|
||||
| The latest release (4.x) of the desktop and Android apps | Yes |
|
||||
| Older releases (including all 3.x and earlier) | No — please update |
|
||||
|
||||
Fixes to the website go live when they are deployed. The apps do not update themselves: fixes ship in a new release, which you download from GitHub Releases.
|
||||
|
||||
Since version 4.6.1 the project is in **maintenance mode**: no new features, but security fixes and runtime and dependency updates continue as described here.
|
||||
|
||||
## 4. What to expect
|
||||
|
||||
- **Acknowledgement**: target within **7 days**. This is a solo hobby project, so that is a target rather than a guarantee, and often it will be much sooner.
|
||||
- The Maintainer will check whether the issue is valid, work on a fix, and keep you updated.
|
||||
- Please keep the details private until a fix is out, or until you and the Maintainer agree on a disclosure date.
|
||||
- **Credit**: if you want it, you will be credited in the release notes.
|
||||
- There is no bug bounty (bank account < $50), just credit and eternal thanks.
|
||||
|
||||
## 5. Safe harbor
|
||||
|
||||
If you research security in good faith and follow this policy, the Maintainer will consider that research authorized, will not take or support legal action against you for it, and will not treat it as a breach of the [Terms of Use](docs/ToS.md) rules on unauthorized access or automated use. To stay within safe harbor:
|
||||
|
||||
- **Avoid privacy violations.** Do not access, change, keep or share data that isn't yours beyond the minimum needed to show the issue (for example, notes submitted through the Suggest page, the review queue, or the admin audit log). If you come across personal data, stop and report it.
|
||||
- **Avoid service disruption.** No denial-of-service, no high-volume automated scanning or scraping, no spamming the Suggest form, and no attempts to exhaust rate limits.
|
||||
- **Don't change anything.** Do not modify or delete catalog data, the review queue or the repository, and do not approve or reject items, push commits or trigger releases, even if you find a way to.
|
||||
- **No social engineering, phishing or physical attacks** against the Maintainer or anyone else, and no attacks on anyone's Cloudflare, GitHub or itch.io accounts.
|
||||
- **Give the Maintainer reasonable time** to fix the issue before you disclose it publicly.
|
||||
|
||||
This safe harbor covers only the Maintainer's own claims. It cannot authorize testing of Cloudflare, GitHub or itch.io; their own policies apply. If you are unsure whether something is OK, ask first at **security@poli0981.dev**.
|
||||
|
||||
## 6. Dependency and supply-chain security
|
||||
|
||||
What the repository actually does:
|
||||
|
||||
- **Dependabot** ([`.github/dependabot.yml`](.github/dependabot.yml)) is configured to keep npm, pip, GitHub Actions and cargo dependencies current.
|
||||
- Every third-party **GitHub Action is pinned by full commit SHA**, and each workflow declares least-privilege `permissions`.
|
||||
- Writes to the repository from the website's admin go through a **GitHub App** (verified commits), and the admin page is behind Cloudflare Access (GitHub login or one-time email PIN) and limited to the Maintainer.
|
||||
- The website limits how many requests one address can send in a short time (a Cloudflare WAF rule, then per-route limits in the Worker that answer HTTP 429), and the Suggest form adds Cloudflare Turnstile and a stricter limit of its own.
|
||||
- The Android APK is signed with the project's key. Install it, and the desktop apps, only from the project's [GitHub Releases](https://github.com/poli0981/free-games-itchio-list/releases) page.
|
||||
|
||||
If a known vulnerability in a dependency actually affects a deployed component (the website, the Worker, the pipeline or the apps), report it privately as in [§1](#1-reporting-a-vulnerability). If it is just an outdated dependency with no practical impact, a normal issue or pull request is fine.
|
||||
|
||||
## 7. Scams and impersonation
|
||||
|
||||
The project has no accounts and takes no payments, so nobody from the project will ever ask for your password, a token or payment details. The only official website is https://freeitchgames.win (the old github.io address only redirects there), and the only official downloads are on GitHub Releases. If you see something pretending to be this project, please tell the Maintainer at **security@poli0981.dev**.
|
||||
|
||||
## 8. Final vibes
|
||||
|
||||
Stay safe out there — especially when downloading random free games. Thanks for reporting responsibly. You're better at security than the Maintainer already. 🚀
|
||||
Executable
+82
@@ -0,0 +1,82 @@
|
||||
#!/usr/bin/env bash
|
||||
# Find main's latest finished Cloudflare Workers Build and, if it failed within
|
||||
# the last WINDOW_H hours, hand it to deploy-status.yml for an alert.
|
||||
#
|
||||
# Usage: bash bash/cf_build_status.sh (needs GH_TOKEN with contents + checks read)
|
||||
#
|
||||
# Walks main's first-parent history (commits of merged branches carry *preview*
|
||||
# builds under the same check name) to the newest commit that has a finished
|
||||
# "Workers Builds: <worker>" check run. Workers Builds posts that check run only
|
||||
# when a build ends, so a newer commit without one is still building (or was
|
||||
# skipped by watch paths) and is looked past. A failure is written to
|
||||
# $GITHUB_OUTPUT (failed_id / failed_url / failed_sha); deploy-status.yml
|
||||
# alerts once per failed build, keyed on its check-run id, so a dropped or late
|
||||
# scheduled run only delays the alert. A successful newer build means the site
|
||||
# is current, whatever happened before it.
|
||||
#
|
||||
# A GitHub API problem is a warning (exit 0): the next hourly run tries again.
|
||||
set -euo pipefail
|
||||
|
||||
WORKER="${CF_WORKER:-free-games-itchio-list}" # must equal webapp/wrangler.jsonc "name"
|
||||
CHECK_NAME="Workers Builds: $WORKER"
|
||||
WINDOW_H="${WINDOW_H:-24}"
|
||||
MAX_COMMITS=30
|
||||
|
||||
api() {
|
||||
local out attempt
|
||||
for attempt in 1 2 3; do
|
||||
if out=$(gh api "$@" 2>/dev/null); then
|
||||
printf '%s\n' "$out"
|
||||
return 0
|
||||
fi
|
||||
sleep $((attempt * 5))
|
||||
done
|
||||
echo "::warning::GitHub API request failed: $*" >&2
|
||||
return 1
|
||||
}
|
||||
|
||||
output() {
|
||||
if [[ -n "${GITHUB_OUTPUT:-}" ]]; then echo "$1" >>"$GITHUB_OUTPUT"; fi
|
||||
}
|
||||
|
||||
commits=$(api "repos/$GITHUB_REPOSITORY/commits?sha=main&per_page=100" \
|
||||
--jq '.[] | "\(.sha) \(.parents[0].sha // "-")"') || exit 0
|
||||
declare -A parent=()
|
||||
sha=""
|
||||
while read -r commit first_parent; do
|
||||
[[ -n "$commit" ]] || continue
|
||||
[[ -n "$sha" ]] || sha=$commit
|
||||
parent[$commit]=$first_parent
|
||||
done <<<"$commits"
|
||||
|
||||
now=$(date -u +%s)
|
||||
for _ in $(seq 1 "$MAX_COMMITS"); do
|
||||
[[ -n "$sha" && -n "${parent[$sha]+set}" ]] || break
|
||||
run=$(api --method GET "repos/$GITHUB_REPOSITORY/commits/$sha/check-runs" \
|
||||
-f check_name="$CHECK_NAME" -f filter=latest --jq \
|
||||
'[.check_runs[] | select(.app.slug == "cloudflare-workers-and-pages")] | first
|
||||
| if . == null then "none|||" else "\(.conclusion // "")|\(.completed_at // "")|\(.id)|\(.html_url)" end') || exit 0
|
||||
IFS='|' read -r conclusion completed id url <<<"$run"
|
||||
case "$conclusion" in
|
||||
none | "" | cancelled | stale)
|
||||
sha=${parent[$sha]} # not built (yet), or superseded: look at the commit before
|
||||
;;
|
||||
success | neutral | skipped)
|
||||
echo "Latest Cloudflare build is fine: ${sha:0:7} $conclusion $url"
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
age_h=$(((now - $(date -u -d "$completed" +%s)) / 3600))
|
||||
if [[ "$age_h" -lt "$WINDOW_H" ]]; then
|
||||
echo "::error::The Cloudflare build of ${sha:0:7} ended '$conclusion' — freeitchgames.win is not up to date: $url"
|
||||
output "failed_id=$id"
|
||||
output "failed_url=$url"
|
||||
output "failed_sha=${sha:0:7}"
|
||||
else
|
||||
echo "The latest Cloudflare build (${sha:0:7}) failed ${age_h} h ago; not alerting again: $url"
|
||||
fi
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
echo "::warning::No finished Cloudflare build among main's last $MAX_COMMITS first-parent commits."
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
pip install --quiet beautifulsoup4 requests
|
||||
|
||||
python scripts/check_alive.py
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add data_game/ scripts/deleted_games.json
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "Remove dead game links [$(date +'%Y-%m-%d')]" && git push)
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
pip install --quiet beautifulsoup4 requests
|
||||
|
||||
python scripts/check_paid.py
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add data_game/ scripts/deleted_games.json
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "Remove paid games [$(date +'%Y-%m-%d')]" && git push)
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/env bash
|
||||
# Apply a pipeline patch to the latest main and push it, retrying on races.
|
||||
#
|
||||
# Usage: bash bash/commit_push.sh PATCH.json "commit message"
|
||||
#
|
||||
# Every data writer (refresh, ingest, the admin Worker and its cron) pushes
|
||||
# to main. Instead of rebasing whole-file JSON rewrites (which conflict), each
|
||||
# attempt starts from a fresh origin/main and re-applies the URL-keyed patch;
|
||||
# apply_patch.py is idempotent and validates before anything is committed.
|
||||
# Pushes use the job's GITHUB_TOKEN, so they do not re-trigger workflows.
|
||||
set -euo pipefail
|
||||
|
||||
PATCH="${1:?patch file required}"
|
||||
MESSAGE="${2:?commit message required}"
|
||||
MAX_ATTEMPTS=5
|
||||
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
for attempt in $(seq 1 "$MAX_ATTEMPTS"); do
|
||||
git fetch --no-tags --depth=1 origin main
|
||||
git reset --hard origin/main
|
||||
python scripts/apply_patch.py "$PATCH"
|
||||
mkdir -p scripts/state # git add fails on a pathspec that matches nothing
|
||||
git add -A data_game scripts/deleted_games.json scripts/temp_link.json scripts/state
|
||||
if git diff --cached --quiet; then
|
||||
echo "No data changes — nothing to commit."
|
||||
exit 0
|
||||
fi
|
||||
git commit -q -m "$MESSAGE"
|
||||
if git push origin HEAD:main; then
|
||||
echo "Pushed on attempt $attempt."
|
||||
exit 0
|
||||
fi
|
||||
echo "::warning::push rejected (attempt $attempt/$MAX_ATTEMPTS) — retrying on the new main"
|
||||
sleep $((attempt * 10 + RANDOM % 10))
|
||||
done
|
||||
|
||||
echo "::error::push failed after $MAX_ATTEMPTS attempts"
|
||||
exit 1
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
pip install --quiet beautifulsoup4 requests
|
||||
|
||||
# INPUT_URL is passed through from the workflow_dispatch input.
|
||||
python scripts/force_update.py
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add data_game/
|
||||
|
||||
if [[ -n "${INPUT_URL:-}" ]]; then
|
||||
msg="Force update ${INPUT_URL} [$(date +'%Y-%m-%d')]"
|
||||
else
|
||||
msg="Force update [$(date +'%Y-%m-%d')]"
|
||||
fi
|
||||
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "${msg}" && git push)
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
python scripts/log_deleted.py
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add deleted_games.txt scripts/deleted_games.json
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "Update deleted games log [$(date +'%Y-%m-%d')]" && git push)
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
python scripts/generate_md.py
|
||||
|
||||
ls -la lists/*.md
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add lists/
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "Update game tables [$(date +'%Y-%m-%d')]" && git push)
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
pip install --quiet beautifulsoup4 requests
|
||||
|
||||
python scripts/update_info.py
|
||||
echo "Game info has been updated."
|
||||
|
||||
# Reset temp links
|
||||
echo "[]" > scripts/temp_link.json
|
||||
echo "Temporary link file has been reset."
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add data_game/ scripts/temp_link.json
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "Update game info [$(date +'%Y-%m-%d')]" && git push)
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
pip install --quiet beautifulsoup4 requests
|
||||
|
||||
python scripts/update_reviews.py
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add data_game/
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "Update reviews [$(date +'%Y-%m-%d')]" && git push)
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
pip install --quiet beautifulsoup4 requests
|
||||
|
||||
python scripts/update_status.py
|
||||
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add data_game/
|
||||
git diff --staged --quiet && echo "No changes – skip commit" \
|
||||
|| (git commit -m "Update status [$(date +'%Y-%m-%d')]" && git push)
|
||||
@@ -0,0 +1,60 @@
|
||||
# Changelog — 1.0.x
|
||||
|
||||
Release notes for 1.0.0 – 1.0.5, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [1.0.5] - 2026-01-12 (Hotfix 🔧)
|
||||
### Fixed
|
||||
- UTF-8 decode issue when running `scripts/update_info.py`. See [#16](https://github.com/poli0981/free-games-itchio-list/issues/16).
|
||||
|
||||
---
|
||||
|
||||
## [1.0.4] - 2026-01-11 (Added Games + New Features ⭐)
|
||||
|
||||
### Added Games
|
||||
Added 33 games. See [#22](https://github.com/poli0981/free-games-itchio-list/issues/22) and [#23](https://github.com/poli0981/free-games-itchio-list/issues/23).
|
||||
|
||||
### New Features
|
||||
- Delete game with correct link in `delete_game.py`. See [#20](https://github.com/poli0981/free-games-itchio-list/issues/20).
|
||||
- Export JSON → `.csv`/`.xlsx` in `export_csv.py`. See [#21](https://github.com/poli0981/free-games-itchio-list/issues/21).
|
||||
- Check duplicate data in JSON file in `check_duplicate.py`. See [#19](https://github.com/poli0981/free-games-itchio-list/issues/19).
|
||||
|
||||
---
|
||||
|
||||
## [1.0.3] - 2026-01-01 (Improvements ⚙️)
|
||||
|
||||
### Improved
|
||||
- Optimized workflow scheduling.
|
||||
|
||||
---
|
||||
|
||||
## [1.0.2] - 2026-01-01 (Hotfix 🔧)
|
||||
|
||||
### Fixed
|
||||
- `temp_link.json` not resetting to `[]` after GitHub Actions run.
|
||||
|
||||
---
|
||||
|
||||
## [1.0.1] - 2025-12-31 (Hotfix 🔧)
|
||||
|
||||
### Fixed
|
||||
- Rewrote and added 2 issue templates.
|
||||
- Updated [CONTRIBUTING](../../CONTRIBUTING.md).
|
||||
|
||||
---
|
||||
|
||||
## [1.0.0] - 2025-12-28 (Initial Release 🚀)
|
||||
|
||||
### Added
|
||||
- Full curated list of free itch.io games with auto-daily updates via GitHub Actions.
|
||||
- Scraping script ([`update_info.py`](../../scripts/update_info.py)): add links → scrape title, dev, genre, description, NSFW flag, thumbnail.
|
||||
- MD table generator (`generate_md.py`): split by genre, 300 max per file, in `/lists/`.
|
||||
- Columns: No | Thumb | Name | Dev | Short Desc | Link | Safe | Notes | NSFW.
|
||||
- [`temp_link.json`](/scripts/temp_link.json) for easy manual adds (Actions process daily).
|
||||
- Full docs: [DISCLAIMER](/docs/DISCLAIMER.md), [PRIVACY](/docs/PrivacyPolicy.md), [TERMS](/docs/ToS.md), [EULA](/docs/EULA.md), [SECURITY](../../SECURITY.md), [CODE_OF_CONDUCT](../../CODE_OF_CONDUCT.md), [CONTRIBUTING](../../CONTRIBUTING.md), [ACKNOWLEDGEMENTS](/docs/ACKNOWLEDGEMENTS.md).
|
||||
- Issue and PR templates for bugs, features, and game submissions.
|
||||
- Badges, TOC, and example table in [README](../../README.md).
|
||||
|
||||
### Fixed
|
||||
- Multiple scrape bugs (itch.io HTML structure changes).
|
||||
- Description length overflow → truncated to first sentence + "(see more on itch.io)".
|
||||
- Table numbering resets per file, primary genre used for grouping.
|
||||
@@ -0,0 +1,40 @@
|
||||
# Changelog — 2.0.x
|
||||
|
||||
Release notes for 2.0.0, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [2.0.0] - 2026-03-26 (Major Rewrite 🔧⭐)
|
||||
|
||||
### Rewritten
|
||||
- **`scraper.py`** — new shared module extracted from `update_info.py`. All scraping logic, session management, rate-limiting, and parsing utilities live here. Used by every script that touches itch.io.
|
||||
- **`update_info.py`** — fully rewritten. Uses `scraper.py` module, `requests.Session` with automatic retry (backoff on 429/5xx), and random delays between requests.
|
||||
- **`generate_md.py`** — fully rewritten with pipe-character escaping and all new data fields.
|
||||
|
||||
### Added
|
||||
- **Free game detection** — `update_info.py` now checks if a game is free before scraping. Paid games are skipped automatically. Detection logic parses `div.buy_row` for price tags and button text.
|
||||
- **`check_paid.py`** — new script. Re-checks every game in the list to see if it became paid. Paid games are removed and logged to `deleted_games.json` with reason and timestamp.
|
||||
- **`check_alive.py`** — new script. Verifies that all game URLs still exist. Pages returning 404 or 410 are removed and logged. Transient errors (403, 5xx, timeouts) are kept.
|
||||
- **`log_deleted.py`** — new script. Converts `deleted_games.json` → `deleted_games.txt` (human-readable log sorted by date).
|
||||
- **`deleted_games.json`** — structured log of all removed games with URL, name, reason, and deletion timestamp.
|
||||
- **New data fields** scraped from itch.io info table: `status`, `platforms`, `publisher`, `release_date`, `made_with`, `rating`, `rating_count`, `average_session`, `languages`, `inputs`. All fields default to `N/A` when not found.
|
||||
- **Author/Authors handling** — scraper now checks both `Author` and `Authors` keys (itch.io uses either depending on the page).
|
||||
- **Release date parsing** — extracted from `<abbr title="...">` for full datetime instead of abbreviated text.
|
||||
- **NSFW detection** expanded — now also checks game description text and adds `sexual` keyword.
|
||||
|
||||
### Added (GitHub Actions)
|
||||
- **`check_paid.yml`** — runs every 2 days at 04:00 UTC. Removes games that became paid.
|
||||
- **`check_alive.yml`** — runs every 2 days at 07:00 UTC (staggered 3h after check_paid). Removes dead links.
|
||||
- **`log_deleted.yml`** — runs after check_paid or check_alive completes. Exports deletion log.
|
||||
- **`generate_table.yml`** — now triggers after update, check_paid, and check_alive workflows (not just update).
|
||||
- **`update_csv.yml`** — now triggers after table generation (chained workflow).
|
||||
|
||||
### Improved
|
||||
- **Rate limiting** — random delays (2.5–5s between requests, 15–30s batch pause every 20 requests) to avoid itch.io IP bans. Lighter delays (1–2.5s) for HEAD/status checks.
|
||||
- **Retry logic** — `requests.Session` with `HTTPAdapter` + `Retry` (3 attempts, exponential backoff 2→4→8s) on 429/500/502/503/504.
|
||||
- **Network error safety** — games are never deleted on transient network failures. Only confirmed 404/410 or confirmed paid status triggers removal.
|
||||
- **Markdown table integrity** — pipe characters (`|`) in game data are escaped to prevent table breakage.
|
||||
- **All fields use `N/A` consistently** — replaced mixed `""`, `"Unknown"`, `"No description"` with uniform `N/A` fallback.
|
||||
|
||||
### Changed
|
||||
- Markdown table columns expanded: added Genre, Tags, Status, Platforms, Publisher, Release Date, Made With, Rating, Session, Languages, Inputs.
|
||||
- README rewritten with updated architecture diagram, project structure, field documentation.
|
||||
- Workflow action versions updated to `actions/checkout@v6` and `actions/setup-python@v6` with Python 3.14.
|
||||
@@ -0,0 +1,58 @@
|
||||
# Changelog — 3.0.x
|
||||
|
||||
Release notes for 3.0.0 – 3.0.1, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.0.1] - 2026-05-04 (Tauri icons + fine-grained PAT fix)
|
||||
|
||||
This release has no changelog entry of its own; its notes are on GitHub: <https://github.com/poli0981/free-games-itchio-list/releases/tag/v3.0.1>.
|
||||
|
||||
---
|
||||
|
||||
## [3.0.0] - 2026-05-04 (Webapp + Desktop 🖥️📊)
|
||||
|
||||
A React + TypeScript SPA on top of the same JSON catalog, plus a Tauri 2 desktop wrapper.
|
||||
The Python pipeline from 2.0.0 is untouched and still drives the daily data updates.
|
||||
|
||||
### Added (Webapp)
|
||||
- **`webapp/`** — Vite + React 19 + TypeScript 6 + Tailwind v3 + shadcn/ui (Radix primitives).
|
||||
Code-split, ~163 KB gzip initial load. Reads from `raw.githubusercontent.com` (public, no auth);
|
||||
writes use a fine-grained GitHub PAT held only in memory after passphrase unlock.
|
||||
- **8 routes**: Dashboard (KPIs), Games (virtualized DataTable + faceted filters), Game Detail
|
||||
(23-field read view + edit form for `safe_virus` / `notes` / `nsfw`), Add (single URL +
|
||||
bulk), Charts (9 Recharts visualizations in 4 tabs), Workflows (run history + Dispatch),
|
||||
Deleted (tombstone log), Settings (PAT + theme), About (license attribution).
|
||||
- **PAT encryption** — AES-GCM 256-bit, PBKDF2-SHA256 (100k iterations) with per-token salt.
|
||||
Encrypted blob in localStorage; decrypted token in memory only.
|
||||
- **Atomic bulk operations** — Bulk edit / delete via GitHub Git Data API (single commit for N
|
||||
files), 20-entry undo stack with one-click revert.
|
||||
- **Workflow dispatch from UI** — Add a single URL or queue a bulk batch directly to
|
||||
`update.yml` via `workflow_dispatch`. Polls run status every 5 s and refreshes the table on
|
||||
completion.
|
||||
- **Sync button + manual refresh** — invalidate all data queries on demand; spinner reflects
|
||||
in-flight state.
|
||||
- **Collapsible sidebar** with rail mode (240 px ↔ 56 px).
|
||||
- **Dark / Light / System theme** with `prefers-color-scheme` listener.
|
||||
- **About page** — third-party license attribution by category, app version + build date.
|
||||
|
||||
### Added (Desktop wrapper)
|
||||
- **`webapp/src-tauri/`** — Tauri 2 scaffold (Rust + WebView). Same React build, ~10 MB
|
||||
installer.
|
||||
- **`tauri-plugin-http`** scoped to `*.itch.io`, `img.itch.zone`, `api.github.com`,
|
||||
`raw.githubusercontent.com`. Lets the desktop bypass CORS for direct itch.io previews.
|
||||
- **`webapp/TAURI.md`** — local prerequisites (rustup + platform deps), dev/build commands,
|
||||
roadmap to a full Rust scrape (Phase 8b).
|
||||
|
||||
### Added (CI)
|
||||
- **`.github/workflows/deploy_webapp.yml`** — build `webapp/` and publish `docs/app/` to
|
||||
GitHub Pages on push to `main` that touches `webapp/`. One-time setup: repo Settings →
|
||||
Pages → Source = "GitHub Actions".
|
||||
- **`.github/workflows/release_desktop.yml`** — multi-platform Tauri build via
|
||||
`tauri-apps/tauri-action` on tag `v*`. Uploads `.msi` / `.dmg` / `.AppImage` to a draft
|
||||
GitHub Release.
|
||||
|
||||
### Changed (Python pipeline)
|
||||
- **`scripts/update_info.py`** now reads an optional `INPUT_URL` env var (forwarded by
|
||||
`update.yml` from `workflow_dispatch.inputs.url`) and appends it to the queue. Backwards
|
||||
compatible: the daily cron still processes `temp_link.json` exactly as before.
|
||||
- **`.github/workflows/update.yml`** gains `workflow_dispatch.inputs.url` so the webapp can
|
||||
trigger a single-URL scrape.
|
||||
@@ -0,0 +1,95 @@
|
||||
# Changelog — 3.1.x
|
||||
|
||||
Release notes for 3.1.0 – 3.1.4, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.1.4] - 2026-05-05 (Legal docs rewrite + Vietnamese i18n + Legal Card + UI polish)
|
||||
|
||||
### Added
|
||||
- **Vietnamese translations** under [`docs/i18n/vi/`](../../docs/i18n/vi/) — full
|
||||
translations of the four legal docs (DISCLAIMER, EULA, ToS, PrivacyPolicy)
|
||||
plus CONTRIBUTING, CODE_OF_CONDUCT, and SECURITY. Each file notes that the
|
||||
English version is the controlling text for legal interpretation.
|
||||
- **`README.vi.md`** at repo root — Vietnamese mirror of the main README, with a
|
||||
language badge and a link back to the English version.
|
||||
- **About page → "Legal & policies" Card** — single place to access all policy
|
||||
files (Disclaimer, EULA, ToS, Privacy, Code of Conduct, Security, License,
|
||||
Changelog) plus a pointer to the Vietnamese translations.
|
||||
- **`webapp/src/lib/about.ts`**: `LegalLink` interface + `LEGAL_LINKS` array +
|
||||
`LEGAL_VI_INDEX_URL`. Same structured pattern as `THIRD_PARTY` and
|
||||
`SOCIAL_LINKS`.
|
||||
|
||||
### Changed
|
||||
- **`docs/DISCLAIMER.md`, `docs/EULA.md`, `docs/ToS.md`, `docs/PrivacyPolicy.md`**:
|
||||
rewritten to be tighter and more enforceable while keeping the project's voice.
|
||||
Each doc now has a TL;DR, numbered sections, definitions, severability,
|
||||
governing law (Socialist Republic of Vietnam), explicit "not legal advice"
|
||||
notice, and a removal-request path. Privacy Policy adds a per-storage table
|
||||
for what the webapp persists locally and a step-by-step PAT lifecycle.
|
||||
- **`README.md`** version badge → 3.1.4 plus a Vietnamese language badge and a
|
||||
short pointer to `README.vi.md` and `docs/i18n/vi/`.
|
||||
|
||||
### Optional UI
|
||||
- **Tauri desktop**: maximize button is now disabled (`maximizable: false` in
|
||||
`webapp/src-tauri/tauri.conf.json`). Window is still resizable; only the
|
||||
full-window-maximize action is locked.
|
||||
- **DataTable**: scrollbar hidden via a new `.scrollbar-hide` Tailwind utility
|
||||
added to `webapp/src/index.css`. Scrolling still works; the chrome is gone.
|
||||
|
||||
---
|
||||
|
||||
## [3.1.3] - 2026-05-05 (Credit Claude Code as AI co-author)
|
||||
|
||||
### Added
|
||||
- **About page**: new **"AI co-authors"** Card listing both Grok (xAI) and
|
||||
Claude Code (Anthropic — Claude Opus 4.7, 1M context) with their roles
|
||||
in the repo's history. Each entry is linked + tagged with vendor and model.
|
||||
- `webapp/src/lib/about.ts`: new `AiTool` interface + `AI_TOOLS` array so the
|
||||
AI credit data is structured the same way as `THIRD_PARTY` and `SOCIAL_LINKS`.
|
||||
|
||||
### Changed
|
||||
- **`docs/ACKNOWLEDGEMENTS.md`, `docs/My_Stuff.md`, `CONTRIBUTING.md`**:
|
||||
surface Claude Code alongside Grok wherever the existing AI credit lived.
|
||||
Grok references stay — both buddies share the workload now (Grok carried the
|
||||
Python pipeline + v2.0.0 rewrite; Claude Code drove v3.0.0 webapp/Tauri and
|
||||
v3.1.2). `My_Stuff.md` "The Real MVP" is now plural.
|
||||
- `DEV.blurb` on the About page reflects the two-buddy reality.
|
||||
|
||||
---
|
||||
|
||||
## [3.1.2] - 2026-05-05 (Offline link fix + About expansion + docs sweep)
|
||||
|
||||
### Fixed
|
||||
- **Tauri desktop**: external links (itch.io, GitHub, third-party home pages) now
|
||||
open in the user's default browser instead of doing nothing. Added
|
||||
`tauri-plugin-opener` (Rust + JS) and a scoped `opener:allow-open-url`
|
||||
capability locked to `https://*` (no `file://` / `javascript:` schemes).
|
||||
|
||||
### Added
|
||||
- **About page**: three new sections — Developer card, "Found a bug?" CTA that
|
||||
opens the bug-report issue template, and "Find me elsewhere" with X, YouTube,
|
||||
two Discord servers (Repo discussion / Game chat), Patreon, Ko-fi, Steam,
|
||||
Bluesky, and Mastodon.
|
||||
- **`<ExtLink>`** ([`webapp/src/components/ext-link.tsx`](../../webapp/src/components/ext-link.tsx))
|
||||
— runtime-aware external-link wrapper used app-wide so the offline link bug
|
||||
can't recur. On web it renders a plain `<a target="_blank">`; on Tauri it
|
||||
routes through `tauri-plugin-opener`. All existing external `<a>` tags in
|
||||
About, the sidebar footer, and Game Detail now use it.
|
||||
|
||||
### Changed
|
||||
- **`webapp/README.md`**: rewritten from Vite boilerplate to actual webapp docs
|
||||
(routes, dev/build commands, code-split layout, deploy, Tauri reference).
|
||||
- **`CONTRIBUTING.md`, `docs/ACKNOWLEDGEMENTS.md`, `docs/My_Stuff.md`,
|
||||
`README.md`**: refreshed contact / social handles. The "if I ever make a
|
||||
Discord" line is finally obsolete — both servers exist.
|
||||
|
||||
---
|
||||
|
||||
## [3.1.1] - 2026-05-04 (Cross-compile macOS x86_64 from Apple Silicon)
|
||||
|
||||
This release has no changelog entry of its own; its notes are on GitHub: <https://github.com/poli0981/free-games-itchio-list/releases/tag/v3.1.1>.
|
||||
|
||||
---
|
||||
|
||||
## [3.1.0] - 2026-05-04 (macOS DMG fix + .pkg installer + pagination)
|
||||
|
||||
This release has no changelog entry of its own; its notes are on GitHub: <https://github.com/poli0981/free-games-itchio-list/releases/tag/v3.1.0>.
|
||||
@@ -0,0 +1,65 @@
|
||||
# Changelog — 3.2.x
|
||||
|
||||
Release notes for 3.2.0 – 3.2.1, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.2.1] - 2026-05-11 (Hotfix: single-instance enforcement on desktop)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Desktop app spawned a new process on every launch.** Each double-click of the installed app added another `free-games-itchio-webapp.exe` (Windows) / equivalent on macOS+Linux to the task list instead of focusing the existing window. Added [`tauri-plugin-single-instance`](https://tauri.app/plugin/single-instance/) v2 in [`webapp/src-tauri/src/lib.rs`](../../webapp/src-tauri/src/lib.rs) — second launch now unminimizes + focuses the running window and exits its own process before creating a duplicate. Plugin registered first in the builder chain per Tauri 2 docs so duplicate processes die before initializing HTTP/opener plugins. Gated by `#[cfg(desktop)]` + matching `cfg(not(android, ios))` in [`Cargo.toml`](../../webapp/src-tauri/Cargo.toml). Desktop binary boundary change → bumped [`Cargo.toml`](../../webapp/src-tauri/Cargo.toml) and [`tauri.conf.json`](../../webapp/src-tauri/tauri.conf.json) from `0.1.0` to `0.1.1` (first time these have moved since v3.0.0).
|
||||
|
||||
### Changed
|
||||
|
||||
- **README + README.vi badges** bumped to `3.2.1`.
|
||||
- **About page** lists `tauri-plugin-single-instance` v2 under Desktop dependencies.
|
||||
|
||||
---
|
||||
|
||||
## [3.2.0] - 2026-05-10 (CI cleanup + mobile + SEO + Telegram bot path + auto-discussion)
|
||||
|
||||
### Added
|
||||
|
||||
- **Mobile drawer navigation.** New [`webapp/src/components/ui/sheet.tsx`](../../webapp/src/components/ui/sheet.tsx) (shadcn pattern over the existing `@radix-ui/react-dialog`) and a `MobileTopBar` in [`webapp/src/components/sidebar.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.2.0/webapp/src/components/sidebar.tsx). Below `md`, the sidebar collapses behind a hamburger; above, the desktop sidebar behaves as before. Touch targets in the nav now meet the 44pt iOS HIG minimum on small screens.
|
||||
- **DataTable column priorities.** Each column declares `meta.priority: 1 | 2 | 3` in [`columns.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.2.0/webapp/src/components/data-table/columns.tsx). [`data-table.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.2.0/webapp/src/components/data-table/data-table.tsx) hides priority 2 below `md` and priority 3 below `lg`, so the table is usable on a phone without horizontal scrolling through every column.
|
||||
- **PWA manifest + icons.** [`webapp/public/manifest.webmanifest`](../../webapp/public/manifest.webmanifest), [`icon-192.png`](../../webapp/public/icon-192.png), [`icon-512.png`](../../webapp/public/icon-512.png) — Add to Home Screen on iOS without a service worker. Generator script: [`webapp/scripts/gen_assets.py`](../../webapp/scripts/gen_assets.py).
|
||||
- **SEO infrastructure.** [`webapp/index.html`](../../webapp/index.html) now ships description, theme-color (per scheme), Open Graph (title/description/image/url/type/locale), Twitter card (`summary_large_image`), `canonical`, `apple-touch-icon`, `manifest`, and `preconnect` to `img.itch.zone` + `raw.githubusercontent.com`. [`robots.txt`](../../webapp/public/robots.txt) and `sitemap.xml` added under `webapp/public/`.
|
||||
- **OG image.** [`webapp/public/og.png`](../../webapp/public/og.png) (1200×630) + [`og.webp`](../../webapp/public/og.webp) generated by `gen_assets.py`. Brand-coloured (`#863bff` purple, cyan accent) with project name, tagline, and URL.
|
||||
- **Per-route titles.** New [`useDocumentTitle`](../../webapp/src/hooks/useDocumentTitle.ts) hook (no `react-helmet-async` dependency). Each route now sets a contextual title (`Charts — Itch.io Free Games Database`, etc.); game-detail uses the game name.
|
||||
- **Hash-anchor scroll.** [`App.tsx`](../../webapp/src/App.tsx) now wires a `ScrollToHash` listener so links like `/about#support` scroll to the matching element under HashRouter.
|
||||
- **About page Telegram entries.** New `messaging` social group with **Telegram (DM)** and **Telegram bot (game submission)** plus a privacy reminder to never paste a numeric ID into public channels. About also surfaces all five FUNDING.yml destinations (GitHub Sponsors, Patreon, Ko-fi, Buy Me a Coffee, PayPal) with a footnote on PayPal explaining the legal-name receipt.
|
||||
- **Sidebar Support link.** Persistent heart-icon link from the sidebar (collapsed and expanded) to `/about#support`.
|
||||
- **Telegram bot contribution flow.** `CONTRIBUTING.md §1b` describes the bot path (DM owner → numeric ID added to local whitelist → bot dispatches `bot-ingest.yml`). Cross-linked from [README.md](../../README.md), [README.vi.md](../../README.vi.md), and the new issue template `game_via_bot.yml`. Vietnamese mirror in [`docs/i18n/vi/CONTRIBUTING.md`](../../docs/i18n/vi/CONTRIBUTING.md).
|
||||
- **Privacy + ToS clauses for the bot path.** [`docs/ToS.md §14`](../../docs/ToS.md) and [`docs/PrivacyPolicy.md §15`](../../docs/PrivacyPolicy.md) (plus VI mirrors) document Telegram-ID handling: opt-in, operator-side whitelist only, never committed to this repo, removable on DM.
|
||||
- **`docs/pc_spec.md` + `docs/dev_env.md` (EN + VI).** Maintainer hardware spec, mobile test devices (iPhone 14 Pro / 13 Pro Max, iOS 26.x on Chrome + Brave), and dev-env toolchain (Python 3.12, Node ≥ 22, Rust stable, JetBrains 2026.x). Cross-linked from README and CONTRIBUTING.
|
||||
- **Auto-create GitHub Discussion workflow.** [`announce-discussion.yml`](../../.github/workflows/announce-discussion.yml) — on `release: published` posts to the **Announcements** category; on push to `docs/**` / `CHANGELOG.md` / `README*.md` posts to **General**, gated by `[skip-discuss]` in the head-commit message and a quiet skip on `bot-ingest:` commits. Uses `gh api graphql` directly (no third-party action). Setup: configure repo variables `DISCUSSION_REPO_ID`, `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID`, `DISCUSSION_GENERAL_CATEGORY_ID` (run the GraphQL pre-flight query in the workflow header to fetch them).
|
||||
|
||||
### Changed
|
||||
|
||||
- **CI notify wrappers.** `notify-ci-failure.yml`, `notify-deploy.yml`, and [`notify-release-pipeline.yml`](../../.github/workflows/notify-release-pipeline.yml) replace `workflows: ["*"]` with explicit allowlists. Every workflow run no longer fans out to all three wrappers; the Actions tab is much quieter and the per-event reusable filtering is what it always should have been.
|
||||
- **`bot-ingest.yml` cleanup.** Removed a dead final step that referenced a non-existent `${{ secrets.BOT_TOKEN }}` and a `result.txt` file. The Python `success`/`failure` Telegram callback steps above already handle both outcomes.
|
||||
- **Image hints.** Game thumbnails in [`columns.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.2.0/webapp/src/components/data-table/columns.tsx) and the hero in [`game-detail.tsx`](../../webapp/src/routes/game-detail.tsx) now declare `width`/`height` (CLS), `decoding="async"`, and `fetchPriority` (high for hero, low for table rows). itch.io thumbnails remain external — full WebP recompression is intentionally deferred (would require an image proxy).
|
||||
- **About support card** mirrors `.github/FUNDING.yml` exactly: 5 entries (GitHub Sponsors, Patreon, Ko-fi, BMC, PayPal).
|
||||
- **README + README.vi badges** bumped to `3.2.0`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Bot ingest workflow** had a broken final telegram callback step (wrong secret name + missing input file). Removed; the working callback steps above are unaffected.
|
||||
|
||||
### Setup notes for maintainers (one-time, post-merge)
|
||||
|
||||
To enable the auto-discussion workflow, run once:
|
||||
|
||||
```sh
|
||||
gh api graphql -f query='query{repository(owner:"poli0981",name:"free-games-itchio-list"){
|
||||
id
|
||||
discussionCategories(first:20){nodes{id slug name}}
|
||||
}}'
|
||||
```
|
||||
|
||||
Then in repo Settings → Secrets and variables → Actions → Variables, add:
|
||||
|
||||
- `DISCUSSION_REPO_ID` — the `repository.id` from the response.
|
||||
- `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID` — the `id` of the Announcements category.
|
||||
- `DISCUSSION_GENERAL_CATEGORY_ID` — the `id` of the General category.
|
||||
|
||||
Without these set, the workflow runs but no-ops with a warning (safe default).
|
||||
@@ -0,0 +1,24 @@
|
||||
# Changelog — 3.3.x
|
||||
|
||||
Release notes for 3.3.0, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.3.0] - 2026-05-16 (Mobile polish + Settings + in-browser GPG commit signing)
|
||||
|
||||
### Added
|
||||
|
||||
- **In-browser GPG commit signing.** Every write the webapp makes (single-file edits, bulk edit/delete, queueing URLs) can now be GPG-signed client-side. New `webapp/src/lib/gpg/` module: `canonicalize.ts` builds the exact byte string Git would hash, `sign.ts` lazy-imports `openpgp` and exposes `loadPrivateKey` / `signCommit` / `verifyDetached`, `storage.ts` wraps localStorage helpers. Verified byte-for-byte against `git cat-file commit <sha>` so the signed canonical exactly matches what GitHub will recompute (no trailing-newline drift). Private keys are decrypted once at import and re-encrypted with the webapp passphrase (AES-GCM, same scheme as the PAT) — `openpgp` is loaded only when the Commit Signing card is opened or a commit is being signed (`vendor-openpgp` chunk, ~129 KB gz, lazy).
|
||||
- **Settings → Commit signing card.** New `webapp/src/components/settings/gpg-card.tsx` — three states (not configured / locked / unlocked) with Import (paste armored or upload `.asc`), Unlock, Test sign (round-trip verify), Copy public key, Lock, Remove. Shows the imported key's UIDs as badges and flags a clear mismatch warning if the configured commit-author email isn't in the key's UID list (the most common cause of GitHub's "Someone may be trying to trick you" warning). After import, primary UID email auto-populates Commit author so commits Verify on the first try.
|
||||
- **Settings Phase A — Appearance / Session / Commit author / Notifications cards.** [`webapp/src/routes/settings.tsx`](../../webapp/src/routes/settings.tsx) gained four new cards backed by extended preferences in [`webapp/src/stores/prefs.ts`](../../webapp/src/stores/prefs.ts): theme picker (Light / Dark / System), layout density (Normal / Compact), sidebar collapse mirror, idle-timeout slider (5 / 15 / 30 / 60 / 120 min — replaces the hard-coded 30-min constant in `auth.ts`), commit-author name/email override, toast enable + duration. Density applies via `html[data-density='compact']` rules in [`index.css`](../../webapp/src/index.css); toasts are gated through a new [`AppToaster`](https://github.com/poli0981/free-games-itchio-list/blob/v3.3.0/webapp/src/components/app-toaster.tsx) wrapper that reads prefs.
|
||||
- **Mobile card view for the games table.** New [`webapp/src/lib/use-is-mobile.ts`](../../webapp/src/lib/use-is-mobile.ts) (`matchMedia('(max-width: 767px)')`) and [`webapp/src/components/data-table/mobile-card-list.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.3.0/webapp/src/components/data-table/mobile-card-list.tsx). Below the `md` breakpoint, [`DataTable`](https://github.com/poli0981/free-games-itchio-list/blob/v3.3.0/webapp/src/components/data-table/data-table.tsx) renders a stacked card list (thumbnail + name + dev + genre/status/NSFW/safe badges, tap-to-detail, selection checkbox) instead of the 9-column virtualized table that overflowed at 430 px. Pagination is shared between both views.
|
||||
- **Workflows route mobile fallback.** `workflows.tsx` now dual-renders the action picker — a `<Select>` dropdown below `md`, the existing `TabsList` at `md` and above. Fixes the overflow from five `whitespace-nowrap` triggers in an `inline-flex` TabsList at 430 px viewport.
|
||||
|
||||
### Changed
|
||||
|
||||
- **All write paths route through the Git Data API.** `webapp/src/lib/github/contents.ts` `putFile` (`PUT /repos/.../contents/{path}`) is gone — that endpoint authors commits as the PAT and never accepts a `signature` field. Replaced with `commitSingleFile` which delegates to `atomicCommit` so single-file edits (game annotations, `temp_link.json` queue) get the same signer plumbing as bulk operations. `atomicCommit` gained an optional `signer` parameter (defaulting to `getSignerIfEnabled()`) that, when present, builds the canonical commit object, signs detached binary-mode via openpgp, and passes `author` / `committer` / `signature` to `git.createCommit`. Commit author identity falls back through prefs override → imported key's primary UID email → GitHub user.
|
||||
- **About page** lists `OpenPGP.js` 6.3 under Data dependencies; the [`webapp/vite.config.ts`](../../webapp/vite.config.ts) `manualChunks` rule emits a dedicated `vendor-openpgp` chunk so the cost is only paid when a user opens the signing card.
|
||||
- **README + README.vi badges** bumped to `3.3.0`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Workflows `/workflows` tabs no longer overflow on mobile.** Pre-fix: five `whitespace-nowrap` triggers in an `inline-flex` TabsList blew past a 430 px viewport.
|
||||
- **DataTable no longer overflows on mobile.** Pre-fix: nine fixed-width columns minus three responsive-hidden ones still exceeded 430 px.
|
||||
@@ -0,0 +1,40 @@
|
||||
# Changelog — 3.4.x
|
||||
|
||||
Release notes for 3.4.0 – 3.4.1, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.4.1] - 2026-05-17 (Hotfix: DataTable column alignment + Discussion-announce auto-discovery)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **DataTable columns misaligned at desktop widths.** Header used native table-layout (`<table className="w-full">` + `<th style={{width}}>`) while body rows used flex layout (`position: absolute` + `flex w-full`, cells with `flex: 0 0 Npx` / `1 1 0`). Native table-layout stretched the 8 size-less columns to fill the container based on content, but the absolutely-positioned body `<tr>` never participated in table layout — so its flex children stayed at their fixed flex-basis. Result: at the Tauri default 1280×800 window (and any viewport wider than the natural sum of header content widths) header columns drifted off the cells below them. [`webapp/src/components/data-table/data-table.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.4.1/webapp/src/components/data-table/data-table.tsx) now renders the header `<tr>` with `flex w-full` and each `<th>` with `flex h-10 items-center` + the same `flex: 0 0 Npx` / `1 1 0` style block as the body `<td>` — header and body now compute width identically. Helper `priorityHeaderClass` (which emitted `table-cell` variants) is gone; the existing `priorityClass` (`flex` variants) now drives both. No change to column definitions in [`columns.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.4.1/webapp/src/components/data-table/columns.tsx).
|
||||
- **`announce-discussion.yml` was a silent no-op since v3.2.0.** Both jobs (`announce-release`, `announce-docs`) gated on three repo variables (`DISCUSSION_REPO_ID`, `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID`, `DISCUSSION_GENERAL_CATEGORY_ID`) that had never been configured — the validation step printed `::warning::… Skipping.` and `exit 0`, so every release silently failed to post to Discussions without surfacing a failed run. Replaced the two validation steps with a `Discover Discussion IDs` step that queries `gh api graphql` for `repository.id` and looks up the category by slug (`announcements` / `general`). Zero config now — works on any repo with Discussions enabled. Fails loudly with a clear `::error::` message if Discussions isn't enabled or the expected category is missing. Dropped the dependency on `vars.DISCUSSION_*` and removed every `if: steps.validate.outputs.ids_ok == 'true'` gate.
|
||||
|
||||
### Changed
|
||||
|
||||
- **README + README.vi badges** bumped to `3.4.1`.
|
||||
|
||||
### Notes
|
||||
|
||||
- This is a webapp + CI hotfix. No Python pipeline changes, no Tauri / Rust binary boundary change — `Cargo.toml` and `tauri.conf.json` stay at `0.1.1`, no THIRD_PARTY entries change.
|
||||
- The leftover `DISCUSSION_REPO_ID` / `DISCUSSION_ANNOUNCEMENTS_CATEGORY_ID` / `DISCUSSION_GENERAL_CATEGORY_ID` repo variables (if you set them earlier) are now unused and can be removed from Settings → Variables.
|
||||
|
||||
---
|
||||
|
||||
## [3.4.0] - 2026-05-16 (Periodic refresh workflows + UTF-8 round-trip fix)
|
||||
|
||||
### Added
|
||||
|
||||
- **Update reviews — bi-weekly workflow.** New `scripts/update_reviews.py`, wrapper `bash/update_reviews.sh`, and `.github/workflows/update_reviews.yml` re-scrape every existing game's itch.io page on the 1st and 15th of each month (05:00 UTC) and write fresh `rating` + `rating_count`. Network errors / 404 keep the old values. Touches only those two fields — everything else (annotations, metadata) is left alone.
|
||||
- **Update status — monthly workflow.** New `scripts/update_status.py`, `bash/update_status.sh`, and `.github/workflows/update_status.yml` refresh the `status` field on the 1st of each month (06:00 UTC). Same skip-on-error semantics.
|
||||
- **Force update — manual emergency button.** New `scripts/force_update.py`, `bash/force_update.sh`, and [`.github/workflows/force_update.yml`](../../.github/workflows/force_update.yml) accept an optional `url` input. Empty input re-scrapes every game; a single URL targets just that one. `workflow_dispatch` only — no schedule. Every run preserves the three user-editable annotations (`safe_virus`, `notes`, `nsfw`) per the read/write field convention in [CLAUDE.md](../../CLAUDE.md). Doubles as the canonical repair tool for mojibake left by older webapp commits — re-scrape pulls clean UTF-8 from itch.io.
|
||||
- **`generate_table.yml` chained on the three new workflows** so `lists/*.md` stay in sync after any data mutation.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **UTF-8 mojibake on webapp commits.** `webapp/src/lib/github/contents.ts` `readFileWithSha` and `webapp/src/lib/github/git-data.ts` `bulkDeleteGames` were decoding GitHub's base64 content with `atob` alone, producing a Latin-1 binary string. Multi-byte UTF-8 sequences (e.g. Vietnamese `ã` = `0xC3 0xA3`) became two Latin-1 code points (`ã`); the next write re-encoded them as UTF-8 bytes, double-corrupting on every edit. Confirmed live damage in `data_game/game_info_002.json` (`BotÃÂão Esquerdo` was originally `Botão Esquerdo`). Extracted a shared helper `webapp/src/lib/github/encoding.ts` (`base64ToUtf8` / `utf8ToBase64`) that uses `TextDecoder('utf-8')` / `TextEncoder` and routes both call sites through it. Write path was already correct.
|
||||
|
||||
### Notes
|
||||
|
||||
- **Repair existing mojibake**: after this release deploys, run `Force update` once via `workflow_dispatch` with no input. It re-scrapes every game (~15–25 min) and writes back clean UTF-8 while preserving manual annotations. `generate_table.yml` will then auto-regenerate the markdown lists.
|
||||
- **Browser cache**: anyone editing via the webapp should hard-refresh once after the new build lands so they're not using the pre-fix bundle (which would continue to mangle non-Latin chars on the next edit).
|
||||
- **README + README.vi badges** bumped to `3.4.0`. No Tauri / Rust binary change — `Cargo.toml` and `tauri.conf.json` stay at `0.1.1`.
|
||||
@@ -0,0 +1,97 @@
|
||||
# Changelog — 3.5.x
|
||||
|
||||
Release notes for 3.5.0 – 3.5.2, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.5.2] - 2026-05-23 (Dead-code cleanup — knip + vulture)
|
||||
|
||||
### Added
|
||||
|
||||
- **knip** (v6) wired into the webapp as the unused-files / exports /
|
||||
dependencies detector — config in [`webapp/knip.json`](../../webapp/knip.json),
|
||||
run via `cd webapp && npm run knip`.
|
||||
- **vulture** configured for the Python pipeline (`[tool.vulture]` in
|
||||
[`pyproject.toml`](../../pyproject.toml)) — it catches dead functions, classes, and
|
||||
attributes that ruff's `F` rules don't.
|
||||
- **[`docs/THIRD_PARTY.md`](../../docs/THIRD_PARTY.md)** — a new doc attributing the
|
||||
dev-only tooling (knip, vulture, ruff, ESLint, TypeScript), cross-linked from
|
||||
[`docs/ACKNOWLEDGEMENTS.md`](../../docs/ACKNOWLEDGEMENTS.md).
|
||||
|
||||
### Removed
|
||||
|
||||
- **8 unused webapp dependencies**: `react-hook-form`, `@hookform/resolvers`,
|
||||
`zod`, `idb-keyval`, `@radix-ui/react-dropdown-menu`,
|
||||
`@radix-ui/react-tooltip`, `@tauri-apps/plugin-http`, `@tauri-apps/api`.
|
||||
- **The unwired Tauri Phase-8b scrape-preview scaffold** —
|
||||
`webapp/src/lib/tauri-scrape.ts` and `getRuntimeInfo` / `RuntimeInfo` in
|
||||
[`runtime.ts`](../../webapp/src/lib/runtime.ts). It was documented but never wired
|
||||
into any UI; [`webapp/TAURI.md`](../../webapp/TAURI.md) was trimmed to match.
|
||||
- **~20 unused webapp exports / types** — dead helpers (`findChunkFor`,
|
||||
`indexByUrl`, `rawUrl`, `useIndex`, `isIdleExpired`, …), the unused
|
||||
`EDITABLE_FIELDS` / `READONLY_FIELDS` constants, and 7 unused shadcn/ui
|
||||
primitive exports. Exports used only inside their own module were demoted
|
||||
from `export` rather than deleted.
|
||||
|
||||
### Changed
|
||||
|
||||
- `webapp/src/lib/about.ts` `THIRD_PARTY` array trimmed to match the removed
|
||||
dependencies.
|
||||
|
||||
### Notes
|
||||
|
||||
- DX / code-quality only — no runtime behaviour change. `isIdleExpired` was
|
||||
already dead (nothing called it), so PAT idle auto-lock is unchanged — still
|
||||
not enforced.
|
||||
- No Tauri / Rust binary boundary change — `Cargo.toml` and `tauri.conf.json`
|
||||
stay at `0.1.1`. The Rust `tauri-plugin-http` crate is now unreferenced from
|
||||
the front-end — a candidate for a future Rust-side cleanup.
|
||||
- knip + vulture join `npm run lint`, `ruff check`, and `npm audit` as the
|
||||
standing pre-release QA pass.
|
||||
|
||||
---
|
||||
|
||||
## [3.5.1] - 2026-05-20 (Lint cleanup — zero ESLint problems)
|
||||
|
||||
### Changed
|
||||
|
||||
- **`npm run lint` now runs clean — 0 errors, 0 warnings** (down from 17 errors + 5 warnings, all pre-existing; v3.5.0 added none).
|
||||
- [`webapp/eslint.config.js`](../../webapp/eslint.config.js): `react-refresh/only-export-components` is turned off for `src/components/ui/**` — the vendored shadcn primitives intentionally mix component and variant/constant exports and cannot satisfy the rule without forking upstream. The rule stays on for all other app code.
|
||||
- `react-hooks/incompatible-library` is turned off — it only flagged TanStack Table's `useReactTable`, whose API is not React-Compiler-memoizable by design (not actionable).
|
||||
- **`SortableHeader` extracted** into its own [`webapp/src/components/data-table/sortable-header.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.5.1/webapp/src/components/data-table/sortable-header.tsx); [`columns.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.5.1/webapp/src/components/data-table/columns.tsx) is now a pure column-definition module.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **`react-hooks/exhaustive-deps`** in [`routes/games.tsx`](../../webapp/src/routes/games.tsx) and [`data-table/faceted-filter.tsx`](https://github.com/poli0981/free-games-itchio-list/blob/v3.5.1/webapp/src/components/data-table/faceted-filter.tsx): values built with `?? []` created a fresh array every render, defeating the `useMemo`s that depended on them. `data` is now wrapped in `useMemo`; the faceted-filter `selected` memo was restructured to depend on a stable value.
|
||||
|
||||
### Notes
|
||||
|
||||
- DX / code-quality only — no runtime behaviour change. No Tauri / Rust binary change (`Cargo.toml` / `tauri.conf.json` stay `0.1.1`); no `THIRD_PARTY` change.
|
||||
|
||||
---
|
||||
|
||||
## [3.5.0] - 2026-05-20 (Charts expansion + game-count history + pipeline cleanup)
|
||||
|
||||
### Added
|
||||
|
||||
- **Six new charts on `/charts`.**
|
||||
- **Game count over time** — a `LineChart` of the catalog size by day, backed by a new `data_game/count_history.json` (date-keyed `{date, total}` series). [`scripts/data_store.py`](../../scripts/data_store.py) `_append_count_history()` upserts today's total on every catalog write (last-write-wins per UTC day). `scripts/backfill_count_history.py` is a one-time dev tool that reconstructs the series from git history (`data_game/index.json`, plus the pre-refactor `scripts/game_info.json`). The webapp loads it via `loadCountHistory` / `useCountHistory`.
|
||||
- **Genre treemap** — a Recharts `Treemap` with a custom cell renderer that hides labels on rectangles too small to fit them, so it stays legible on mobile.
|
||||
- **KPI summary cards** — total games / online / NSFW / deleted / average rating, above the Overview grid.
|
||||
- **Deletions over time** (bar, by month), **Deletion reasons** (pie: became-paid vs page-removed), and **Most rated games** (top 10 by `rating_count`).
|
||||
- **Scroll-to-top button** — a floating bottom-right button that appears after scrolling the main pane. New [`webapp/src/components/scroll-to-top.tsx`](../../webapp/src/components/scroll-to-top.tsx).
|
||||
- **Python linting** — `ruff` config in a new root `pyproject.toml`; run `ruff check scripts/`.
|
||||
|
||||
### Changed
|
||||
|
||||
- **`charts.tsx` split into a module.** The monolith is now a `webapp/src/components/charts/` folder — one file per chart, a shared `chart-card.tsx` (`ChartCard` + `PALETTE`), and an `index.ts` barrel. 16 charts across the 4 tabs.
|
||||
- **`scripts/json_io.py`** — new shared module. `load_json` / `save_json` (previously copy-pasted into both `check_alive.py` and `check_paid.py`) live here now, alongside `dedup_deleted`.
|
||||
- README + README.vi badges bumped to `3.5.0`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **The deleted-games log can no longer accumulate duplicate URLs.** `check_alive.py` and `check_paid.py` appended to `scripts/deleted_games.json` with no guard — a game removed, re-added by the scraper, then removed again would be logged twice. The new `dedup_deleted()` (keyed by URL, keeping the earliest `deleted_at`) runs on every write and inside `log_deleted.py`. Two genuinely different games that share a title but have different urls are kept separate.
|
||||
|
||||
### Notes
|
||||
|
||||
- No Tauri / Rust binary boundary change — `Cargo.toml` and `tauri.conf.json` stay at `0.1.1`, no `THIRD_PARTY` entries change (Recharts already shipped; `Treemap` / `LineChart` need no new dependency).
|
||||
- `data_game/count_history.json` is auto-committed by the scrape workflows — the bash wrappers already `git add data_game/` wholesale, so no workflow changes were needed.
|
||||
- The dead-code sweep found the project already tidy (TS strict mode + ESLint catch unused webapp code). `webapp/src/lib/tauri-scrape.ts` `tauriScrapePreview` was reviewed and intentionally kept as a Phase-8b stub.
|
||||
@@ -0,0 +1,72 @@
|
||||
# Changelog — 3.6.x
|
||||
|
||||
Release notes for 3.6.0 – 3.6.1, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.6.1] - 2026-06-12 (Hotfix — desktop build vs broken `time` 0.3.48)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **v3.6.0's desktop installers never built**: `time` 0.3.48 (released
|
||||
2026-06-12, hours before the v3.6.0 tag) fails to compile inside
|
||||
`tauri-utils` with `E0119: conflicting implementations of trait From<…>`
|
||||
([time-rs/time#783](https://github.com/time-rs/time/issues/783)). Since no
|
||||
`Cargo.lock` is committed, CI resolved the broken release fresh.
|
||||
`webapp/src-tauri/Cargo.toml` now pins `time = "=0.3.47"` (the version every
|
||||
release through v3.5.2 built with) — remove the pin once the upstream fix
|
||||
ships.
|
||||
|
||||
### Notes
|
||||
|
||||
- Web feature set is identical to v3.6.0; this tag exists to produce the
|
||||
desktop installers. `about.ts` version bump also busts the new IndexedDB
|
||||
catalog cache, which is harmless.
|
||||
- No Tauri version bump (`Cargo.toml` / `tauri.conf.json` stay `0.1.1`) — a
|
||||
dependency pin to the previously-resolved version changes no binary
|
||||
behavior.
|
||||
|
||||
---
|
||||
|
||||
## [3.6.0] - 2026-06-12 (i18n EN/VI + offline cache + custom error pages)
|
||||
|
||||
### Added
|
||||
|
||||
- **Bilingual UI (English / Tiếng Việt)** — a minimal typed i18n layer
|
||||
([`webapp/src/lib/i18n/`](../../webapp/src/lib/i18n)) with ~340 keys covering every
|
||||
route, dialog, chart, and toast. The Vietnamese dictionary is a **lazy-loaded
|
||||
chunk**: it is only downloaded the first time the language is switched to VI
|
||||
(or on startup when VI is the persisted preference). Switcher lives in
|
||||
Settings → Appearance; the preference persists in `webapp.prefs`.
|
||||
- **Offline-first catalog cache** — the react-query cache for the public
|
||||
catalog queries (`db`, `deleted`, `count-history`) now persists to
|
||||
**IndexedDB** (`@tanstack/react-query-persist-client` +
|
||||
`@tanstack/query-async-storage-persister` + `idb-keyval`). Revisits paint
|
||||
instantly from cache (~2 MB of JSON no longer re-downloaded cold) and
|
||||
revalidate in the background. Cache busts automatically on each release
|
||||
(`buster = APP.version`, `maxAge` 7 days). PAT-gated data is never persisted.
|
||||
- **Custom error pages** — a status-aware
|
||||
[`ErrorPage`](../../webapp/src/components/error-page.tsx) (400, 401, 403, 404, 408,
|
||||
419, 429, 500, 502, 503, 504, offline, unknown) wired into every route's
|
||||
error branch with the *real* HTTP status (`fetchRaw` now throws a typed
|
||||
`HttpError`), plus:
|
||||
- a route-level **ErrorBoundary** that detects stale-chunk failures after a
|
||||
redeploy and offers a one-click reload ("New version available"),
|
||||
- a hidden `/#/errors/:code` preview route,
|
||||
- a static `webapp/public/404.html` served by
|
||||
GitHub Pages for bad path URLs (bilingual, dark-mode aware, zero JS).
|
||||
|
||||
### Changed
|
||||
|
||||
- `ReactQueryDevtools` is now explicitly gated behind `import.meta.env.DEV`.
|
||||
- Game thumbnails render through a shared
|
||||
[`GameThumb`](../../webapp/src/components/game-thumb.tsx) that falls back to the
|
||||
muted placeholder when a cover 404s; the Settings avatar is now lazy-loaded.
|
||||
- `idb-keyval` returns (removed as unused in v3.5.2 — it has a real consumer
|
||||
now); `THIRD_PARTY` in `about.ts` lists the three new data-layer deps.
|
||||
|
||||
### Notes
|
||||
|
||||
- The About page's legal/credits data intentionally stays English (controlling
|
||||
language for legal interpretation); Vietnamese policy docs remain under
|
||||
[`docs/i18n/vi/`](../../docs/i18n/vi).
|
||||
- No Tauri / Rust binary boundary change — `Cargo.toml` / `tauri.conf.json`
|
||||
stay at `0.1.1`.
|
||||
@@ -0,0 +1,70 @@
|
||||
# Changelog — 3.7.x
|
||||
|
||||
Release notes for 3.7.0 – 3.7.1, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.7.1] - 2026-06-14 (Hotfix — desktop build vs invalid Tauri NSIS license key)
|
||||
|
||||
### Fixed
|
||||
|
||||
- **v3.7.0's desktop installers never built.** The NSIS EULA was wired via
|
||||
`bundle.windows.nsis.license`, but `@tauri-apps/cli` 2.11.0's `NsisConfig`
|
||||
has no `license` key (it was added in a later release), so every platform
|
||||
failed config validation at the `Build Tauri app` step. Switched to the
|
||||
top-level `bundle.licenseFile` (valid in 2.11.0) pointing at an **RTF** EULA
|
||||
([`webapp/src-tauri/installer/EULA.rtf`](../../webapp/src-tauri/installer/EULA.rtf)).
|
||||
RTF satisfies **both** Windows bundlers — WiX (`.msi`) requires RTF and NSIS
|
||||
(`.exe`) auto-detects it — so both installers show the "I Agree" page. The
|
||||
previous plain-text `EULA.txt` would also have broken the WiX/`.msi` build.
|
||||
|
||||
### Notes
|
||||
|
||||
- Web feature set is identical to v3.7.0 (which deployed fine); this tag exists
|
||||
to produce the desktop installers. `about.ts` version bump also busts the
|
||||
IndexedDB catalog cache, which is harmless. No Tauri version bump
|
||||
(`tauri.conf.json` stays `0.1.1`).
|
||||
|
||||
---
|
||||
|
||||
## [3.7.0] - 2026-06-14 (Legal-acceptance gates + per-tab chart lazy-loading)
|
||||
|
||||
### Added
|
||||
|
||||
- **First-launch legal-acceptance gate** — on first visit (and in every fresh
|
||||
incognito session, since `localStorage` starts empty there) the app shows a
|
||||
full-screen, non-dismissible gate before the main UI. It links the License,
|
||||
EULA, Privacy Policy, Disclaimer, Terms of Use, Code of Conduct, and Security
|
||||
Policy (reusing `LEGAL_LINKS`), and requires ticking a checkbox to continue.
|
||||
New component [`webapp/src/components/legal-gate.tsx`](../../webapp/src/components/legal-gate.tsx),
|
||||
built on raw Radix Dialog primitives (focus-trapped, no close-X, Esc /
|
||||
outside-click disabled). Acceptance persists as `acceptedLegalVersion` in the
|
||||
existing `webapp.prefs` localStorage blob — **no cookie** (consistent with the
|
||||
"no cookies" privacy stance). A `LEGAL_VERSION` constant
|
||||
([`webapp/src/stores/prefs.ts`](../../webapp/src/stores/prefs.ts)) lets a future
|
||||
policy edit re-prompt every user with a one-line bump.
|
||||
- **Windows installer EULA page** — both Windows installers (the NSIS `.exe`
|
||||
and the WiX `.msi`) now show an "I Agree" license step before installing,
|
||||
wired via the top-level `bundle.licenseFile` →
|
||||
[`webapp/src-tauri/installer/EULA.rtf`](../../webapp/src-tauri/installer/EULA.rtf).
|
||||
RTF is used so both bundlers render it (WiX requires RTF; NSIS auto-detects
|
||||
it). The in-app gate above covers first-run consent on macOS / Linux, whose
|
||||
installers have no equivalent step.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Charts route split into four lazy per-tab chunks**
|
||||
([`webapp/src/components/charts/tabs/`](../../webapp/src/components/charts/tabs)).
|
||||
Each tab imports its chart components directly (the `charts/index.ts` barrel
|
||||
was removed so the bundler keeps each tab's components in its own chunk).
|
||||
Result: only the default **Overview** tab's components load when `/charts`
|
||||
opens; the Reach / Quality / Discovery component code downloads on first
|
||||
click. Recharts itself (the ~380 KB `vendor-charts` chunk) still loads with
|
||||
Overview — unavoidable since the default tab renders charts — but it was
|
||||
already deferred to the lazy `/charts` route, so it never touches app startup.
|
||||
- `about.ts` version → 3.7.0 (also busts the IndexedDB catalog cache, harmless);
|
||||
Claude Code co-author credit updated to Opus 4.8.
|
||||
|
||||
### Notes
|
||||
|
||||
- Images, routes, and OpenPGP were already lazy-loaded; this release closes the
|
||||
remaining gap (charts). No Tauri version bump (`tauri.conf.json` stays
|
||||
`0.1.1`) — the NSIS license is a bundler-config addition, not a binary change.
|
||||
@@ -0,0 +1,37 @@
|
||||
# Changelog — 3.8.x
|
||||
|
||||
Release notes for 3.8.0, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.8.0] - 2026-06-15 (Android APK target 📱)
|
||||
|
||||
### Added
|
||||
|
||||
- **Android APK build & packaging via Tauri mobile.** The same React + Tauri app now ships as a
|
||||
sideloadable **arm64-v8a `.apk`** (no Play Store), built and **post-signed** (`zipalign` →
|
||||
`apksigner`) by [`.github/workflows/release_android.yml`](../../.github/workflows/release_android.yml)
|
||||
and attached to the same draft Release as the desktop installers (manual `workflow_dispatch`
|
||||
uploads it as a downloadable workflow artifact instead). `gen/android` stays gitignored — signing
|
||||
is a post-build step, not a Gradle edit. New repo secrets: `ANDROID_KEYSTORE_BASE64` /
|
||||
`ANDROID_KEYSTORE_PASSWORD` / `ANDROID_KEY_ALIAS`. Full build/signing docs in
|
||||
[`webapp/TAURI.md`](../../webapp/TAURI.md).
|
||||
- **Mobile UX** — the Android hardware / gesture back button is wired to in-app router history
|
||||
(`useBackButton`), safe-area insets are respected, and the sidebar shows a platform-aware badge
|
||||
("Mobile app" / "Desktop app").
|
||||
- Added dependency: `@tauri-apps/api`.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Bundle `identifier` is now alphanumeric** — `com.poli0981.freegamesitchio` (was the hyphenated
|
||||
`com.poli0981.free-games-itchio-webapp`). Android rejects hyphens in the app id (`android init`
|
||||
panics) and Tauri's validator rejects underscores, so alphanumeric is the only form valid on
|
||||
both. Tauri uses one identifier across all platforms, so this also changed the **desktop** bundle
|
||||
ID (a one-time OS-level reinstall).
|
||||
- **Realigned versions** — `tauri.conf.json` / `Cargo.toml` / `about.ts` set to `3.8.0` (was a
|
||||
long-standing `0.1.1` vs `3.x` drift), so `versionCode` / `versionName` are sensible and
|
||||
monotonic.
|
||||
|
||||
### Notes
|
||||
|
||||
- CI: the Android JDK setup must **not** use `cache: gradle` — `gen/android` is gitignored and
|
||||
generated mid-job, so there are no gradle files at checkout to key on (it hard-fails). rust-cache
|
||||
+ npm cache still apply.
|
||||
@@ -0,0 +1,36 @@
|
||||
# Changelog — 3.9.x
|
||||
|
||||
Release notes for 3.9.0, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [3.9.0] - 2026-06-15 (Android minSdk → 11 / API 30)
|
||||
|
||||
### Changed
|
||||
|
||||
- **Android APK floor raised from API 24 (Android 7.0) to API 30 (Android 11).**
|
||||
`minSdkVersion` in [`webapp/src-tauri/tauri.conf.json`](../../webapp/src-tauri/tauri.conf.json)
|
||||
`bundle.android` is now `30`. Because Android's package installer refuses any APK whose
|
||||
`minSdkVersion` exceeds the device API level, this **is** the install block — the app simply
|
||||
can't install on Android < 11 ("app not installed / incompatible"); no runtime check by design.
|
||||
Rationale, stated honestly:
|
||||
- **Not a JS-feature floor** — the System WebView is independently updatable down to API 24, so
|
||||
SubtleCrypto / OpenPGP.js / IndexedDB / ES2020 already work on older OSes. That's not the
|
||||
binding constraint.
|
||||
- **Security + patch availability** — Android 11 added scoped-storage enforcement, one-time /
|
||||
auto-reset permissions, and a tighter sandbox; pre-11 releases are also off Google's AOSP
|
||||
monthly Security Bulletins (Android 10 ended 2023-03-06, Android 11 ended 2024-02-05; only
|
||||
14 / 15 / 16 remain as of mid-2026).
|
||||
- **Tested range** — we validate only on Android 11+ (emulator 11 → latest; real phone
|
||||
vivo 1907 / Android 12 — see [`docs/pc_spec.md`](../../docs/pc_spec.md)). Shipping an untested floor
|
||||
was the real risk.
|
||||
- **Reach cost is small** — API 30+ ≈ 86.9% of active devices (was 96.6% at API 24); only the
|
||||
pre-2020 long tail is dropped.
|
||||
|
||||
Data sources: [endoflife.date/android](https://endoflife.date/android),
|
||||
[Android Security Bulletins](https://source.android.com/docs/security/bulletin),
|
||||
[StatCounter version share](https://gs.statcounter.com/android-version-market-share/mobile/worldwide/) (May 2026),
|
||||
[apilevels.com](https://apilevels.com/) (StatCounter cumulative distribution, Apr 2026).
|
||||
|
||||
### Notes
|
||||
|
||||
- `versionCode` re-derives to `3009000` (see the Android `versionCode` gotcha in [CLAUDE.md](../../CLAUDE.md)). The web and desktop builds are unaffected by
|
||||
the Android floor. The `about.ts` version bump busts the IndexedDB catalog cache (harmless).
|
||||
@@ -0,0 +1,167 @@
|
||||
# Changelog — 4.0.x
|
||||
|
||||
Release notes for 4.0.0, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [4.0.0] - 2026-09-18 (freeitchgames.win on Cloudflare: read-only site, review queue, new design)
|
||||
|
||||
Version 4 moves the website to **https://freeitchgames.win** on Cloudflare, makes it read-only for
|
||||
everyone (no sign-in), adds a maintainer-only admin with a review queue for new games, replaces the
|
||||
failing data crawls with a rotating refresh, and splits the licenses (code MIT, data and docs
|
||||
CC BY 4.0).
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **The web app no longer signs in or edits.** The GitHub-token (PAT) sign-in, in-app editing, the
|
||||
Add / Workflows pages and GPG commit signing are gone; on first load the app deletes the
|
||||
encrypted token and key it stored before. Suggest games at https://freeitchgames.win/suggest.
|
||||
- **Old links keep working**: `…github.io/free-games-itchio-list/#/x` redirects to the new site,
|
||||
and `#/x` links become `/x`.
|
||||
- **Desktop and Android apps** are read-only viewers too; they read the catalog from
|
||||
freeitchgames.win. Install 4.0.0 over 3.x as usual.
|
||||
- **New legal terms** (ToS, Privacy Policy, EULA for the apps only, Disclaimer): the site asks you to
|
||||
accept them again once.
|
||||
|
||||
### New design
|
||||
|
||||
- A clean, table-first interface under the name **Free Itch Games**: a top navigation bar with a
|
||||
global search (press `/`) and a display menu (theme, language, density, 18+) replaces the
|
||||
sidebar, and a **Welcome** page at `/` (catalog status, recently added games) replaces the
|
||||
dashboard.
|
||||
- **Games**: search plus filters for genre, platform, status, tags, language, input, engine,
|
||||
minimum rating and "plays in browser", each showing how many games it would match. The search,
|
||||
filters, sort and page are kept in the URL, so a filtered list can be bookmarked or shared. Phones
|
||||
get a list layout.
|
||||
- A new game page (cover, key facts, tags that open the matching list, "Report a problem"), a
|
||||
searchable removed-games page and a simpler Settings page.
|
||||
- The first-visit legal gate is now a dialog over the page, so a shared link opens where it
|
||||
pointed once the terms are accepted.
|
||||
- Tailwind CSS 4, the self-hosted Geist typefaces, new icons and social preview image; numbers and
|
||||
dates follow the chosen language.
|
||||
|
||||
### Website & Worker
|
||||
|
||||
- The site is served by a Cloudflare Worker with static assets ([`webapp/wrangler.jsonc`](../../webapp/wrangler.jsonc),
|
||||
[`webapp/worker/`](../../webapp/worker)) and the catalog JSON is bundled into every build (`/data/*`,
|
||||
plus a sitemap), so each data commit republishes the site; the desktop/Android apps read the same
|
||||
files. Real URL paths instead of `#/` routes, per-page canonical URLs, and real 404s for unknown
|
||||
pages and missing files (a stale script after a deploy can no longer be cached as HTML).
|
||||
- **Cover images** are resized once to small WebP copies (Cloudflare Image Transformations + R2)
|
||||
and served from `/img/…` — about 4 KB instead of up to 3 MB per cover. Only catalog covers are
|
||||
served.
|
||||
- **18+ games are hidden by default**; a visitor can show them (Settings or the display menu) after
|
||||
confirming they are 18 or older (stored only in their browser). The removed-games page is now
|
||||
`/removed` (`/deleted` redirects there). Aggregate, cookieless Cloudflare Web Analytics.
|
||||
- Enforced Content-Security-Policy and security headers; faster first load (~175 KB gzip, charts
|
||||
load only when opened); browser floor Safari/iOS 15.4.
|
||||
- React Router 8, React 19.3, Vite 8 (rolldown), vitest; unused sign-in dependencies (Octokit,
|
||||
OpenPGP.js) removed; Tauri drops its HTTP plugin and `Cargo.lock` is committed.
|
||||
|
||||
### Adding games: review queue
|
||||
|
||||
- **Suggest page** (`/suggest`): anyone can send an itch.io link (+ optional note); protected by
|
||||
Cloudflare Turnstile and a rate limit.
|
||||
- **Browser extension API** (`POST /api/ingest`, Cloudflare Access service token, idempotent) —
|
||||
the extension no longer needs a GitHub token.
|
||||
- **RSS discovery**: every 4 hours the Worker reads one itch.io "new & popular free" feed.
|
||||
- Everything lands in a **review queue** (Cloudflare D1). The maintainer approves or rejects it in
|
||||
the new **admin** (`/admin`, Cloudflare Access), which also edits the three maintainer fields,
|
||||
removes games with a public reason (deleting their resized covers) and restores removed games.
|
||||
Approved games are committed by a GitHub App (verified commits) and scraped by the pipeline.
|
||||
|
||||
### Licenses & legal
|
||||
|
||||
- Code stays **MIT** (`LICENSE`, now "2025-2026 poli0981 (SkullMute)"); the catalog data
|
||||
([`data_game/LICENSE.md`](../../data_game/LICENSE.md)) and the documentation are **CC BY 4.0**
|
||||
([`LICENSES/CC-BY-4.0.txt`](../../LICENSES/CC-BY-4.0.txt)); creators' descriptions, cover images and
|
||||
trademarks are excluded. [`NOTICE.md`](../../NOTICE.md) sums it up: not affiliated with itch.io.
|
||||
- Rewritten Terms of Use (with a content-removal process), Privacy Policy (Cloudflare as
|
||||
processor, exact browser storage, retention, rights under Vietnam's Law No. 91/2025/QH15 and the
|
||||
GDPR), Disclaimer, Security Policy and Code of Conduct, in English and Vietnamese. The EULA now
|
||||
covers only the desktop and Android apps. Contact addresses: legal@, privacy@, security@ and
|
||||
takedown@freeitchgames.win.
|
||||
- Issue templates: "Add games" points to the Suggest page, "Remove a game" gained a
|
||||
rights-holder section; `CODEOWNERS` added.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **freeitchgames.win served the unbuilt `webapp/` source tree** (blank page; `/package.json`,
|
||||
`/src/*` publicly readable). The Vite web build now goes to `webapp/dist`, which
|
||||
[`webapp/wrangler.jsonc`](../../webapp/wrangler.jsonc) deploys (`workers_dev`/`preview_urls` off).
|
||||
- **All 15 Dependabot alerts / npm audit** — lockfile refreshed in-range (vite 8.3.0,
|
||||
react-router-dom 7.18.4, postcss 8.5.28, patched transitive deps); `npm audit` reports 0.
|
||||
- **Android release workflow** moved off Node 20 actions (setup-java v6, upload-artifact v7,
|
||||
setup-android v4, checkout/setup-node v7), SHA-pinned, with a timeout and the tag passed via env.
|
||||
- **`.gitattributes`** — `* text = auto` / `* eol = lf` were invalid (spaces around `=`); now
|
||||
`* text=auto eol=lf` with binary rules, and legal/policy docs ship in source archives again.
|
||||
- OG image, manifest (`start_url`/`scope`/`id` = `/`), canonical/og URLs, sitemap and robots now
|
||||
point at freeitchgames.win; OG title no longer overflows.
|
||||
|
||||
### Data pipeline (rewrite)
|
||||
|
||||
- **One rotating refresh replaces four failing crawls.** `check_paid` / `check_alive` /
|
||||
`update_reviews` / `update_status` each fetched all 2,600+ pages sequentially, overran their
|
||||
job timeouts and — saving only at the end — lost every run since late June (with no alert,
|
||||
because a timeout ends as *cancelled*). The new [`scripts/refresh.py`](../../scripts/refresh.py)
|
||||
(`refresh.yml`, daily) checks one seventh of the catalog with **one request per game**, so every
|
||||
game is re-checked weekly (~86% fewer requests to itch.io), and updates alive / paid / rating /
|
||||
status (+ backfills release date, thumbnail, `updated_at`) from that single page.
|
||||
- **Safer removals:** a game is removed only when the same 404/410 or paid status is seen again at
|
||||
least 20 hours after it was first seen (single flaky responses no longer delete games). A
|
||||
mass-change guard withholds removals — and alerts — when a run would remove or newly strike more
|
||||
than max(10, 10%) of the games it checked (the signature of an itch.io markup change rather than
|
||||
a real wave of paid games); withheld games stay withheld in later runs until a healthy check or
|
||||
an explicit `allow_mass_removal` dispatch, checkpoints of an interrupted scan never remove games,
|
||||
and `apply_patch.py` re-checks the limits. Overlapping scans can no longer undo each other's
|
||||
newer checks.
|
||||
- **Scan → patch → apply:** scanners emit a URL-keyed patch; [`apply_patch.py`](../../scripts/apply_patch.py)
|
||||
applies it to the latest `main`, validates, and [`bash/commit_push.sh`](../../bash/commit_push.sh)
|
||||
retries on push races. Concurrent writers (extension, workflows, future admin) no longer clobber
|
||||
each other; checkpoints + an in-script deadline keep partial work.
|
||||
- **Ingest** (`update.yml`, now runs as soon as the queue changes): canonical URLs, skips games in
|
||||
the deleted log (the removed-then-re-added bug), retries transient failures (3 attempts at least
|
||||
6 hours apart; rate limiting never counts) instead of dropping them, stamps `added_at`, and never
|
||||
wipes links queued meanwhile. A dispatched `url` is processed first and kept in the queue until it
|
||||
reaches a final outcome, and queued runs wait in FIFO order (`queue: max`) instead of replacing
|
||||
each other.
|
||||
- `force_update.yml` runs `refresh.py --full` in rotating batches (a full re-scrape no longer times out).
|
||||
- Honest `FreeItchGamesBot` User-Agent, explicit 429 / Retry-After handling (capped), unbuffered
|
||||
logs, run summaries, Discord alerts on failure / cancel / rate limit.
|
||||
- `data_store.py` keeps games in their chunk and only writes changed bytes; `index.json` /
|
||||
`count_history.json` change only when data does — no more no-op commits.
|
||||
- New [`validate.py`](../../scripts/validate.py) (schema, canonical URLs, duplicates, index consistency)
|
||||
gates every pipeline commit and runs in the new Python CI with a network-free pytest suite.
|
||||
Normalized one invalid `safe_virus` value (`"y"` → `"Yes"`).
|
||||
|
||||
### Removed
|
||||
|
||||
- `lists/*.md` genre tables, `generate_md.py`, `generate_table.yml`, `deleted_games.txt`,
|
||||
`log_deleted.*` — the catalog is web-only (freeitchgames.win).
|
||||
- Telegram bot ingest (`bot-ingest.yml`, `game_via_bot` issue template) — retired.
|
||||
- The web app's sign-in, editing, Add and Workflows pages, GPG signing, and the GitHub Pages
|
||||
deployment (`deploy_webapp.yml`, `notify-deploy.yml`, `pages-redirect/`; Pages keeps serving the
|
||||
redirect stub it last published).
|
||||
- `notify-ci-failure.yml` (replaced by in-workflow notifications) and the old per-task bash wrappers.
|
||||
|
||||
### CI / security
|
||||
|
||||
- All actions SHA-pinned at current majors; `permissions: {}` by default with per-job grants;
|
||||
reusable workflows pinned by SHA with only the secrets they need; script-injection patterns in
|
||||
`announce-discussion.yml` fixed (and it now posts only for `CHANGELOG.md` changes).
|
||||
- Release: one `create-release` job makes the draft that desktop (tauri-action v1, `releaseId`) and
|
||||
Android upload into; release builds use no dependency caches. Publish with
|
||||
`gh release edit vX --draft=false`.
|
||||
- `.github/dependabot.yml` (npm / pip / actions / cargo), Python and web-app PR checks, and an
|
||||
hourly check of main's latest Cloudflare Workers Build that posts each failed build to Discord
|
||||
once (a `check_run` relay would miss the pipeline's own data commits).
|
||||
- One refresh pipeline (scan → apply) runs at a time, so overlapping refresh / force-update runs
|
||||
can't undo each other.
|
||||
- Cancelling a refresh / force-update or a desktop release run now really stops it (`!cancelled()`
|
||||
instead of `always()` on the push / build jobs).
|
||||
|
||||
### Changed
|
||||
|
||||
- The old GitHub Pages address serves a redirect stub that forwards to freeitchgames.win
|
||||
(keeping `#/` routes) and deletes the old app's token and key storage on that origin.
|
||||
- Security headers in [`webapp/public/_headers`](../../webapp/public/_headers) (CSP, Referrer-Policy,
|
||||
frame denial, Permissions-Policy, COOP) and immutable caching for hashed `/assets/*`.
|
||||
- Pipeline logs are unbuffered UTF-8.
|
||||
@@ -0,0 +1,73 @@
|
||||
# Changelog — 4.1.x
|
||||
|
||||
Release notes for 4.1.0 and 4.1.1, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [4.1.1] - 2026-09-29 (New contact addresses)
|
||||
|
||||
The project's contact addresses move to the maintainer's own domain, poli0981.dev.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Updated Privacy Policy, Terms of Use and EULA** (new contact addresses; Google Workspace handles
|
||||
the email): the site and the apps ask you to accept them again once.
|
||||
- **Desktop and Android apps**: install 4.1.1 over 4.1.0 as usual.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Contact addresses** moved to the maintainer's own domain: `contact@`, `legal@`, `privacy@`,
|
||||
`security@` and `takedown@poli0981.dev` (Google Workspace) replace the `@freeitchgames.win`
|
||||
addresses in the policies, READMEs, issue templates, `security.txt` and the installer EULA.
|
||||
- **Privacy Policy, Terms of Use and EULA** (2026-09-29): Google Workspace replaces Cloudflare
|
||||
Email Routing as the email processor, and `contact@poli0981.dev` is listed for general questions.
|
||||
- **About page**: the Developer card links the maintainer's website (poli0981.dev) and
|
||||
`contact@poli0981.dev`; "Find me elsewhere" points to https://poli0981.dev/links/. `mailto:` links
|
||||
open the mail client without a blank tab, and the apps may now open them.
|
||||
|
||||
## [4.1.0] - 2026-09-24 (Verification check, readable charts, changelog folder)
|
||||
|
||||
Version 4.1 puts a quick Cloudflare Turnstile check in front of the website, makes the charts'
|
||||
hover tooltips readable again, and moves this changelog into one file per version.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Updated Privacy Policy, Terms of Use and EULA** (the new verification cookie; `.rpm` listed):
|
||||
the site and the apps ask you to accept them again once.
|
||||
- **Website**: the first visit, then about once every 48 hours, shows a short "Quick check" page run
|
||||
by Cloudflare Turnstile. It usually passes by itself, and the page you opened loads right after.
|
||||
- **Desktop and Android apps** have no check. Install 4.1.0 over 4.0.0 as usual.
|
||||
|
||||
### Added
|
||||
|
||||
- **Verification gate** (web only). Until a browser passes a Turnstile check, the Worker answers app
|
||||
pages with a self-contained verification page ([`webapp/worker/gate-page.ts`](../../webapp/worker/gate-page.ts))
|
||||
and `/img` covers with 403, so nothing of the site loads before the check. Passing sets
|
||||
`__Host-fig_gate` (HttpOnly, host-only, an HMAC-signed issue time) for `BOT_GATE_TTL_HOURS` (48),
|
||||
and the page reloads into the link that was asked for. `/data`, `/assets`, robots, sitemap, the
|
||||
social image, `/api/*` and `/admin*` stay open. Verified search and link-preview bots pass with the
|
||||
token a Cloudflare Transform Rule adds; clients that only claim to be a crawler get a 503. The gate
|
||||
stays off until it is configured, and deleting `GATE_SECRET` switches it off at once
|
||||
([`webapp/worker/gate.ts`](../../webapp/worker/gate.ts), [`docs/operations.md`](../../docs/operations.md)).
|
||||
- `GET /api/verify` reports the pass. A tab whose pass ran out checks again when it is shown (or when a
|
||||
cover fails) and reloads into the verification page.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Chart hover was hard to read**: the band behind the hovered bar was black and tooltips had no
|
||||
background, because the chart colours wrapped the hex design tokens in `hsl()`. Tooltips now use the
|
||||
popover colours, translated series names ("Games" instead of `count`), locale-formatted numbers,
|
||||
each slice's share on the pies that cover the whole, and formatted dates on the game-count chart.
|
||||
Clicking a chart no longer draws a black focus ring or pins the tooltip on the first item; keyboard
|
||||
focus keeps the purple ring. Pie seams and treemap cells follow the theme.
|
||||
- **Suggest form**: the Turnstile check now also requires this site's hostname and the `suggest`
|
||||
action (a token from one page can't be spent on another), and answers 503 instead of "failed" when
|
||||
Turnstile is unreachable.
|
||||
- **Admin approvals** (live since 2026-09-20): the Worker accepts the GitHub App private key as GitHub
|
||||
downloads it (PKCS#1), not only PKCS#8.
|
||||
|
||||
### Changed
|
||||
|
||||
- The changelog is split per version under [`changelog/`](../); [`CHANGELOG.md`](../../CHANGELOG.md)
|
||||
is now the index, and old links to its entries still land on the right row.
|
||||
- Docs brought up to date: the operations runbook (verification gate setup, Web Analytics injected by
|
||||
the zone, a release checklist), the development setup, the READMEs, `CLAUDE.md` and the Tauri notes.
|
||||
- [`webapp/public/_headers`](../../webapp/public/_headers): caching for the favicon and the web manifest.
|
||||
@@ -0,0 +1,60 @@
|
||||
# Changelog — 4.2.x
|
||||
|
||||
Release notes for 4.2.0. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [4.2.0] - 2026-10-03 (Compact catalog data, themed scrollbars)
|
||||
|
||||
Version 4.2 sends the catalog in a compact binary format that is about half the size on a first
|
||||
visit, keeps the offline copy compressed, points everyone who wants the raw data to the GitHub
|
||||
repository, and adds themed scrollbars with an option to hide them.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Updated Privacy Policy, Terms of Use and EULA** (the data now comes from the repository; the
|
||||
compressed cache; the scrollbar setting): the site and the apps ask you to accept them again once.
|
||||
- **Website**: the first visit after the update downloads the catalog once in the new format; after
|
||||
that only the parts that changed are fetched.
|
||||
- **Desktop and Android apps 4.0–4.1.1 keep working**: they still get the older JSON files. Install
|
||||
4.2.0 over them as usual to get the smaller downloads.
|
||||
- **Reusing the data?** `https://freeitchgames.win/data/*.json` now answers 410 in a browser or a
|
||||
script. Get the same files from the repository: [`data_game/`](../../data_game/) and
|
||||
[`scripts/deleted_games.json`](../../scripts/deleted_games.json) (CC BY 4.0, as before).
|
||||
|
||||
### Added
|
||||
|
||||
- **Themed scrollbars**: slim, rounded, in the site's greys (the accent while you drag), in light and
|
||||
dark mode, on the page and in every scrolling panel. Phones keep their own overlay scrollbars.
|
||||
- **Hide scrollbars** (Settings → Appearance, and the display menu): hides every scrollbar, the page's
|
||||
included. Scrolling with the mouse wheel, touchpad, touch and keyboard still works.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Catalog packs.** The site and the apps read `/data/pack/manifest-v1.json` plus small compressed
|
||||
`.bin` packs: the catalog stored by column with dictionaries, then deflated at build time
|
||||
([`webapp/src/lib/data/pack-format.ts`](../../webapp/src/lib/data/pack-format.ts),
|
||||
[`webapp/vite-plugins/catalog-data.ts`](../../webapp/vite-plugins/catalog-data.ts)). A pack's name is a
|
||||
hash of its bytes, so it is cached for good and a returning visitor downloads only the packs that
|
||||
changed (usually 1–3 of 7 a day). First visit: about 264 KB instead of about 520 KB of JSON.
|
||||
- **Descriptions load when needed**: they are about 40 % of the catalog, so they live in their own
|
||||
packs. A game page loads the descriptions of its chunk (about 25 KB); a search loads all of them
|
||||
and adds the matches found in descriptions when they arrive ("Searching descriptions…").
|
||||
- **Offline copy compressed**: the catalog kept in IndexedDB (`webapp.query-cache`) is stored as
|
||||
compressed bytes instead of readable JSON, about 300 KB instead of 2 MB.
|
||||
- **Readable JSON for the old apps only**: `/data/index.json`, `game_info_NNN.json`,
|
||||
`count_history.json`, `deleted_games.json` and `urls.json` are answered by the Worker, which passes
|
||||
them to the desktop/Android apps 4.0–4.1.1 (recognised by their `Origin`) and gives everyone else a
|
||||
410 with links to the repository ([`webapp/worker/legacy-data.ts`](../../webapp/worker/legacy-data.ts)).
|
||||
- **Policies** (2026-10-03): programmatic access to the data goes through the repository; the
|
||||
compressed cache and the scrollbar setting are listed.
|
||||
- Dependencies: `fflate` added (only loaded where the browser can't decompress by itself: Safari and
|
||||
iOS before 16.4); `@tanstack/query-async-storage-persister` removed (replaced by a small binary
|
||||
persister, [`webapp/src/lib/data/persister.ts`](../../webapp/src/lib/data/persister.ts)).
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Cover images** (`/img`): other spellings of a width (`/img/0160/…`, `160.0`) no longer create
|
||||
duplicate cache entries; an original served while resizing was unavailable, and a missing image,
|
||||
are now kept at the edge for a day instead of being fetched again on every request; failed
|
||||
background writes to R2 or the edge cache are logged.
|
||||
- **Chart cards** with a list (recently removed, tag cloud): their scrollbar can be dragged and their
|
||||
text selected again; clicks on the charts themselves still don't move focus.
|
||||
@@ -0,0 +1,48 @@
|
||||
# Changelog — 4.3.x
|
||||
|
||||
Release notes for 4.3.0. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [4.3.0] - 2026-10-10 (AI disclosure, accessibility, refreshed catalog)
|
||||
|
||||
Version 4.3 reads the rows itch.io has added to game pages (the creator's generative-AI disclosure and
|
||||
the accessibility features) into the catalog, its filters and its charts, uses the creator's own
|
||||
tagline as the description, and re-scrapes the whole catalog once.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Nothing to accept**: the policies have not changed.
|
||||
- **The catalog is re-scraped after the release**, in a few batches over a few hours. Until a game has
|
||||
been checked again, its AI disclosure shows as "Not disclosed" and its accessibility list is empty.
|
||||
- **Reusing the data?** Every record gains three optional fields (`ai_disclosure`, `ai_content`,
|
||||
`accessibility`), and `description` now holds the creator's tagline when there is one. The 20
|
||||
existing fields keep their names and types, and apps 4.0–4.2 ignore the new ones.
|
||||
|
||||
### Added
|
||||
|
||||
- **Generative AI**: what the creator disclosed on itch.io. "No AI used" means the page's Content row
|
||||
says "No generative AI was used". "AI-assisted" comes with what the AI was used for (Graphics, Text,
|
||||
Code, Sounds). Otherwise it is "Not disclosed". It appears on the game page, as a filter on Games
|
||||
(`?ai=…`) and as a chart (Charts → Overview); a second chart shows what AI-assisted games used AI
|
||||
for (Charts → Discovery).
|
||||
- **Accessibility**: the features itch.io lists, such as Subtitles, Configurable controls, Color-blind
|
||||
friendly, High-contrast, One button and Interactive tutorial. They appear on the game page, as a
|
||||
filter (`?access=…`) and as a chart (Charts → Discovery).
|
||||
|
||||
### Changed
|
||||
|
||||
- **Descriptions are the creator's tagline** (itch.io's "short description or tagline", set for about
|
||||
87 % of games). Games without one keep the first sentence of their page's description, as before
|
||||
(200 characters at most). 18+ suggestions for newly added games still look at that first sentence
|
||||
too.
|
||||
- **The whole catalog is re-scraped once** (`force_update.yml`). Besides the new fields, this picks up
|
||||
the tags, platforms, engines, covers, names, authors and publishers that changed on itch.io since
|
||||
the games were added.
|
||||
- **The daily refresh keeps the AI disclosure and accessibility current**, as it already does for the
|
||||
status and rating.
|
||||
- **Re-scrapes keep a known release date and cover.** itch.io shows the "Published" row only for a few
|
||||
weeks after a game comes out, so a later re-scrape no longer replaces a known date with N/A.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Text from pages that break lines inside a title or link** is read with single spaces: a tag such
|
||||
as "Meaningful Choices" no longer carries an embedded line break.
|
||||
@@ -0,0 +1,192 @@
|
||||
# Changelog — 4.4.x
|
||||
|
||||
Release notes for 4.4.0 to 4.4.3, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [4.4.3] - 2026-10-26 (Dependency and security updates)
|
||||
|
||||
A maintenance release: nothing changes on the site or in the apps. It brings the week's dependency
|
||||
updates and closes the open security advisories in the project's build tools.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Nothing to accept again**: no policy changed.
|
||||
- **Desktop and Android apps**: install 4.4.3 over 4.4.2 as usual.
|
||||
|
||||
### Security
|
||||
|
||||
- **Build tools**: wrangler's local development server (miniflare) pins `undici` 7.29.1, which has
|
||||
three advisories (GHSA-xjj6-f33q-929c, high; GHSA-4qv8-2p9j-2685 and GHSA-f72v-6w45-q472,
|
||||
moderate). An npm `overrides` entry lifts it to 7.30.1 until miniflare does so itself. `zod`,
|
||||
which the lint tools use, moves to 4.6.7 (GHSA-mrhx-c7xc-m3w5). Neither package is part of the site,
|
||||
the Worker or the apps; `npm audit` now reports none.
|
||||
- **Desktop and Android apps**: the Rust dependencies are refreshed, among them `tokio` 1.54.1
|
||||
(RUSTSEC-2026-0386) and a `yoke-derive` release that replaces a yanked one. `cargo audit` reports no
|
||||
vulnerabilities; its remaining warnings are on Linux libraries that Tauri depends on (`glib`, the
|
||||
`zbus` family), which have no fixed release yet.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Code scanning** (#157): SonarQube Cloud analyses the repository in CI instead of its automatic
|
||||
analysis, and imports the test coverage of the Python and TypeScript suites.
|
||||
- **Dependencies** (the updates of Dependabot #159–#163, and a few more): React Router 8.5.0,
|
||||
TanStack Query 5.104.5, jose 6.2.13, lucide-react 1.61.0, Zustand 5.0.16, Vite 8.3.5,
|
||||
wrangler 4.152.0 (its generated Worker types refreshed), ESLint 10.13.0, typescript-eslint 8.72.0,
|
||||
knip 6.42.1 (it now follows the stylesheet's imports, so its config no longer has to exempt
|
||||
Tailwind), the Tauri CLI 2.12.4 and the `tauri` crate 2.12.5; Ruff 0.17.2, coverage 7.17.0 and
|
||||
certifi 2026.10.23 for the pipeline; `actions/setup-python` 7.1.0 in the workflows.
|
||||
|
||||
## [4.4.2] - 2026-10-22 (Toolchain upgrade, code-scan fixes)
|
||||
|
||||
A maintenance release: nothing you would notice changes on the site or in the apps. The project now
|
||||
builds with TypeScript 7, Node 26 and Python 3.15, and the issues a SonarQube Cloud scan of the
|
||||
repository reported are fixed — the one that mattered was a path check in the Worker's not-found
|
||||
handler that a crafted address could make expensive.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Nothing to accept again**: no policy changed.
|
||||
- **Desktop and Android apps**: install 4.4.2 over 4.4.1 as usual.
|
||||
- **Building or running your own copy?** Use Node 26 for the web app and Python 3.15 for the
|
||||
pipeline. The Python dependencies are now pinned with hashes: `pip install -r requirements-dev.txt`
|
||||
works as before; to change one, edit `requirements.in` or `requirements-dev.in` and recompile with
|
||||
pip-tools (the command is at the top of each file).
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Worker**: trailing slashes on request paths (not-found handler, admin routes, the Access issuer)
|
||||
and the verification cookie's base64 padding are trimmed by a loop instead of a regular expression
|
||||
that backtracked — a path with a long run of slashes cost quadratic CPU time on a public route. The
|
||||
itch.io feed and collection parsers lost three more expressions of that kind; a collection link's
|
||||
attributes are now read by splitting on quotes.
|
||||
- **Pipeline**: itch.io's two mature-content notices are matched by one CSS selector, so either of
|
||||
them still marks a game NSFW (each now has a test). A few checks are written out so the scanner can
|
||||
follow them, without a change in behaviour, and the scraper no longer sets up plain-http requests
|
||||
(every page it fetches is https).
|
||||
|
||||
### Changed
|
||||
|
||||
- **Build tooling** (#149, #154): TypeScript 7.0, the native compiler, runs the type check, with the
|
||||
6.0 API installed beside it for typescript-eslint. Node 26 builds the web app and the release apps,
|
||||
and npm runs only the install scripts of esbuild and workerd. Python 3.15 runs the pipeline (UTF-8
|
||||
mode is now the default); its CI pin moved to `.github/python-version`, out of Dependabot's way.
|
||||
- **Supply chain**: the pipeline's Python dependencies, indirect ones included, are locked with hashes
|
||||
(`requirements.txt`, `requirements-dev.txt`, compiled from `requirements*.in`) and installed from
|
||||
wheels only, so a new release of a dependency can no longer slip into the jobs that commit to the
|
||||
catalog. CI and the release builds install npm packages with `--ignore-scripts`, and the Workers
|
||||
config check runs the project's own wrangler (`npm run cf:check`).
|
||||
- **Code scanning**: `.sonarcloud.properties` keeps the saved itch.io test pages out of the scan;
|
||||
the maintainer's `i18n-edit` script reads its operations from stdin instead of a file path.
|
||||
- **Dependencies**: React 19.3.1 (#141), TanStack Query 5.104.4 (#142, #150), Radix UI primitives
|
||||
(#143), `@tauri-apps/api` 2.12.4, CLI 2.12.3 and `plugin-opener` 2.7.2 (#144) with the matching
|
||||
crates `tauri-build` 2.7.3, `tauri-plugin-opener` 2.7.2 and `tauri-plugin-single-instance` 2.5.4
|
||||
(#146), lucide-react 1.59.0 (#152), Vitest 5.0.5 (#153), Ruff 0.17.1 and Pillow 13 (#147),
|
||||
`actions/setup-java` 6.1.0 and `dtolnay/rust-toolchain` in the release workflows (#148).
|
||||
|
||||
## [4.4.1] - 2026-10-16 (Extension and bot retired)
|
||||
|
||||
The maintainer's browser extension and the old Telegram bot were hardly used, and both repositories
|
||||
are now public archives (read-only):
|
||||
[itch-f2p-extension](https://github.com/poli0981/itch-f2p-extension) and
|
||||
[telegram-scraper-bot](https://github.com/poli0981/telegram-scraper-bot). This version removes what was
|
||||
left of them here. Games still come in through the Suggest page, itch.io's RSS feeds and the itch.io
|
||||
collections the maintainer follows.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Nothing to accept again.** The Privacy Policy, Terms of Use, EULA, Disclaimer and Security Policy
|
||||
(EN + VI) only lose their mentions of the extension and its API; nothing new is collected, so the
|
||||
legal check does not ask again.
|
||||
- **Desktop and Android apps**: install 4.4.1 over 4.4.0 as usual.
|
||||
- **Running your own copy of the Worker?** The `RL_INGEST` rate limit and the `ACCESS_AUD_INGEST`
|
||||
variable are gone from `wrangler.jsonc`; delete the Access application that protected
|
||||
`/api/ingest` and its service token. No D1 migration: the `idempotency` table stays and is no longer
|
||||
used.
|
||||
|
||||
### Removed
|
||||
|
||||
- **The ingest API** (`POST /api/ingest`), which the browser extension used to send links to the review
|
||||
queue with an Access service token. It never received a game since 4.0; the address now answers 404
|
||||
like any unknown API path.
|
||||
- **Admin:** the "Browser extension" choice in the auto-approve settings and the "Extension" source in
|
||||
the review queue.
|
||||
- **About page:** the old note asking to send a Telegram numeric ID privately (that was for the bot).
|
||||
The Telegram link stays as a way to reach the maintainer.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Policies** (2026-10-16, EN + VI): the Privacy Policy no longer lists the extension as a source of
|
||||
games or its duplicate-submission records (7 days); the Terms of Use, the EULA (also in the
|
||||
installers) and the Security Policy no longer name the ingest API; the Disclaimer lists the three
|
||||
remaining ways games arrive. The extension and the bot are out of the Security Policy's scope.
|
||||
- **Docs**: the READMEs, contributing guide, notices, acknowledgements and operations guide describe
|
||||
three ways games get in, and mark the extension and the bot as archived.
|
||||
- **Dependencies**: Vite 8.3.4 (#131); Tauri 2.12.2 with `tauri-build` 2.7.2, `tauri-plugin-opener`
|
||||
2.7.1 and `tauri-plugin-single-instance` 2.5.3 (#135); `serde_json` 1.0.154 (#136); Ruff 0.17 for
|
||||
the pipeline's lint (#137).
|
||||
|
||||
## [4.4.0] - 2026-10-13 (Admin automation, bulk actions, smoother charts)
|
||||
|
||||
Version 4.4 lets the maintainer add whole lists of games, follow itch.io collections and approve the
|
||||
review queue by rule, remove or edit up to 100 games at once, and look back at everything the admin
|
||||
did. On the site, the theme button shows the theme in use again, dark mode no longer flashes white
|
||||
while a page loads, and the Charts tabs switch without rebuilding their charts.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **The policies changed: accept them once more.** The Terms of Use (§5), the Privacy Policy (§2.3,
|
||||
§2.4) and the Disclaimer (§4) now say that the maintainer approves games one by one **or through
|
||||
rules the maintainer sets**: a suggestion or a discovered game without a warning flag that nobody
|
||||
rejected within a waiting time (about a day), and new free games in public itch.io collections the
|
||||
maintainer follows. The website and the 4.4 apps ask you to accept the updated policies.
|
||||
- **Running your own copy of the Worker?** Apply the D1 migration `0002_automation.sql`
|
||||
(`npx wrangler d1 migrations apply <database> --remote`) before deploying.
|
||||
- **Reusing the data?** The catalog files are unchanged. The pipeline keeps one more bookkeeping file,
|
||||
`scripts/state/ingest_outcomes.json` (how each queued link ended); the website does not publish it.
|
||||
|
||||
### Added
|
||||
|
||||
- **Admin: add games from any list.** Paste text (plain links, Markdown, CSV, HTML or JSON) or load a
|
||||
file: every itch.io game link in it is found, de-duplicated and normalized. **Check** shows what Add
|
||||
would do with each one (new, waiting in the queue, already in the catalog, removed or rejected
|
||||
before, not a game) before anything is written; **Add** sends lists of any length in batches of 200.
|
||||
- **Admin: import an itch.io collection.** Paste a collection link: the admin reads all its pages
|
||||
(games with a price are skipped) and passes them through the same Check and Add.
|
||||
- **Admin: follow collections.** Every 4 hours the site reads the collections the maintainer follows
|
||||
(up to 30 pages a run, one a second) and queues their new free games directly. A game removed before,
|
||||
or one whose title raises a flag (18+, demo), goes to the review queue instead.
|
||||
- **Admin: auto-approve.** Pending suggestions and RSS discoveries without a flag that nobody rejected
|
||||
within 24 hours are approved automatically (at most 100 a run, and only items found after the rule
|
||||
was switched on). The sources and the waiting time are set in the admin's Settings.
|
||||
- **Admin: follow each game's ingest.** Batches queued from the admin show, game by game, whether the
|
||||
ingest added it, is still trying, or dropped it and why (paid, page gone, password-protected, failed
|
||||
three times). The pipeline now records these outcomes.
|
||||
- **Admin: remove or edit up to 100 games at once.** Select games (or paste their links under "Remove
|
||||
by list") and remove them with one public reason, or set their 18+ flag, virus check and notes, in
|
||||
one commit. The preset reasons have translated labels on the Removed page.
|
||||
- **Admin: New games, Activity, Settings.** The games added in the last 7 or 30 days, to review their
|
||||
18+ flag and virus check in bulk; every admin action and automatic run with its commit; the
|
||||
automatic rules, the followed collections and what the last automatic run did.
|
||||
|
||||
### Changed
|
||||
|
||||
- **The theme button shows the theme in use** (sun, moon or screen) instead of the same icon for every
|
||||
choice. The admin follows the theme chosen on the site, and a change in one tab applies to the others.
|
||||
- **Charts: switching tabs is instant.** A tab shown once stays as it is: switching back no longer
|
||||
rebuilds its charts or replays their entrance. Entrances are shorter (300 ms, no delay), the other
|
||||
tabs load in the background, and the placeholders have the height of the real cards.
|
||||
- **Pages no longer shift sideways** when they grow taller or shorter than the window: on computers the
|
||||
scrollbar's room stays reserved.
|
||||
- **The browser's toolbar colour** follows the theme chosen on the site, not only the system's.
|
||||
- **Charts on phones** (#130, live on the website since 2026-10-11, now in the apps too): one row of
|
||||
four equal tabs, smaller legends and ticks, horizontal bars for Languages and Average session, the
|
||||
reason under each recent removal, and the total spanning the row. At every size: all 15 genre labels,
|
||||
pie legends in data order with readable text, translated removal reasons and locale numbers on the
|
||||
axes.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Dark mode no longer flashes white** while a page loads.
|
||||
- **Admin:** "Select all" on a long review queue no longer fails (selections go out in batches of 200);
|
||||
removing a game no longer reports an error when only the cleanup of its resized covers failed; every
|
||||
error has a readable message; confirmations are in-app dialogs.
|
||||
- **Queue commits** name the number of games really queued.
|
||||
@@ -0,0 +1,44 @@
|
||||
# Changelog — 4.5.x
|
||||
|
||||
Release notes for 4.5.0, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [4.5.0] - 2026-10-27 (Rate limits for the whole site)
|
||||
|
||||
The website now limits how many requests one connection can send in a short time, on every page,
|
||||
cover image and API address — not only on the Suggest form and the verification check. Normal
|
||||
browsing never comes close to the limits; a script that floods the site gets HTTP 429 ("Too many
|
||||
requests") and has to wait a minute. Nothing changes in the desktop and Android apps.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Nothing to accept again**: no policy changed. The Privacy Policy already says that your IP
|
||||
address is used, without being stored, to count requests and limit abuse.
|
||||
- **Desktop and Android apps**: install 4.5.0 over 4.4.3 as usual; they don't use the limited
|
||||
addresses (4.0–4.1.1 count against the site limit when they read the old catalog files).
|
||||
|
||||
### Added
|
||||
|
||||
- **Per-connection limits in the Worker**: every request that runs the site's server code counts,
|
||||
per minute and per address (an IPv6 connection by its /64): 120 for pages, the public API and the
|
||||
catalog files of the old apps, 600 for cover images (a Games page shows up to 100), 300 for the
|
||||
admin. The Suggest form (5 a minute) and the verification check (20 a minute) keep their own,
|
||||
stricter limits on top. Search engines that Cloudflare has verified are not counted.
|
||||
- **The "Too many requests" answer**: pages get a short page in English or Vietnamese (no scripts),
|
||||
the API and cover images a JSON `{"error":"rate_limited"}`; both say when to retry
|
||||
(`Retry-After: 60`) and are never cached. The admin shows "Too many requests from this connection".
|
||||
- **A first layer in front of the Worker**: the maintainer's runbook (`docs/operations.md`, section 1
|
||||
step 15) sets up a Cloudflare WAF rate-limiting rule that blocks floods before they reach the site's
|
||||
code, and covers the static files the Worker never sees. The Worker's own counts are approximate
|
||||
(Cloudflare counts them per server and syncs them late), so the WAF rule is what holds against a
|
||||
flood that opens a new connection for every request.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Suggest and verification limits counted other sites too**: a rate limit's namespace is shared by
|
||||
every Worker of the Cloudflare account, and the two existing limits used the same numbers as other
|
||||
Workers there, so their visits could use up this site's Suggest or verification allowance. All of
|
||||
this site's limits now have namespaces of their own.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Security policy**: says how the site limits requests (EN + VI); no new obligations.
|
||||
@@ -0,0 +1,173 @@
|
||||
# Changelog — 4.6.x
|
||||
|
||||
Release notes for 4.6.0 – 4.6.2, newest first. Every version: [CHANGELOG.md](../../CHANGELOG.md).
|
||||
|
||||
## [4.6.2] - 2026-11-16 (Dependency updates)
|
||||
|
||||
Update deps:
|
||||
|
||||
- **Desktop and Android apps**: wry 0.57.2 (Android crash and memory-leak fixes, macOS crash fixes,
|
||||
a Windows focus fix), tauri-plugin-opener 2.7.3, and the other Rust crates (`cargo update`).
|
||||
- **Website**: TanStack Query 5.107.1, Zustand 5.1.0, lucide-react 1.72.0, jose 6.2.17.
|
||||
- **Data pipeline**: Soup Sieve 4.1.
|
||||
- **Tooling**: Vite 8.3.8, @vitejs/plugin-react 6.3.0, Tailwind CSS 4.3.5, Wrangler 4.161.0,
|
||||
typescript-eslint 8.72.2, knip 6.45.1, coverage 7.17.3, Ruff 0.17.5.
|
||||
|
||||
No policy changed: nothing to accept again.
|
||||
|
||||
## [4.6.1] - 2026-11-11 (Stable: maintenance mode)
|
||||
|
||||
The project is now **stable and in maintenance mode**. It is feature-complete: the website, the apps
|
||||
and the data pipeline keep running, and the catalog keeps updating itself every day. Nothing changes
|
||||
for visitors.
|
||||
|
||||
### What maintenance mode means
|
||||
|
||||
- **Still done**: security fixes (CVEs and reports made through [SECURITY.md](../../SECURITY.md)),
|
||||
runtime and dependency updates (Node.js, Python, Rust, npm / pip / cargo packages, GitHub Actions),
|
||||
and repairs when something stops the site or the daily data updates from working.
|
||||
- **Not done any more**: new features, redesigns and refactors.
|
||||
- **Issues and pull requests are for the data only**: adding games, fixing a game's data, removing a
|
||||
game. Accessibility barriers and security reports keep their own channels
|
||||
([ACCESSIBILITY.md](../../ACCESSIBILITY.md), [SECURITY.md](../../SECURITY.md)). Feature requests
|
||||
and code pull requests are closed without review; questions and feedback are welcome in
|
||||
[Discussions](https://github.com/poli0981/free-games-itchio-list/discussions).
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Nothing to accept again**: no policy changed.
|
||||
- **Desktop and Android apps**: 4.6.1 behaves like 4.6.0. Install it over 4.6.0 if you want the
|
||||
current version number; there is no need to.
|
||||
|
||||
### Added
|
||||
|
||||
- **Qodana (JetBrains) code analysis in CI** (`qodana.yml`): three jobs, one per Qodana Cloud
|
||||
project — TypeScript / JavaScript (`webapp/`), Python (the data pipeline) and Rust (the Tauri
|
||||
shell) — on pull requests and on pushes to `main` that change code. It runs next to SonarQube
|
||||
Cloud and, like it, skips Dependabot and fork pull requests, which get no repository secrets.
|
||||
All three projects start at 0 problems, and a new one fails its job.
|
||||
- **Badges** in both READMEs: project status, Python CI, SonarQube Cloud quality gate and coverage,
|
||||
Qodana, and the accessibility target.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Docs for maintenance mode** (EN + VI): a "Project status" section in the READMEs, CONTRIBUTING
|
||||
rewritten around the data-only scope, a note in SECURITY.md, and the runbook
|
||||
([docs/operations.md](../../docs/operations.md)) with the Qodana setup.
|
||||
- **Issue and pull request templates**: "Bug Report" became "Report a problem" (wrong data, or
|
||||
something that broke); the Feature Request, Feedback and General templates and the Bug Fix, New
|
||||
Feature and Documentation pull request templates are gone; the issue chooser points to
|
||||
Discussions.
|
||||
- **The README's game count**: 5,900+ (it still said 2,600+).
|
||||
|
||||
### Fixed
|
||||
|
||||
Findings of the first Qodana reports. None changes what the site or the apps do.
|
||||
|
||||
- **Pie charts no longer use Recharts' deprecated `Cell`** (removed in Recharts 4.0): each slice
|
||||
takes its colour from its data entry. Colours and legends are unchanged.
|
||||
- **React 19 types**: `ElementRef` → `ComponentRef` in the UI components, `FormEvent` →
|
||||
`SubmitEvent` on the Suggest form, and a `React.` type used without an import.
|
||||
- **Small cleanups**: an awaited `res.json()` in the Worker's data loader, a simpler regular
|
||||
expression and return statement in the Games filters, and three Python nits in the pipeline (a
|
||||
shadowed name and an untyped number format in `refresh.py`, a value assigned but never read in
|
||||
`update_info.py`).
|
||||
- **The Tauri shell no longer declares `serde_json`**, which its own code never used (Tauri still
|
||||
brings it in).
|
||||
|
||||
## [4.6.0] - 2026-11-09 (Accessibility)
|
||||
|
||||
The website and the apps work better with a keyboard, a screen reader, Windows contrast themes and
|
||||
reduced motion, and the project now has an accessibility statement,
|
||||
[ACCESSIBILITY.md](../../ACCESSIBILITY.md) (in Vietnamese:
|
||||
[docs/i18n/vi/ACCESSIBILITY.md](../../docs/i18n/vi/ACCESSIBILITY.md)). It says what works, what
|
||||
doesn't yet, and how to report a barrier. The Maintainer had already tested the website and the
|
||||
Windows app with the keyboard only and Windows Narrator; this release fixes the gaps a review against
|
||||
WCAG 2.2 AA found.
|
||||
|
||||
### Upgrade notes
|
||||
|
||||
- **Nothing to accept again**: no policy changed. The accessibility statement isn't a policy you
|
||||
accept, so the first-visit notice doesn't come back.
|
||||
- **A new setting**: **Settings → Accessibility** turns off the "/" shortcut that jumps to the search
|
||||
box (useful with speech input, or when the key clashes with a screen reader or your browser's quick
|
||||
find).
|
||||
- **Colours**: buttons and purple text are a shade darker, form fields have darker borders, and the
|
||||
selected tab, the current page and the highlighted search suggestion are marked with an outline, an
|
||||
underline or a bar. This brings the contrast up to WCAG 2.2 AA. The logo and the app icons are
|
||||
unchanged.
|
||||
- **Desktop and Android apps**: install 4.6.0 over 4.5.0 as usual.
|
||||
|
||||
### Added
|
||||
|
||||
- **Accessibility statement** ([ACCESSIBILITY.md](../../ACCESSIBILITY.md), EN + VI): the WCAG 2.2
|
||||
AA target, what works, how it is tested, supported browsers and assistive technology, known
|
||||
limitations, and how to report a barrier, with severity levels and response targets. It is
|
||||
linked from the About page, the footer, Settings and the README.
|
||||
- **Reporting a barrier**: an "Accessibility barrier" issue form (label `accessibility`), or email
|
||||
contact@poli0981.dev, no GitHub account needed.
|
||||
- **Charts you can read**: every chart is named after its heading, reads each value aloud as you
|
||||
step through it with the left and right arrow keys, and has a **Data table** under it with the
|
||||
same numbers (plus each part's share for pie charts).
|
||||
- **Settings → Accessibility**: the "/" shortcut switch and a link to the statement.
|
||||
- **A contrast check in CI**: a test fails if a colour token or a chart colour drops below the
|
||||
WCAG 2.2 AA ratios.
|
||||
- **A default pull request template** with an accessibility checklist.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Focus follows the page**: after you follow a link inside the site, focus moves to the new page's
|
||||
heading, so a screen reader announces it and Tab continues from there. Back returns focus to the
|
||||
link you used, for example the game you opened from the list. Links to a section (About →
|
||||
Support) move focus there too.
|
||||
- **Contrast**: white text on buttons goes from 4.35 to 5.44:1, purple text from 4.2 to 5.2:1 (6.6:1
|
||||
in dark mode), field borders and the off position of switches reach 3:1. Chart colours reach 3:1 on
|
||||
the light theme too, treemap labels pick a readable colour per cell, and axis labels are readable
|
||||
in dark mode. The Online/Offline chart is blue and orange, which colour-blind readers can tell
|
||||
apart.
|
||||
- **Windows contrast themes**: the selected tab, pressed toggles, the current page, the active
|
||||
search suggestion and switches use the system's highlight colours, and chart text follows the
|
||||
system text colour.
|
||||
- **Screen readers hear more**: the number of search suggestions, loading states, rating counts,
|
||||
filter counts ("Genre, 2 selected"), the reason and date of each removed game, and that a link
|
||||
opens a new tab (in the apps: your browser). Card titles on the About and Charts pages are real
|
||||
headings, and the game-not-found page and the 18+ notice have their own page titles.
|
||||
- **Language**: text in the other language (the language names, the English-only names of the legal
|
||||
documents) is marked as such, the page's language switches to Vietnamese only once the Vietnamese
|
||||
text has loaded, and the Suggest page's anti-spam check uses the site's language.
|
||||
- **Search box**: "See all results" can be reached with the arrow keys.
|
||||
- **Suggest form**: the game link is checked when you leave the field or send the form, not at the
|
||||
first keystroke, and the Send button stays reachable and says what is missing.
|
||||
- **First-visit notice**: "Accept & continue" can be reached with Tab before the box is ticked
|
||||
(pressing it moves you to the box), and focus moves to the page once you accept.
|
||||
- **Links inside sentences are underlined.**
|
||||
|
||||
### Fixed
|
||||
|
||||
- **The 18+ dialog lost keyboard focus when it closed**; focus now returns to the button or switch
|
||||
that opened it.
|
||||
- **The sticky header could cover the element that had keyboard focus.**
|
||||
- **Focus was lost** when the control you used disappeared: clearing the search, removing a filter,
|
||||
"Clear" in a filter menu, "back to top".
|
||||
- **Reduced motion**: looping loading animations now stop and "back to top" no longer scrolls
|
||||
smoothly when your system asks for less motion.
|
||||
- **Short screens**: the 18+ dialog, the phone menu and the display menu scroll instead of being cut
|
||||
off.
|
||||
- **Docs**: the catalog data license still listed the @freeitchgames.win addresses retired in 4.1.1;
|
||||
the About page's "Content removal" link opened the YAML source of the issue form; some "Last
|
||||
updated" dates, translation notes and library versions were behind.
|
||||
|
||||
### Dependencies
|
||||
|
||||
The two weekly updates since 4.5.0, which have been on the website since they were merged:
|
||||
|
||||
- **2026-11-02** (#176, Dependabot #171–#175 and a few more): React Router 8.5.1, TanStack Query
|
||||
5.105.0, lucide-react 1.64.0, knip 6.44.0, typescript-eslint 8.72.1, wrangler 4.156.0 (its
|
||||
generated Worker types refreshed), jose 6.2.14; the `undici` override dropped (wrangler's own
|
||||
version now has the fix); pytest 9.2.0 and Ruff 0.17.3 for the pipeline;
|
||||
`sonarqube-scan-action` 8.4.0; the Rust dependencies refreshed.
|
||||
- **2026-11-09** (#182, Dependabot #177–#181 and a few more): TanStack Query 5.106.1, Vitest 5.1.0,
|
||||
Vite 8.3.6, @vitejs/plugin-react 6.2.1, Tailwind CSS 4.3.4, ESLint 10.14.0, knip 6.44.1,
|
||||
wrangler 4.158.0 (types refreshed), jose 6.2.15, globals 17.14.0, lucide-react 1.69.0;
|
||||
soupsieve 4.0.1, coverage 7.17.2 and Ruff 0.17.4 for the pipeline; `actions/setup-java` 6.2.0 and
|
||||
`sonarqube-scan-action` 8.4.1; the Rust dependencies refreshed (wasm-bindgen 0.2.130 and others).
|
||||
@@ -0,0 +1,137 @@
|
||||
# Catalog data license
|
||||
|
||||
Last updated: 2026-11-09
|
||||
|
||||
Applies from: the release of version 4.0.0.
|
||||
|
||||
> **TL;DR**: The catalog data is **CC BY 4.0**. Reuse it for anything, commercial or not, as long as you
|
||||
> credit it. That covers only what the Maintainer made: the selection of games, the way the catalog is
|
||||
> organised, the three Maintainer-written fields, the removal records and the statistics. Game descriptions,
|
||||
> cover images, game names and trademarks belong to the game creators (and to itch.io for its own marks),
|
||||
> and this license does not cover them.
|
||||
|
||||
## 1. What this file covers
|
||||
|
||||
"The Data" means:
|
||||
|
||||
- the JSON files in this folder, [`data_game/`](./): `game_info_NNN.json` (the catalog, split into chunks),
|
||||
`index.json` (the chunk manifest) and `count_history.json` (the games-over-time series);
|
||||
- [`scripts/deleted_games.json`](../scripts/deleted_games.json), the public log of removed games and the
|
||||
reason each one was removed;
|
||||
- the files built from them and published under <https://freeitchgames.win/data> (the compact packs the
|
||||
website and the apps read).
|
||||
|
||||
"The Maintainer" means poli0981 (SkullMute), the author of this collection and the licensor.
|
||||
|
||||
Source code is covered by the [MIT License](../LICENSE) and documentation by CC BY 4.0. The map of which
|
||||
license applies to which part of the repository is in [`NOTICE.md`](../NOTICE.md).
|
||||
|
||||
## 2. License
|
||||
|
||||
The Maintainer's contribution to the Data is licensed under the
|
||||
**Creative Commons Attribution 4.0 International License (CC BY 4.0)**. The full legal code is in
|
||||
[`LICENSES/CC-BY-4.0.txt`](../LICENSES/CC-BY-4.0.txt). A plain-language summary is at
|
||||
<https://creativecommons.org/licenses/by/4.0/>.
|
||||
|
||||
The Maintainer's contribution is:
|
||||
|
||||
1. **The selection and arrangement of the collection**: which games are in the catalog, which are left out
|
||||
or removed, and how the records are structured, organised and split into files.
|
||||
2. **The three Maintainer-written fields** of every game record:
|
||||
- `safe_virus`: a manual note (`?`, `Yes`, `No` or `Caution`);
|
||||
- `notes`: free-text notes;
|
||||
- `nsfw`: the adult-content flag (`Yes` / `No`).
|
||||
3. **The removal records** in `scripts/deleted_games.json` (which game was removed, when and why).
|
||||
4. **The structure and derived statistics**: the record schema, `index.json`, `count_history.json` and other
|
||||
figures computed from the catalog.
|
||||
|
||||
Under CC BY 4.0 you may copy and redistribute the Data in any medium or format, and remix, transform and
|
||||
build on it, for any purpose, including commercially, as long as you give credit (section 4).
|
||||
|
||||
## 3. Not covered by this license
|
||||
|
||||
The Maintainer does not own the following, so this license does not cover them. They belong to others.
|
||||
|
||||
- **Game descriptions** and any other text written by game creators (copied from public itch.io game pages).
|
||||
- **Cover images, thumbnails and other media.** The `thumbnail` field only holds a link to an image that
|
||||
belongs to the game's creator.
|
||||
- **Game names, logos and other trademarks** of the game creators.
|
||||
- **itch.io's name, logo and other trademarks.**
|
||||
|
||||
To reuse any of these beyond what the law already allows where you are, you need permission from the
|
||||
person who owns it. CC BY 4.0 itself says that it licenses only the rights the licensor holds.
|
||||
|
||||
Plain facts such as game URLs, prices, ratings, rating counts, release dates, platforms and tags are not
|
||||
protected by copyright. You can use them without a license, and the Maintainer does not claim to own them.
|
||||
|
||||
The games themselves are hosted on itch.io and licensed by their creators. Nothing in the Data gives you
|
||||
any right to a game.
|
||||
|
||||
## 4. How to give credit
|
||||
|
||||
Use this line, or something that carries the same information:
|
||||
|
||||
```text
|
||||
Free itch.io games catalog by poli0981 (SkullMute) — https://freeitchgames.win — CC BY 4.0
|
||||
```
|
||||
|
||||
As Markdown:
|
||||
|
||||
```markdown
|
||||
[Free itch.io games catalog](https://freeitchgames.win) by poli0981 (SkullMute), licensed under
|
||||
[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
||||
```
|
||||
|
||||
As CC BY 4.0 asks:
|
||||
|
||||
- **Link to the license** (the CC BY 4.0 link above is enough).
|
||||
- **Say if you changed the Data**, for example "filtered to Windows games" or "merged with other data".
|
||||
- **Do not suggest endorsement.** Do not imply that the Maintainer, itch.io or any game creator supports you
|
||||
or your project.
|
||||
|
||||
When you show creator material next to the Data (descriptions, cover images), credit the creator and link
|
||||
to the game's itch.io page.
|
||||
|
||||
## 5. Where to get the Data
|
||||
|
||||
- **This repository**: clone or download [`data_game/`](./) (`index.json` lists the `game_info_NNN.json`
|
||||
chunks) and [`scripts/deleted_games.json`](../scripts/deleted_games.json), or read the raw files. Git
|
||||
history holds past versions.
|
||||
- The files under <https://freeitchgames.win/data> are the website's own compact format, not an interface
|
||||
for reuse (the readable JSON there is served only to older versions of the apps).
|
||||
|
||||
Please use these files rather than scraping the website page by page. The [Terms of Use](../docs/ToS.md)
|
||||
do not allow automated bulk scraping of the website, and the files are cheaper for everyone.
|
||||
|
||||
## 6. No warranty
|
||||
|
||||
The Data is provided **as is**, without warranty of any kind, as described in CC BY 4.0 (section 5 of the
|
||||
legal code). Most of it is collected automatically from public itch.io pages. It can be out of date or
|
||||
wrong: a game can become paid, change or disappear between two checks. `safe_virus` is a manual note, not
|
||||
a guarantee. The project does not scan downloads. See the [Disclaimer](../docs/DISCLAIMER.md).
|
||||
|
||||
## 7. Corrections and removals
|
||||
|
||||
Game creators and rights holders can ask for a game to be removed or its data corrected. Email
|
||||
**takedown@poli0981.dev** or open the
|
||||
["Remove a game" issue](https://github.com/poli0981/free-games-itchio-list/issues/new?template=remove_game.yml).
|
||||
Include the game URL, who you are (creator, rights holder, or someone acting for them) and the reason. The
|
||||
full process is in the [Terms of Use](../docs/ToS.md).
|
||||
|
||||
## 8. Contributions
|
||||
|
||||
Contributions follow the rule "inbound = outbound". By contributing to the Data (for example a suggested
|
||||
correction to `notes`, `safe_virus` or `nsfw`, or game links added through a pull request), you agree that your contribution is licensed under
|
||||
CC BY 4.0, the same as the Data. Code contributions are licensed under the MIT License.
|
||||
|
||||
## 9. Earlier versions
|
||||
|
||||
Before version 4.0.0 the whole repository, the catalog data included, was published under the
|
||||
[MIT License](../LICENSE). Copies you obtained under those earlier terms stay under them. This file applies
|
||||
to the Data from version 4.0.0 on.
|
||||
|
||||
---
|
||||
|
||||
*This is a plain-language summary written by a hobby maintainer, not a lawyer, and it is not legal advice.
|
||||
If this file and the CC BY 4.0 legal code disagree, the legal code wins. Questions:
|
||||
**legal@poli0981.dev**.*
|
||||
Generated
+276
@@ -274,5 +274,281 @@
|
||||
{
|
||||
"date": "2026-06-13",
|
||||
"total": 2097
|
||||
},
|
||||
{
|
||||
"date": "2026-06-14",
|
||||
"total": 2121
|
||||
},
|
||||
{
|
||||
"date": "2026-06-15",
|
||||
"total": 2120
|
||||
},
|
||||
{
|
||||
"date": "2026-06-17",
|
||||
"total": 2198
|
||||
},
|
||||
{
|
||||
"date": "2026-06-19",
|
||||
"total": 2197
|
||||
},
|
||||
{
|
||||
"date": "2026-06-21",
|
||||
"total": 2345
|
||||
},
|
||||
{
|
||||
"date": "2026-06-23",
|
||||
"total": 2351
|
||||
},
|
||||
{
|
||||
"date": "2026-06-25",
|
||||
"total": 2351
|
||||
},
|
||||
{
|
||||
"date": "2026-06-27",
|
||||
"total": 2349
|
||||
},
|
||||
{
|
||||
"date": "2026-06-28",
|
||||
"total": 2376
|
||||
},
|
||||
{
|
||||
"date": "2026-06-29",
|
||||
"total": 2376
|
||||
},
|
||||
{
|
||||
"date": "2026-07-01",
|
||||
"total": 2526
|
||||
},
|
||||
{
|
||||
"date": "2026-07-09",
|
||||
"total": 2567
|
||||
},
|
||||
{
|
||||
"date": "2026-07-25",
|
||||
"total": 2568
|
||||
},
|
||||
{
|
||||
"date": "2026-08-16",
|
||||
"total": 2613
|
||||
},
|
||||
{
|
||||
"date": "2026-08-17",
|
||||
"total": 2681
|
||||
},
|
||||
{
|
||||
"date": "2026-09-20",
|
||||
"total": 2764
|
||||
},
|
||||
{
|
||||
"date": "2026-09-21",
|
||||
"total": 2772
|
||||
},
|
||||
{
|
||||
"date": "2026-09-22",
|
||||
"total": 2812
|
||||
},
|
||||
{
|
||||
"date": "2026-09-23",
|
||||
"total": 2822
|
||||
},
|
||||
{
|
||||
"date": "2026-09-24",
|
||||
"total": 2851
|
||||
},
|
||||
{
|
||||
"date": "2026-09-25",
|
||||
"total": 2875
|
||||
},
|
||||
{
|
||||
"date": "2026-09-26",
|
||||
"total": 2864
|
||||
},
|
||||
{
|
||||
"date": "2026-09-27",
|
||||
"total": 2931
|
||||
},
|
||||
{
|
||||
"date": "2026-09-28",
|
||||
"total": 2952
|
||||
},
|
||||
{
|
||||
"date": "2026-09-30",
|
||||
"total": 3016
|
||||
},
|
||||
{
|
||||
"date": "2026-10-01",
|
||||
"total": 3039
|
||||
},
|
||||
{
|
||||
"date": "2026-10-02",
|
||||
"total": 3038
|
||||
},
|
||||
{
|
||||
"date": "2026-10-03",
|
||||
"total": 3101
|
||||
},
|
||||
{
|
||||
"date": "2026-10-05",
|
||||
"total": 3140
|
||||
},
|
||||
{
|
||||
"date": "2026-10-06",
|
||||
"total": 3149
|
||||
},
|
||||
{
|
||||
"date": "2026-10-07",
|
||||
"total": 3171
|
||||
},
|
||||
{
|
||||
"date": "2026-10-08",
|
||||
"total": 3194
|
||||
},
|
||||
{
|
||||
"date": "2026-10-09",
|
||||
"total": 3230
|
||||
},
|
||||
{
|
||||
"date": "2026-10-10",
|
||||
"total": 3262
|
||||
},
|
||||
{
|
||||
"date": "2026-10-11",
|
||||
"total": 3254
|
||||
},
|
||||
{
|
||||
"date": "2026-10-12",
|
||||
"total": 3276
|
||||
},
|
||||
{
|
||||
"date": "2026-10-14",
|
||||
"total": 3358
|
||||
},
|
||||
{
|
||||
"date": "2026-10-15",
|
||||
"total": 3369
|
||||
},
|
||||
{
|
||||
"date": "2026-10-16",
|
||||
"total": 3406
|
||||
},
|
||||
{
|
||||
"date": "2026-10-17",
|
||||
"total": 3415
|
||||
},
|
||||
{
|
||||
"date": "2026-10-18",
|
||||
"total": 3430
|
||||
},
|
||||
{
|
||||
"date": "2026-10-19",
|
||||
"total": 3451
|
||||
},
|
||||
{
|
||||
"date": "2026-10-20",
|
||||
"total": 3483
|
||||
},
|
||||
{
|
||||
"date": "2026-10-21",
|
||||
"total": 3507
|
||||
},
|
||||
{
|
||||
"date": "2026-10-22",
|
||||
"total": 3528
|
||||
},
|
||||
{
|
||||
"date": "2026-10-23",
|
||||
"total": 3561
|
||||
},
|
||||
{
|
||||
"date": "2026-10-24",
|
||||
"total": 3571
|
||||
},
|
||||
{
|
||||
"date": "2026-10-25",
|
||||
"total": 3612
|
||||
},
|
||||
{
|
||||
"date": "2026-10-26",
|
||||
"total": 4184
|
||||
},
|
||||
{
|
||||
"date": "2026-10-27",
|
||||
"total": 4849
|
||||
},
|
||||
{
|
||||
"date": "2026-10-28",
|
||||
"total": 5426
|
||||
},
|
||||
{
|
||||
"date": "2026-10-29",
|
||||
"total": 5536
|
||||
},
|
||||
{
|
||||
"date": "2026-10-30",
|
||||
"total": 5573
|
||||
},
|
||||
{
|
||||
"date": "2026-10-31",
|
||||
"total": 5615
|
||||
},
|
||||
{
|
||||
"date": "2026-11-01",
|
||||
"total": 5641
|
||||
},
|
||||
{
|
||||
"date": "2026-11-02",
|
||||
"total": 5674
|
||||
},
|
||||
{
|
||||
"date": "2026-11-03",
|
||||
"total": 5702
|
||||
},
|
||||
{
|
||||
"date": "2026-11-04",
|
||||
"total": 5720
|
||||
},
|
||||
{
|
||||
"date": "2026-11-05",
|
||||
"total": 5737
|
||||
},
|
||||
{
|
||||
"date": "2026-11-06",
|
||||
"total": 5771
|
||||
},
|
||||
{
|
||||
"date": "2026-11-07",
|
||||
"total": 5798
|
||||
},
|
||||
{
|
||||
"date": "2026-11-08",
|
||||
"total": 5818
|
||||
},
|
||||
{
|
||||
"date": "2026-11-09",
|
||||
"total": 5858
|
||||
},
|
||||
{
|
||||
"date": "2026-11-10",
|
||||
"total": 5875
|
||||
},
|
||||
{
|
||||
"date": "2026-11-11",
|
||||
"total": 5922
|
||||
},
|
||||
{
|
||||
"date": "2026-11-12",
|
||||
"total": 5966
|
||||
},
|
||||
{
|
||||
"date": "2026-11-13",
|
||||
"total": 5991
|
||||
},
|
||||
{
|
||||
"date": "2026-11-14",
|
||||
"total": 6028
|
||||
},
|
||||
{
|
||||
"date": "2026-11-15",
|
||||
"total": 6069
|
||||
}
|
||||
]
|
||||
Generated
+3967
-1849
File diff suppressed because it is too large.
Load diff
Generated
+4637
-2449
File diff suppressed because it is too large.
Load diff
Generated
+4612
-2859
File diff suppressed because it is too large.
Load diff
Generated
+5410
-3124
File diff suppressed because it is too large.
Load diff
Generated
+18600
-2088
File diff suppressed because it is too large.
Load diff
Generated
+20424
File diff suppressed because it is too large.
Load diff
Generated
+20523
File diff suppressed because it is too large.
Load diff
Generated
+17165
File diff suppressed because it is too large.
Load diff
Generated
+18205
File diff suppressed because it is too large.
Load diff
Generated
+19533
File diff suppressed because it is too large.
Load diff
Generated
+18773
File diff suppressed because it is too large.
Load diff
Generated
+19092
File diff suppressed because it is too large.
Load diff
Generated
+2533
File diff suppressed because it is too large.
Load diff
Generated
+35
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"total_games": 2097,
|
||||
"total_games": 6069,
|
||||
"max_per_file": 500,
|
||||
"last_updated": "2026-06-13T08:31:05Z",
|
||||
"last_updated": "2026-11-15T20:24:18Z",
|
||||
"files": [
|
||||
{
|
||||
"name": "game_info_001.json",
|
||||
@@ -21,7 +21,39 @@
|
||||
},
|
||||
{
|
||||
"name": "game_info_005.json",
|
||||
"count": 97
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_006.json",
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_007.json",
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_008.json",
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_009.json",
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_010.json",
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_011.json",
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_012.json",
|
||||
"count": 500
|
||||
},
|
||||
{
|
||||
"name": "game_info_013.json",
|
||||
"count": 69
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,188 +0,0 @@
|
||||
=== Deleted Games Log ===
|
||||
Total deleted: 46
|
||||
==================================================
|
||||
|
||||
1. [2026-06-11] wageslave: probation period
|
||||
URL: https://cauldron.itch.io/wageslave
|
||||
Reason: Game became paid
|
||||
|
||||
2. [2026-06-07] Frunkers Lyratick Pluse [Animus_Gulitar's take]
|
||||
URL: https://xxxanimusxxx.itch.io/frunkers-lyratick-pluse-animus-gulitars-take
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
3. [2026-06-07] Neverwood (EARLY ALPHA)
|
||||
URL: https://bellainthegame.itch.io/neverwood
|
||||
Reason: Game became paid
|
||||
|
||||
4. [2026-06-05] Seek VR: Reimagined
|
||||
URL: https://underdevlar.itch.io/seek
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
5. [2026-06-05] cigarette christine
|
||||
URL: https://aliothgames.itch.io/cigarette-christine
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
6. [2026-06-05] Snacktorio
|
||||
URL: https://tngineers.itch.io/snacktorio
|
||||
Reason: Game became paid
|
||||
|
||||
7. [2026-06-05] The Method of Hiding a Body
|
||||
URL: https://sea-of-ghosts.itch.io/the-method-of-hiding-a-body
|
||||
Reason: Game became paid
|
||||
|
||||
8. [2026-06-03] idle primes
|
||||
URL: https://ipipgamedev.itch.io/idle-primes
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
9. [2026-06-03] Lとじゃんけんするだけ
|
||||
URL: https://superleisurelylife.itch.io/l-rockpaperscissors-l-fanmadegame
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
10. [2026-05-31] BERSERK SURVIVOR
|
||||
URL: https://renzk.itch.io/berserksurvivor
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
11. [2026-05-29] Arcane KItchen v.3
|
||||
URL: https://diegodelgadog6.itch.io/arcane-kitchen-v3
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
12. [2026-05-29] Low Effort Romance [Prototype]
|
||||
URL: https://azurextwilight.itch.io/low-effort-romance
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
13. [2026-05-27] GORILLA BOUNCER V4
|
||||
URL: https://zohaven.itch.io/gorilla-bouncers
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
14. [2026-05-27] ClickRealm - Online MMORPG
|
||||
URL: https://clutch-games.itch.io/clickrealm-idle-mmorpg
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
15. [2026-05-27] Spralt V3
|
||||
URL: https://talihi.itch.io/spralt-remake-overhaul-re-overhauled
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
16. [2026-05-23] Zenith Miner - Space Project - English
|
||||
URL: https://gamersz.itch.io/zenith-miner-space-project-english-version
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
17. [2026-05-23] Tarotro
|
||||
URL: https://worsteventgames.itch.io/tarotro
|
||||
Reason: Game became paid
|
||||
|
||||
18. [2026-05-19] Pretend it's not There
|
||||
URL: https://dreadloom-studios.itch.io/pretend-its-not-there
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
19. [2026-05-19] PakuPaku Gyaru! 「 パクパクギャル!」
|
||||
URL: https://sumi03c.itch.io/pakupaku-gyaru
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
20. [2026-05-19] Alone in Christmas
|
||||
URL: https://dreadloom-studios.itch.io/alone-in-christmas
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
21. [2026-05-16] Samsara: Again Regain Again Rewind - Retrain.WIZE/SIGNED
|
||||
URL: https://kozarto.itch.io/samsara-again-regain-again-rewind-retrainwizesigned
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
22. [2026-05-16] Skeleton Quest
|
||||
URL: https://kozarto.itch.io/skeleton-quest
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
23. [2026-05-16] Samsara: Again Regain Again Rewind - Retrain.WIZE/SIGNED
|
||||
URL: https://delightfulredstar.itch.io/samsara-again-regain-again-rewind-retrainwizesigned
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
24. [2026-05-13] Código 404
|
||||
URL: https://carlosgames.itch.io/codigo-404
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
25. [2026-05-13] La casa abandonada
|
||||
URL: https://carlosgames.itch.io/la-casa-abandonada
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
26. [2026-05-01] Through His Eyes
|
||||
URL: https://tawarre31.itch.io/through-her-eyes
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
27. [2026-05-01] A Crown of Velvet Thorns
|
||||
URL: https://anonymous-soul.itch.io/a-crown-of-velvet-thorns
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
28. [2026-05-01] Love the Guard, Be the King (complete)
|
||||
URL: https://ligianunes.itch.io/love-the-guard-be-the-king
|
||||
Reason: Game became paid
|
||||
|
||||
29. [2026-04-27] Pepsi express free
|
||||
URL: https://sickycreator.itch.io/pepsi-express-free
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
30. [2026-04-25] C++ Console Games
|
||||
URL: https://hunterelise.itch.io/console-games
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
31. [2026-04-23] Soap Killer
|
||||
URL: https://rhynlen.itch.io/soap-killer
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
32. [2026-04-23] Lost Ball
|
||||
URL: https://ellena132005.itch.io/lost-ball
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
33. [2026-04-21] devastate
|
||||
URL: https://e6atejib-hobn4kob.itch.io/devastate
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
34. [2026-04-17] My take splnuko Idk
|
||||
URL: https://pro-monkey.itch.io/my-take-splnuko-idk
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
35. [2026-04-13] SCP-3008 Infinite Store
|
||||
URL: https://christopher-elliot.itch.io/scp-3008-infinite-store
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
36. [2026-04-09] Burning Boundaries |Sex Game
|
||||
URL: https://hentaeiie.itch.io/burning-boundaries-sex-game
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
37. [2026-04-09] FreshWomen - Season 2
|
||||
URL: https://epoorew.itch.io/freshwomen-season-2
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
38. [2026-04-09] Married Into Hell |Sex Hentai|
|
||||
URL: https://sexheantai.itch.io/married-into-hell-sex-hentai
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
39. [2026-04-09] Fuckstone
|
||||
URL: https://ehn-sabedra.itch.io/turtle-care-simulator
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
40. [2026-04-09] Zero
|
||||
URL: https://ahdevgames.itch.io/zero
|
||||
Reason: Game became paid
|
||||
|
||||
41. [2026-04-07] The Seat Across From Mine
|
||||
URL: https://orb-star.itch.io/in-his-gaze
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
42. [2026-04-03] Package You Shouldn’t Open
|
||||
URL: https://cryzeder.itch.io/package-you-shouldnt-open
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
43. [2026-04-01] Space Travel is Boring
|
||||
URL: https://potpan.itch.io/spacetravelisboring
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
44. [2026-03-29] Femdom First Timers
|
||||
URL: https://brayden-vargas.itch.io/femdom-first-timers
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
45. [2026-03-21] Little Witch Inuko
|
||||
URL: https://jordan-smirnov.itch.io/little-witch-inuko
|
||||
Reason: Game page no longer exists (HTTP 404)
|
||||
|
||||
46. [2026-03-13] Follower
|
||||
URL: https://grantrimi.itch.io/follower
|
||||
Reason: Game became paid
|
||||
|
||||
Loaded 100 of 484 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user