summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorwuhei <wuhei@users.noreply.github.com>2026-11-20 15:49:14 +0100
committerwuhei <wuhei@users.noreply.github.com>2026-11-20 15:49:14 +0100
commit07ac2567dab0041ced22fde8fafbd4c7ae90da0e (patch)
treeef4bdc29f7195a27931e7889424dec487c9784b9 /README.md
parent6f9aaf04904a5b1d455fae358d3f88cc1e5384ee (diff)
downloadlilchinese-07ac2567dab0041ced22fde8fafbd4c7ae90da0e.tar.gz
prepare for publication: MIT licence, no bundled third-party photo, tighter ignores
- the intro picture was press photography from a news site; it is no longer tracked (web/intro.jpg is gitignored) and scripts/fetch-intro.sh installs your own. The page drops the <img> if it 404s, so a fresh clone is just the red field and the title. - .gitignore now covers recorder output (mp4/mkv/webm/mov/m4v), the media files that land in the working directory during a talk (*.png/*.jpg/*.wav/*.mp3), models and session logs, so 'git add -A' cannot sweep them into a commit. - LICENSE: MIT for the code.
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/README.md b/README.md
index a601c57..c836415 100644
--- a/README.md
+++ b/README.md
@@ -82,11 +82,18 @@ recognition: while the intro is up nothing is published, so the noise of setting
| `-intro` | `true` | show the intro and wait for Enter |
| `-intro-zh` | `批斗大会` | headline |
| `-intro-en` | `STRUGGLE SESSION` | subtitle |
-| `-intro-image` | `/intro.jpg` | picture; overwrite `web/intro.jpg` (or pass a URL/local path) to change it |
+| `-intro-image` | `/intro.jpg` | picture; put one in `web/intro.jpg` (rebuild) or serve it from anywhere |
-> `web/intro.jpg` is third-party press photography from secretchina.com, bundled here for
-> convenience. It is not covered by this project's licence — swap it for something you
-> have the rights to if the repo ever stops being private.
+The picture is **not** part of the repo — no such specific photo should be redistributed
+with source. Drop your own in place and rebuild, and the intro picks it up:
+
+```sh
+./scripts/fetch-intro.sh ~/pictures/whatever.jpg # or a URL
+go build -o lilchinese .
+```
+
+Without it the page is just the red field and the title, which is fine. Whatever you use
+is your responsibility licence-wise (`web/intro.jpg` is gitignored so it never gets committed).
## Session log (Enter)
@@ -215,6 +222,7 @@ go test ./... # slide cutting, colour alternation, cut, keep, log format, wi
## Layout
```
+LICENSE MIT (the code only — images and models are yours to source)
main.go mic → ASR → slide splitting → SSE, recorder, browser launch
log.go session log written by Enter
translate.go optional local MT: llama-server supervision, debounce, sticky EN line