Skip to content

Latest commit

 

History

History

hazel

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Hazel: One studio. Three ways to make video.

One studio. Three ways to make video.
Hazel Shorts, Hazel Sped and Hazel Long, in one creator studio.

Try it live · See it in action · Highlights · More by juw12

Last updated Live demo Web Desktop MIT license

Hazel Shorts
Faceless explainer shorts from a script.
Hazel Sped
Sped-up and mashup edits of your songs.
Hazel Long
Create, cut and publish long-form video.

See it in action

Hazel screenshot
Open the interactive demo at juw12.github.io/projects/hazel/

Get it on your device

The Windows, Mac and Android apps are the web app in its own window (desktop/, android/) and change with it. Each build is opened on GitHub's machines before it is published: on Windows and on a Mac the page loads, the app starts and can store data; on an Android emulator it installs, opens and stays up. They are not code-signed or notarised, and no real phone or PC has run them yet.

About

One creator studio, three apps. Hazel brings Shortcraft, Sped and the original Hazel together under one name, one home page and one switcher (the leaf chip at the top of every Hazel page).

App What it makes Formerly Web Source
Hazel Shorts Faceless 9:16 explainer shorts: scenes, voice, captions, generated music, MP4 export, post kit, Channel Kit, YouTube upload Shortcraft hazel/shorts/ web/shorts, shorts/ (pipeline, autoposter, docs)
Hazel Sped Sped-up, slowed and mashup edits of your own songs as 9:16 MP4s; works offline Sped (and Hookline before that) hazel/sped/ web/sped, sped/ (docs, browser tools)
Hazel Long Long-form studio: create from a prompt, edit, repurpose, publish; Windows desktop app auto-cuts silences and filler words the original Hazel hazel/long/ web/long, long/ (Electron desktop app)

Live: https://juw12.github.io/projects/hazel/ (Hazel home · mobile · install)

Layout

apps/hazel/
  web/                 deployed to /projects/hazel/
    index.html         Hazel home (pick an app, "continue where you left off")
    mobile.html        Hazel home, mobile entry points
    app.html           install Hazel (manifest shortcuts into each app)
    hazel-switch.css   the shared switcher (byte-identical copies in each app folder below)
    hazel-switch.js
    sw.js              retires the pre-Hazel worker at this address (deletes only 'hazel-app-*' caches)
    shorts/            Hazel Shorts web studio
    sped/              Hazel Sped web app (own offline worker, cache 'hazel-sped-v…')
    long/              Hazel Long web studio (own offline worker, cache 'hazel-long-v…')
  shorts/              Hazel Shorts pipeline (render, voice, autopost) + docs
  sped/                Hazel Sped docs + headless-browser tools
  long/                Hazel Long desktop app (Electron + ffmpeg + Whisper)
  tests/               test_hazel.py, test_shorts_static_integrity.py, test_sped.py, test_sped_branding.py

Moving over from the old apps

  • Old links redirect: /projects/shortcraft/… → hazel/shorts/…, /projects/sped/… and /projects/hookline/… → hazel/sped/… (query strings such as ?sample= and ?demo= are kept). /projects/hazel/ itself is now Hazel home; the old Hazel web studio is at hazel/long/.
  • Your work is still there: all three apps live on the same site, and their browser storage names were kept on purpose (shortcraft.project.v1, the shortcraft voice-clip database, sped-look, hazel-studio-v1, …), so projects, voice clips, looks and settings open as before. Recipe files from Sped and Hookline still load.
  • Offline workers: the old Sped worker (/projects/sped/) and the old Hazel worker are retired and clear only their own caches. The old Hazel worker used to delete every cache on the site (other apps' offline data included); its replacement in Hazel Long only touches hazel-long-v… caches.
  • Desktop app: the window and shortcut are now "Hazel Long"; its data folder, ~/Videos/Hazel export folder, settings and taskbar identity are unchanged.

Run locally

python -m http.server 8000 --directory apps/hazel/web
# Hazel home   http://localhost:8000/
# Shorts       http://localhost:8000/shorts/app.html
# Sped         http://localhost:8000/sped/
# Long         http://localhost:8000/long/

Desktop app: see long/README.md.

Tests

python apps/hazel/tests/test_hazel.py                   # hub, switcher, catalog, redirects, workers
python apps/hazel/tests/test_shorts_static_integrity.py # Hazel Shorts
python apps/hazel/tests/test_sped.py                    # Hazel Sped static + engine (needs node for the engine part)
python apps/hazel/tests/test_sped_branding.py           # Hazel Sped naming, legacy recipes and redirects
python scripts/run_all_tests.py                         # everything in apps/*/tests