openchar-frontend 1.3.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openchar_frontend-1.3.17/.gitignore +25 -0
- openchar_frontend-1.3.17/PKG-INFO +38 -0
- openchar_frontend-1.3.17/README.md +31 -0
- openchar_frontend-1.3.17/openchar_frontend/__init__.py +17 -0
- openchar_frontend-1.3.17/openchar_frontend/static/assets/ControlSpaceEditor-DpxnOUZ0.js +4335 -0
- openchar_frontend-1.3.17/openchar_frontend/static/assets/index-Bruy94mv.css +1 -0
- openchar_frontend-1.3.17/openchar_frontend/static/assets/index-DYzy3-fi.js +78 -0
- openchar_frontend-1.3.17/openchar_frontend/static/assets/logo-B21TrMGg.svg +32 -0
- openchar_frontend-1.3.17/openchar_frontend/static/assets/race-CLFB7L9s.png +0 -0
- openchar_frontend-1.3.17/openchar_frontend/static/index.html +17 -0
- openchar_frontend-1.3.17/pyproject.toml +20 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
node_modules
|
|
2
|
+
out
|
|
3
|
+
dist
|
|
4
|
+
dist-web
|
|
5
|
+
# The built SPA copied into the PyPI frontend package at publish time (keep the .gitkeep).
|
|
6
|
+
packages/frontend/openchar_frontend/static/*
|
|
7
|
+
!packages/frontend/openchar_frontend/static/.gitkeep
|
|
8
|
+
*.log
|
|
9
|
+
.DS_Store
|
|
10
|
+
.env
|
|
11
|
+
.env.local
|
|
12
|
+
node_modules/.tmp
|
|
13
|
+
|
|
14
|
+
docs/
|
|
15
|
+
.claude
|
|
16
|
+
|
|
17
|
+
nohup.out
|
|
18
|
+
Inline-Studio.code-workspace
|
|
19
|
+
|
|
20
|
+
# Local generation sweeps (LoRA regression renders, contact sheets)
|
|
21
|
+
outputs/
|
|
22
|
+
core/scripts/*
|
|
23
|
+
|
|
24
|
+
#docker or runpod
|
|
25
|
+
docker/runpod-template*
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: openchar-frontend
|
|
3
|
+
Version: 1.3.17
|
|
4
|
+
Summary: Prebuilt Inline Studio web UI (SPA), served by Inline Core. Mirrors comfyui-frontend-package.
|
|
5
|
+
Requires-Python: >=3.9
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
|
|
8
|
+
# openchar-frontend
|
|
9
|
+
|
|
10
|
+
Prebuilt Inline Studio web UI (SPA), packaged so **Inline Core** can serve it on a single port -
|
|
11
|
+
mirroring ComfyUI's `comfyui-frontend-package`. End users `pip install openchar-core` (which depends on
|
|
12
|
+
this), then run `python main.py`; no Node build on their machine.
|
|
13
|
+
|
|
14
|
+
## What's in the wheel
|
|
15
|
+
|
|
16
|
+
The payload is the built SPA under `openchar_frontend/static/` (`index.html` + hashed `assets/`).
|
|
17
|
+
Core resolves this dir via `inline_core.server.frontend.resolve_frontend_root` and mounts it.
|
|
18
|
+
|
|
19
|
+
## Publishing (release only)
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# in the Inline Studio repo
|
|
23
|
+
npm run build:spa # -> dist-web/
|
|
24
|
+
cp -r dist-web/* packages/frontend/openchar_frontend/static/
|
|
25
|
+
cd packages/frontend
|
|
26
|
+
python -m build && twine upload dist/* # publish to PyPI
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Local development - don't republish
|
|
30
|
+
|
|
31
|
+
Point Core at a local build instead:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm run build:spa
|
|
35
|
+
python main.py --front-end-root ../Inline-Studio/dist-web # in the Inline Core repo
|
|
36
|
+
# or, for HMR:
|
|
37
|
+
npm run dev:web # Vite dev server on :5173, proxying the backend to Core
|
|
38
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# openchar-frontend
|
|
2
|
+
|
|
3
|
+
Prebuilt Inline Studio web UI (SPA), packaged so **Inline Core** can serve it on a single port -
|
|
4
|
+
mirroring ComfyUI's `comfyui-frontend-package`. End users `pip install openchar-core` (which depends on
|
|
5
|
+
this), then run `python main.py`; no Node build on their machine.
|
|
6
|
+
|
|
7
|
+
## What's in the wheel
|
|
8
|
+
|
|
9
|
+
The payload is the built SPA under `openchar_frontend/static/` (`index.html` + hashed `assets/`).
|
|
10
|
+
Core resolves this dir via `inline_core.server.frontend.resolve_frontend_root` and mounts it.
|
|
11
|
+
|
|
12
|
+
## Publishing (release only)
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# in the Inline Studio repo
|
|
16
|
+
npm run build:spa # -> dist-web/
|
|
17
|
+
cp -r dist-web/* packages/frontend/openchar_frontend/static/
|
|
18
|
+
cd packages/frontend
|
|
19
|
+
python -m build && twine upload dist/* # publish to PyPI
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Local development - don't republish
|
|
23
|
+
|
|
24
|
+
Point Core at a local build instead:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm run build:spa
|
|
28
|
+
python main.py --front-end-root ../Inline-Studio/dist-web # in the Inline Core repo
|
|
29
|
+
# or, for HMR:
|
|
30
|
+
npm run dev:web # Vite dev server on :5173, proxying the backend to Core
|
|
31
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Prebuilt Inline Studio web UI, packaged for Inline Core to serve on one port.
|
|
2
|
+
|
|
3
|
+
Mirrors ComfyUI's ``comfyui_frontend_package``: the wheel's payload is the built SPA under
|
|
4
|
+
``static/`` (index.html + hashed assets). Inline Core resolves this package's ``static/`` dir and
|
|
5
|
+
mounts it (see ``inline_core.server.frontend.resolve_frontend_root``), so end users ``pip install``
|
|
6
|
+
and get the UI with no Node build.
|
|
7
|
+
|
|
8
|
+
Populate ``static/`` at publish time with the SPA build: ``npm run build:spa`` in the Inline Studio
|
|
9
|
+
repo, then copy ``dist-web/*`` into ``openchar_frontend/static/``.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
from pathlib import Path
|
|
15
|
+
|
|
16
|
+
#: Absolute path to the built SPA directory (contains index.html once populated at build time).
|
|
17
|
+
STATIC_DIR = str(Path(__file__).parent / "static")
|