Skip to content

📷 A clean, lightweight, self-hosted photo gallery designed for tech-savvy photographers and photography enthusiasts, built with Flask.

License

Notifications You must be signed in to change notification settings

S4kur4/secondgallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📷 Secondgallery

A clean, lightweight, self-hosted photo gallery designed for tech-savvy photographers and photography enthusiasts, built with Flask.

HTML5 CSS3 JavaScript Flask

Mockup

Getting Started

Installation

  1. Clone the repo
 git clone https://github.com/S4kur4/secondgallery.git
  1. Create username and password for managing photos
 /bin/bash account_init.sh
  1. Modify .env to 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=
  1. Launch with docker-compose
docker-compose up -d
  1. Use Nginx, Caddy and anyother popular web servers to point to 127.0.0.1:5001

Photo Management

Visit /manage to login and manage photos, and you can remove or bulk upload your photos.

output.mp4

Support Me on Ko-fi

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!

Buy Me a Coffee at ko-fi.com

About

📷 A clean, lightweight, self-hosted photo gallery designed for tech-savvy photographers and photography enthusiasts, built with Flask.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project