A clean, lightweight, self-hosted photo gallery designed for tech-savvy photographers and photography enthusiasts, built with Flask.
- Clone the repo
git clone https://github.com/S4kur4/secondgallery.git- Create username and password for managing photos
/bin/bash account_init.sh- Modify
.envto add your personal configuration
# (Optional) Your social media links
FACEBOOK_URL=https://facebook.com
INSTAGRAM_URL=http://instagram.com
X_URL=http://x.com
WEIBO_URL=
LINKEDIN_URL=
TELEGRAM_URL=
DISCORD_URL=
BEHANCE_URL=https://www.behance.net
YOUTUBE_URL=https://youtube.com
PINTEREST_URL=
GITHUB_URL=
# (Optional) Google Analytics ID or Umami ID
GOOGLE_ANALYTICS_ID=
UMAMI_WEBSITE_ID=
# (Optional) Cloudflare Turnstile key to protect login form
TURNSTILE_SITE_KEY=
TURNSTILE_SECRET_KEY=
# Website title and your personal information
# An string list is used in ABOUT_ME to control paragraphs, one value represents one paragraph
TITTLE='Vivian Kent Photography'
ABOUT_ME='[
"👋 Hey! Thanks for viewing my photographries!",
"My name is Vivian Kent and I am a photographer living in Sydney, Australia. I specialize in humanistic photography and film style.",
"Feel free to contact me by clicking on the link at the bottom of the page."
]'
# You can set the username and password directly here
# Note that the ADMIN_PASSWORD must be your password-hashed SHA256 value
ADMIN_USERNAME=admin
ADMIN_PASSWORD=
- Launch with
docker-compose
docker-compose up -d- Use Nginx, Caddy and anyother popular web servers to point to
127.0.0.1:5001
Visit /manage to login and manage photos, and you can remove or bulk upload your photos.
output.mp4
I create this project because I'm passionate about photography. If you'd like to support my work and help me dedicate more time to it, please consider supporting on Ko-fi. Thank you for your generosity!
