Spaces:
Running
Running
File size: 5,958 Bytes
fb36441 0bc4c0b fb36441 0bc4c0b fb36441 0bc4c0b fb36441 0bc4c0b fb36441 0bc4c0b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | ---
title: CastWorkshop
emoji: 🎬
colorFrom: blue
colorTo: green
sdk: static
app_file: index.html
pinned: false
license: apache-2.0
short_description: Persistent AI characters, images and video on your machine.
---
# CastWorkshop project showcase
**Your Cast. Your Stories. Your Machine.**
CastWorkshop is a free, Apache 2.0 open-source application for creating persistent AI characters and generating images and videos locally. It supports multi-character scenes, video continuation, Ollama, ComfyUI, custom workflows, and optional Telegram integration.
This Space is a project showcase, not a hosted AI generation service. Install CastWorkshop and its AI stack locally to generate media.
- [Main website](https://castworkshop.com/)
- [Source and installation](https://castworkshop.com/github)
- [Public promotional video](https://www.youtube.com/watch?v=ysKGk1dy55M)
## Deployment contents
Upload the **contents** of this directory to the Space repository root:
```text
index.html
README.md
assets/
castworkshop-mark.png
favicon.svg
hero-two-character.png
sloan-look-selection.png
mateo-look-selection.png
castworkshop-v13-preview-poster.jpg
castworkshop-v13-preview.mp4
```
No npm dependencies, JavaScript, build step, backend, API keys, model downloads, or GPU are required to serve this page. CSS is inline; typography uses the main website's Segoe UI/system font stack without remote fonts. All local assets are copies from the existing website; the main website and application were not edited. The directory is approximately 10 MB, mostly the optional local video fallback. Images load lazily below the hero; the fallback video uses `preload="none"`.
The primary player embeds the supplied public YouTube video using `youtube-nocookie.com`. YouTube requires internet access and may be blocked by a browser, network, or video-owner embed settings. A visible YouTube link and expandable local MP4 player provide alternatives. The included MP4 is the existing website's v13 preview and may differ from the public YouTube upload. The rest of the page and the local preview work offline; external project links require internet access. No application-generated media or user prompts are sent by this showcase.
## Preview locally
Open `index.html` directly in a browser. For an HTTP preview, run from this directory:
```powershell
python -m http.server 8080 --bind 127.0.0.1
```
Then open [http://127.0.0.1:8080](http://127.0.0.1:8080). Stop the server with Ctrl+C. No build command is needed.
## Upload using Hugging Face Files
Perform these steps only after approving publication:
1. Sign in to Hugging Face and create a Space, or open the intended existing Space. Select **Static** as the SDK and **Apache 2.0** as the license. Choose the intended visibility; a private Space can be used for review.
2. Open the Space's **Files** / **Files and versions** tab. Select **Add file → Upload files**.
3. Upload `index.html`, this `README.md`, and the `assets` folder. Preserve the folder paths. Upload the contents of `huggingface-showcase`, not the outer directory and not the main website directory. If uploading a folder is unavailable, create/navigate to `assets` in Files and upload its seven files there, then upload the two root files at the repository root.
4. Review the pending paths. `README.md` and `index.html` must be at the root; assets must have paths such as `assets/castworkshop-mark.png`. Replace a generated starter README with this one, preserving the YAML metadata at its beginning. Do not upload QA screenshots, local validation scripts, or the parent website's files.
5. Add a commit message such as `Add CastWorkshop static showcase` and commit the uploads when ready. Committing updates the hosted Space; treat this as the publication step.
6. Open the **App** tab after Hugging Face processes the update. Check the page on desktop and mobile, play the YouTube video, expand the local fallback and play it, and check the website and GitHub buttons. No build command should be configured.
The YAML uses `sdk: static`, `app_file: index.html`, and `license: apache-2.0`, following the [Static HTML Spaces documentation](https://huggingface.co/docs/hub/spaces-sdks-static) and [Space configuration reference](https://huggingface.co/docs/hub/spaces-config-reference). Upload steps follow Hugging Face's [web interface guide](https://huggingface.co/docs/hub/repositories-getting-started#adding-files-to-a-repository-web-ui).
## License and media
CastWorkshop is licensed under Apache 2.0. The showcase reuses the project's supplied branding and promotional assets. Third-party models, nodes, and dependencies retain their respective licenses and terms; this showcase does not distribute them. See the [project repository](https://castworkshop.com/github) for its license and installation documentation.
## Validation
Verified locally in Microsoft Edge using a temporary HTTP server on 2026-10-15:
- Layouts at 320, 390, 768, 1000, and 1440 pixels: no horizontal overflow; desktop and mobile screenshots visually inspected.
- All images loaded, internal anchors resolved, the exact requested headline appeared in one H1, and the page contained zero JavaScript scripts or runtime errors.
- Keyboard navigation began at the skip link; reduced-motion preferences disabled smooth scrolling.
- The expandable local MP4 played successfully: 1920 × 1080, approximately 35.7 seconds.
- The YouTube iframe and external watch link use the supplied video ID `ysKGk1dy55M`. Remote YouTube playback could not be verified in this environment; check playback and owner embedding permissions in the uploaded Space. The local fallback was verified independently.
The validation server/scripts and screenshots are outside this deployment directory. Hugging Face hosting itself has not been tested because no Space has been created, uploaded, or published. No main website or application source files were changed.
|