No description
.forgejo | ||
.vscode | ||
public | ||
src | ||
.gitignore | ||
astro.config.ts | ||
bun.lock | ||
components.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Image Gallery
A simple image gallery
Tech
- Framework: Astro
- Styling: shadcn/ui with Tailwind CSS
- Icons: Lucide Icons
Screenshots
Expanded View | Mobile View |
---|---|
![]() |
![]() |
Features
- Thumbnail optimization with Astro's component
- Mobile support
- Automatically loads all images from
src/images/
directory - SUpports JPG, JPEG, PNG, GIF and WebP
Selection
- Click on images to select/deselect them
- Use "Select All" to toggle all images
- Shift+click to select multiple images in a range
Downloads
- Download single image
- Download multiple selected images
- Download entire gallery
Usage
-
Clone the repo
git clone https://git.z0x.ca/z0xca/img_gallery cd img_gallery
-
Install dependencies
bun install
-
Add your images
- Place your images in the
src/images/
directory - Supported formats: JPG, JPEG, PNG, GIF, WebP
- Place your images in the
-
Start the development server
bun run dev
-
Open your browser Navigate to
http://localhost:4321
to view the gallery -
Build the project
bun run build
The built website will be in src/dist
License
Feel free to use this repository as you wish Crediting the author is appreciated
Acknowledgments
- Example images sourced from Lorem Picsum