Document npx URL caching; link versioned tarball on the landing page
2 changed files+12−2
.github/workflows/deploy.ymlmodified+8−1View file
@@ -52,12 +52,19 @@ jobs:
5252 call from the command line: per-participant WAV files plus the room chat,
5353 for transcribing the meeting. Needs Node ≥ 22.</p>
5454 <pre>npx https://concept-collection.github.io/commonroom-recorder/commonroom-recorder.tgz <room></pre>
55- <p>Stop with Ctrl-C. See the
55+ <p>Afterwards, create a speaker-attributed transcript of the meeting:</p>
56+ <pre>npx https://concept-collection.github.io/commonroom-recorder/commonroom-recorder.tgz transcribe <recording-dir></pre>
57+ <p>Stop recording with Ctrl-C. See the
5658 <a href="https://github.com/concept-collection/commonroom-recorder">README</a>
5759 for options and output format.</p>
60+ <p><small>npx caches the download per URL; to pick up a newer version, use the
61+ versioned tarball
62+ (<a href="commonroom-recorder-__VERSION__.tgz">commonroom-recorder-__VERSION__.tgz</a>,
63+ currently __VERSION__) or <code>rm -rf ~/.npm/_npx</code>.</small></p>
5864 </body>
5965 </html>
6066 EOF
67+ sed -i "s/__VERSION__/$(node -p 'require("./package.json").version')/g" site/index.html
6168 - uses: actions/upload-pages-artifact@v3
6269 with:
6370 path: site
README.mdmodified+4−1View file
@@ -20,7 +20,10 @@ npx https://concept-collection.github.io/commonroom-recorder/commonroom-recorder
2020 ```
2121
2222 (`npx github:concept-collection/commonroom-recorder` works too, but builds
23-from source on first run.) Or from a clone:
23+from source on first run.) Note that npx caches the download per URL — after
24+a new release, use the versioned tarball listed at
25+[the landing page](https://concept-collection.github.io/commonroom-recorder/)
26+or `rm -rf ~/.npm/_npx`. Or from a clone:
2427
2528 ```
2629 npm install