Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions subprojects/llama.cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ llama-cli -hf ggml-org/gemma-3-1b-it-GGUF
llama-server -hf ggml-org/gemma-3-1b-it-GGUF
```

## Security note (local wasm test server)

`scripts/serve-static.js` now constrains request paths to the wasm output directory and adds safer HTML response headers.
- This prevents path traversal and reduces XSS risk in directory listings and served HTML.
- How? Normalize/resolve paths under `build-wasm/bin`, return `403` on escapes, escape listing labels, and apply CSP + `nosniff` to HTML.

## Description

The main goal of `llama.cpp` is to enable LLM inference with minimal setup and state-of-the-art performance on a wide
Expand Down
45 changes: 0 additions & 45 deletions subprojects/llama.cpp/examples/CMakeLists.txt

This file was deleted.

9 changes: 0 additions & 9 deletions subprojects/llama.cpp/examples/batched.swift/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions subprojects/llama.cpp/examples/batched.swift/Makefile

This file was deleted.

22 changes: 0 additions & 22 deletions subprojects/llama.cpp/examples/batched.swift/Package.swift

This file was deleted.

5 changes: 0 additions & 5 deletions subprojects/llama.cpp/examples/batched.swift/README.md

This file was deleted.

256 changes: 0 additions & 256 deletions subprojects/llama.cpp/examples/batched.swift/Sources/main.swift

This file was deleted.

5 changes: 0 additions & 5 deletions subprojects/llama.cpp/examples/batched/CMakeLists.txt

This file was deleted.

Loading
Loading