Repository navigation
3.3.0
Highlights
- Fussel is now on PyPI. Run it with only Python installed:
uvx fussel --config config.yml, oruv tool install fussel. The web app ships prebuilt in the package, so generating a site no longer needs Node or yarn (#219). people.jsonfor other sites. With people detection on, Fussel writespeople.jsonat the gallery root. A family tree or blog can fetch it to show a few thumbnails per person and link to their gallery. Each photo lists its smallest size asthumband its largest assrc.gallery.people.manifest_photossets how many photos are listed per person (#217, #218).- Releases publish to PyPI automatically. Publishing a release builds the web app and the wheel, smoke-tests it, and uploads with PyPI trusted publishing (#219).
Upgrade notes
PyPI and Docker users need to do nothing. If you run Fussel from a clone:
- Run
make build-webafter pulling and after editingfussel/web/src.make generatedoes it for you. Runningpython -m fussel.fusselwithout a build stops withprebuilt web app not found. - A relative
gallery.output_pathnow resolves from the directory you run Fussel in, not the repo root. Use an absolute path to be safe. --configis new. Without it, Fussel reads./config.ymlfrom the current directory.overwrite: Trueclears only<output_path>/static/_gallery. Other files in the output directory are left alone.people.jsonis written to the output directory next toindex.html, not intofussel/web/public. Delete any oldfussel/web/public/people.json.make devneeds generated data infussel/web/public. See "Development Mode" in the README.- Delete leftovers from earlier versions before building:
fussel/web/public/static,fussel/web/src/_galleryandfussel/web/build. Vite copiespublic/into the bundle, so old photos left there end up in the build and in the package. - Regenerating into an existing output directory leaves old
assets/index-*.jsfiles in place. They are unused and safe to delete. http_rootno longer sets the web app's base URL, because assets use relative URLs. It still sets photo URLs.
Docs and internals
- The README leads with the PyPI install, then Docker, then a clone, and has a new "Upgrading a clone to the prebuilt web app" section (#219).
- CI builds the wheel and smoke-tests it on every PR (#219).
- The web app loads gallery data as JSON at runtime instead of importing generated JS (#219).
Full changelog: 3.2.0...3.3.0