"Building a Desktop LLM App with cpp-httplib" (#2403)

This commit is contained in:
yhirose
2026-03-21 23:31:55 -04:00
committed by GitHub
parent c2bdb1c5c1
commit 7178f451a4
35 changed files with 8889 additions and 35 deletions

View File

@@ -0,0 +1,28 @@
# List available targets
default:
@just --list
# Remove build artifacts
clean:
rm -rf build
# Test the Book
test-book:
bash test_book.sh
# Build Web App (Chapter 5)
build-web-app:
bash build_web_app.sh
# Stop any running server, then run Web App
run-web-app: build-web-app
-lsof -ti :8080 | xargs kill 2>/dev/null
cd build/web-app && ./build/translate-server
# Build Desktop App (Chapter 6)
build-desktop-app:
bash build_desktop_app.sh
# Run Desktop App
run-desktop-app: build-desktop-app
cd build/desktop-app && ./build/translate-app