No description
- Go 60.8%
- templ 30.3%
- Shell 6%
- Nix 2.3%
- JavaScript 0.5%
- Other 0.1%
| static | ||
| vendor | ||
| .gitignore | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| go.sum | ||
| index.templ | ||
| index_templ.go | ||
| jobs.go | ||
| jobs_test.go | ||
| main.go | ||
| README.md | ||
| site.go | ||
| tailwind.config.js | ||
| test-smoke.sh | ||
gallery-dl UI
Tiny web UI for gallery-dl bulk gallery
downloads that packs each gallery into a .cbz comic archive.
Layout
media/pictures/
├── inbox/ # single downloads → <Title>.cbz lands here
└── gallery-dl/
└── <site>/ # bulk downloads → <Title>.cbz inside site folder
Site name is normalized from the URL host (greenshines.com → greenshines).
Build
nix build .#default # or: go build .
Generated assets (index_templ.go, static/style.css) are committed, so the
build needs no templ/tailwind toolchain.
Run
gallery-dl-ui
| Env var | Default | Purpose |
|---|---|---|
GDL_PICTURES_DIR |
/mnt/storage/data/media/pictures |
Base pictures dir (inbox/ and gallery-dl/ live here) |
GDL_BIN |
gallery-dl |
Path to the gallery-dl binary |
GDL_CONFIG |
(empty) | gallery-dl config file, passed with -c |
GDL_EXTRACTORS |
(empty) | Custom extractor dir, passed with -X |
GDL_LISTEN |
:8080 |
Listen address |
API
GET /— UIGET /api/jobs— job listPOST /api/jobs—{"mode":"single"|"bulk","urls":[...],"override":"/optional/dir"}GET /api/events— SSE stream (snapshot + per-job log updates)
Smoke test
nix shell nixpkgs#gallery-dl -c bash test-smoke.sh