An extension of fabricatio
Project description
fabricatio-webui
Web UI service for the Fabricatio LLM application framework. Serves a Vue-based single-page application built with Vite over an axum HTTP server (Rust, bound via PyO3).
Installation
pip install fabricatio[webui]
# or
pip install fabricatio-webui
The CLI entry point requires the cli extra:
pip install fabricatio-webui[cli]
Quick Start
Start the service with the bundled frontend:
fc-webui
This serves the SPA at http://127.0.0.1:9846. Use --frontend-dir / -d to point at a custom build, and --addr / -a to change the bind address:
fc-webui --addr 0.0.0.0:3000 --frontend-dir ./dist
API
All functionality is exposed through the Rust-backed Python module fabricatio_webui.rust.
start_service(frontend_dir, addr)
Starts an async HTTP server (axum + tokio) that serves static files from frontend_dir with SPA fallback (all unmatched routes serve index.html). CORS is permissive.
| Parameter | Type | Description |
|---|---|---|
frontend_dir |
str | PathLike |
Directory containing the built frontend |
addr |
str |
Bind address, e.g. "127.0.0.1:9846" |
import asyncio
from fabricatio_webui.rust import start_service
asyncio.run(start_service("./www", "127.0.0.1:9846"))
Configuration
WebuiConfig is a frozen dataclass loaded from Fabricatio's configuration system:
from fabricatio_webui.config import webui_config
Dependencies
fabricatio-core— core interfaces and configurationaxum+tokio+tower-http(Rust) — HTTP server and middlewaretyper(optional, for CLI) —fc-webuicommand
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fabricatio_webui-0.2.2-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fb1e3ef04ed736db3b53dfb168ca89e0d353d0850cd2c08b1a82b0aa8831af1
|
|
| MD5 |
42e49ce6a631d4b3a22437cb49b74c17
|
|
| BLAKE2b-256 |
e0433fe8a07720d0c154170ec58c8106615a69501ea03d6b7108549e2324aa7e
|
File details
Details for the file fabricatio_webui-0.2.2-cp314-cp314-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp314-cp314-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.14, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fa3c89fc40ef2436426578dec9c9b5a3d4b1efe288ba10ffe89434646ce1340
|
|
| MD5 |
1d7e2d9c6ff81bc081ad59c533692095
|
|
| BLAKE2b-256 |
753fbb2d5a205089e48f456d59d69de0e84c87d22a289efe7b7e48ccef7e06c2
|
File details
Details for the file fabricatio_webui-0.2.2-cp314-cp314-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp314-cp314-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.14, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb92076442a70b9b90a9f4f327acb1adf2115fcf9a03ca1df863490b6dd841d1
|
|
| MD5 |
1fac4f61d7253ec4a2db2010c6195ecf
|
|
| BLAKE2b-256 |
5c0fbbf4b431c1ee653d76b2fd7865947e3b09266fb73400ee9cb0020a6057eb
|
File details
Details for the file fabricatio_webui-0.2.2-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74e728d04abf84a7a28d4448646d6d230e5bb5e050376be7e69b853de2491158
|
|
| MD5 |
2a269bd9c86ded0498528273aa55a4d5
|
|
| BLAKE2b-256 |
ea17a1b72f1c5714ab9861fea645f26eee054602dc20bc568cf2ff6df9f5569e
|
File details
Details for the file fabricatio_webui-0.2.2-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e98d424a886252bcf7e9c41e277b0be36bd3a690fd513e866d8230f5f37b0b9d
|
|
| MD5 |
3f8c4f4f3704ef127f40500c8bed4641
|
|
| BLAKE2b-256 |
21109f4188063f66564114b67802aa74ba20f4514755cb5ab3df4276f7e68a58
|
File details
Details for the file fabricatio_webui-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d31123c07e57e9165217de012a11f87e4d8e007b3b4b1bbe6f7e547d5be2de15
|
|
| MD5 |
6d5190675245decba9797bea7d1a5b37
|
|
| BLAKE2b-256 |
37cf336069e841cda5110c45e104d3a6ed17cb5f026a91c1b8be9274c1eb22b9
|
File details
Details for the file fabricatio_webui-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d5d486c0eb93481553d9114d57ad885ede597f12cbf032c4425f0630ee8d864
|
|
| MD5 |
40b8fcf2a29395fa078a25469c01bed2
|
|
| BLAKE2b-256 |
95f668a64ac08354d09ca98d0abd6a027ed0e3ebbdf529876ef566058ff68735
|
File details
Details for the file fabricatio_webui-0.2.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bb969987bbc63dd3e45d206ef71f282a11e57278e8c2da0896fd0dc4dbb23ba
|
|
| MD5 |
722ac4c0b641b6bf1356b613a672e73c
|
|
| BLAKE2b-256 |
80c9981f785374d0233146747e8e03b584b0b9e7e364062eec4eb9431e97d9c9
|
File details
Details for the file fabricatio_webui-0.2.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e569727208da6e8a6760aa5150b6c9a2d49a5641b3cd684f4ba2a6be82afda31
|
|
| MD5 |
572c0ec707bb530867c8f3019f88836a
|
|
| BLAKE2b-256 |
36e071fcc033662cae8f94a724b7cafcb2cec7556eec9d44920b45b25b41dc2a
|
File details
Details for the file fabricatio_webui-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501e281e482c17486e1719dfc5207a2648333d349a0d47082957c2b6f3ed9379
|
|
| MD5 |
71bbdf4fcddea86099711ea9f90472d5
|
|
| BLAKE2b-256 |
5bc87f5002d9901442d9e0c0939b83ec97fd4f76e5c904bdf91fbf7eab2ad1dc
|
File details
Details for the file fabricatio_webui-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba98aa59a6928def82b0f676dffafc83c028302fda0ba160baba96a9ca17826a
|
|
| MD5 |
bcd8c6ea8057c5dc685259bf74e3f900
|
|
| BLAKE2b-256 |
c52c1f3a3f68bff9b4a710ef8263efe48fe9261ea4de12add8c218e76bfc2469
|
File details
Details for the file fabricatio_webui-0.2.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: fabricatio_webui-0.2.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7e5460bc49ca24bbfec68b4b722656e9db80ce83735b0bf114636595b852b4d
|
|
| MD5 |
155405b93f998048365ea06456f3fc2d
|
|
| BLAKE2b-256 |
ca0757d55597e5c2eca00c7fd4e99cd3fddd200b607e456f11684dbcabc87952
|