# kuhy_credit One "Created by kuhy" credit for every kuhy repo. The user sees the M1 logo. A click or tap opens a small panel with the logo and the words "Created by kuhy". A click or tap on the panel opens https://kuhy.duckdns.org in the system browser. Escape, a click outside the panel and a second logo click close it. Nothing loads over the network and nothing opens without a click. ## Where the data lives - `credit.json` holds the URL, the text and the paths of the two sources it reads: the M1 art (`unified-design-system/logo/final/kuhy.svg`) and the design tokens (`web_ui/src/tokens.css`). - `generator/generate.py` writes each stack's data file from those sources. Never edit a generated file by hand: | Stack | Generated file | | -------- | ----------------------------------------- | | python | `kuhy_credit/_data.py` | | web | `web/src/credit-data.js` | | flutter | `flutter/lib/src/credit_data.g.dart` | | godot | `godot/addons/kuhy_credit/credit_data.gd` | | terminal | `terminal/kuhy-credit.sh` | - `python -m generator.generate --check` (from `kuhy_credit/`) fails and names every stack whose file differs from the sources. CI runs it on every push. ## Decisions (change them here if you disagree) - Placement: web footer, Flutter about screen, Godot main-menu corner. The panel opens above the logo, aligned to its end edge; each stack has a "below" and a "start" option. - Lockers and gate windows get no credit. The Tk widget ships but no locker uses it. - Distribution: a git dependency pinned to the tag `kuhy-credit-v` (version in `pyproject.toml`, `web/package.json` and `flutter/pubspec.yaml`, kept equal). Never copy the files into a repo by hand. ## Web (plain HTML, Astro, React/Vite) ```jsonc // package.json "@kuhyx/kuhy-credit": "github:kuhyx/utils#kuhy-credit-v0.1.0&path:kuhy_credit/web" ``` ```html ``` In Astro, put the same `import` in a `