starlette + aftercare frontend for simonw llm
Find a file
2025-03-05 11:19:22 +00:00
client display the current model in use 2025-03-01 12:50:52 +00:00
server don't 404 when trying to connect to a non-existent conversation, just create it 2025-03-02 07:58:24 +00:00
.gitignore oops. ignore build output 2025-02-26 08:54:08 +00:00
.prettierrc write a little frontend 2025-02-26 08:10:58 +00:00
_build_client.ts add more code highlight languages & split out hljs 2025-02-27 08:46:14 +00:00
deno.json add more code highlight languages & split out hljs 2025-02-27 08:46:14 +00:00
README.md add tsnsrv instructions to readme 2025-03-05 11:19:22 +00:00
requirements.txt upgrade llm version 2025-03-01 12:24:20 +00:00

llm-py-web

starlette + aftercare ui for llm by simonw. requires uv, deno.

$ deno task setup
$ # any llm plugins: `uv pip install ...`
$ deno task run

i also use tsnsrv to expose the llm server internally in my tailnet:

$ # let's say $SOCK_PATH is /run/llm.sock
$ # in your llm-py-web systemd unit, have:
$ # Exec=/usr/bin/env deno task run --uds $SOCK_PATH
$ tsnsrv -name llm -stateDir /srv/llm/ts-state \
   -ephemeral -suppressWhois \
   -upstreamUnixAddr $SOCK_PATH http://llm-py-web