stdout2webstream
v0.1.3
Published
## Use cases
Downloads
4
Readme
stdout2webstream
Use cases
1. Stream your log file into web
# some command append into logs
watch "date >> logs/main.log"
# follow the logs into web
tail -f logs/main.log | docker run -p 8080:80 -it ghcr.io/snomiao/stdout2webstream
# see the logs in web, open this link in your browser
open http://localhost:8080/
2. Speak to web in realtime
# launch your voice recognize service
git clone https://github.com/davabase/whisper_real_time
pip install -r requirements.txt
py transcribe_demo.py --non_english --model small | tee out.log
# follow the logs into web
tail -f out.log | docker run -p 9123:80 -i ghcr.io/snomiao/stdout2webstream
# see the logs in web, open this link in your browser
open http://localhost:8080/
Reference
- bun serve https://bun.sh/docs/api/http