forked from alice/landing
No description
|
|
||
|---|---|---|
| .opencode/plans | ||
| docs | ||
| scripts | ||
| src | ||
| static | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| .woodpecker.yml | ||
| DEPLOY-HOWTO.md | ||
| docker-run.sh | ||
| Dockerfile | ||
| generate-responsive-image-data.js | ||
| jsconfig.json | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.cjs | ||
| README.md | ||
| svelte.config.js | ||
| tailwind.config.cjs | ||
| vite.config.js | ||
Artist Gallery
A config-driven responsive image gallery built with SvelteKit. Fork it, configure it, fill it with your work.
Quick Start
npm install
npm run dev
Open http://localhost:4401 for the gallery, http://localhost:4401/admin for the image editor.
Configuration
Edit src/lib/config/gallery.js to set your site name, categories, navigation, and more. See the file for all options.
Documentation
| Doc | What it covers |
|---|---|
| Forking & Setup | How to create your own gallery from this template |
| Deploy | Building, Docker, git-based deploy from admin |
| Upgrading | Pulling upstream updates, migration system |
Project Structure
src/
lib/config/
gallery.js # Your gallery configuration
website.js # Derived config (reads from gallery.js)
content/
media/ # Source images by category
{category}/ # Generated .js data modules
routes/
admin/ # Image editor & admin CMS
[dir]/index/ # Gallery pages
_detail/ # Single image view
scripts/
migrate.js # Migration runner
migrations/ # Numbered upgrade scripts
docs/ # Documentation