djinn-rsa Rust playground for running language models and some other machine learning models.
ollama-clia CLI/TUI for interacting with an Ollama server.
djinn-clithe main entrypoint
for running either
a server (with djinn-server)
or a one shot inference.
djinn-corecore ML functionality and model implementations.
djinn-serveran HTTP server with an API and streaming front-end for running models
djinn-server ships a small UI served from ./djinn-server/assets/.
| Path | Description |
|---|---|
/ | Main page — prompt input + streaming completion |
/swagger-ui | Interactive OpenAPI docs |
/health-check | Liveness probe |
How it works
index.html is served as a static file by ServeDir.app.js intercepts form submission and POSTs the prompt as JSON to /complete/stream.just check # typos, clippy, tests
just coverage # HTML coverage report → target/llvm-cov/html/index.html
just schema # regenerate JSON Schema files after config struct changes
run the server on a Macbook M-series:
cargo run --release --features djinn-core/mac -- server-config --name test
breakdown:
- cargo run --release to build in release mode for best performance
- --features djinn-core/mac to enable CoreML acceleration
- -- everything before this are cargo args and everything after are djinn args
- server-config command to run the server from a config file
- --name test to run the config named test, in ./configs/server/test.toml
149 commits
4 commits
Rust
89.4%
JavaScript
3.2%
Nix
2.1%
Nushell
1.6%
CSS
1.5%
Bru
1.1%
djinn-rsa Rust playground for running language models and some other machine learning models.
ollama-clia CLI/TUI for interacting with an Ollama server.
djinn-clithe main entrypoint
for running either
a server (with djinn-server)
or a one shot inference.
djinn-corecore ML functionality and model implementations.
djinn-serveran HTTP server with an API and streaming front-end for running models
djinn-server ships a small UI served from ./djinn-server/assets/.
| Path | Description |
|---|---|
/ | Main page — prompt input + streaming completion |
/swagger-ui | Interactive OpenAPI docs |
/health-check | Liveness probe |
How it works
index.html is served as a static file by ServeDir.app.js intercepts form submission and POSTs the prompt as JSON to /complete/stream.just check # typos, clippy, tests
just coverage # HTML coverage report → target/llvm-cov/html/index.html
just schema # regenerate JSON Schema files after config struct changes
run the server on a Macbook M-series:
cargo run --release --features djinn-core/mac -- server-config --name test
breakdown:
- cargo run --release to build in release mode for best performance
- --features djinn-core/mac to enable CoreML acceleration
- -- everything before this are cargo args and everything after are djinn args
- server-config command to run the server from a config file
- --name test to run the config named test, in ./configs/server/test.toml
149 commits
4 commits
Rust
89.4%
JavaScript
3.2%
Nix
2.1%
Nushell
1.6%
CSS
1.5%
Bru
1.1%