Skip to content

Commit 7f34ae8

Browse files
committed
docs(site): bind the web-ui example to localhost, not 0.0.0.0
The landing page still told people to run the web UI on 0.0.0.0, which is the wide-open bind the rest of the project moved away from. Point it at 127.0.0.1 and mention the reverse-proxy + token when exposing it.
1 parent 716f48d commit 7f34ae8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ <h1 class="glitch" data-text="whispr">whispr</h1>
424424
desc: `Transcribe a <span class="hl">YouTube URL</span> (or any HTTP URL) via yt-dlp. Audio is extracted, chunked with ffmpeg, transcribed in parallel, and output as <span class="hl">SRT subtitles</span>. Language auto-detected if <span class="hl">-l</span> is omitted.`,
425425
},
426426
{
427-
raw: `cd web && uvicorn app:app --host 0.0.0.0 --port 8000`,
428-
html: `<span class="cmd">cd</span> <span class="str">web</span> <span class="op">&amp;&amp;</span> <span class="cmd">uvicorn</span> <span class="str">app:app</span> <span class="flag">--host</span> <span class="str">0.0.0.0</span> <span class="flag">--port</span> <span class="str">8000</span>`,
429-
desc: `Launch the <span class="hl">FastAPI web UI</span>. Upload a file or paste a URL, pick a backend, monitor progress via <span class="hl">WebSocket</span> live logs, and download results in any format directly from the browser.`,
427+
raw: `cd web && uvicorn app:app --host 127.0.0.1 --port 8000`,
428+
html: `<span class="cmd">cd</span> <span class="str">web</span> <span class="op">&amp;&amp;</span> <span class="cmd">uvicorn</span> <span class="str">app:app</span> <span class="flag">--host</span> <span class="str">127.0.0.1</span> <span class="flag">--port</span> <span class="str">8000</span>`,
429+
desc: `Launch the <span class="hl">FastAPI web UI</span>. Upload a file or paste a URL, pick a backend, monitor progress via <span class="hl">WebSocket</span> live logs, and download results in any format directly from the browser. Binds to <span class="hl">localhost</span>; put it behind a reverse proxy with <span class="hl">WHISPR_AUTH_TOKEN</span> to expose it.`,
430430
},
431431
{
432432
raw: `python main.py -f interview.mp3 --backend openai --openai-key $OPENAI_API_KEY -F srt,txt`,

0 commit comments

Comments
 (0)