From 07ac2567dab0041ced22fde8fafbd4c7ae90da0e Mon Sep 17 00:00:00 2001 From: wuhei Date: Fri, 20 Nov 2026 15:49:14 +0100 Subject: 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 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. --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3