Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GoGallery

GoGallery as the name suggests is a web gallery software with a golang backend. It is driven of a filebase backend. ie collections/albums are folders with photos. The inspiration for this gallery is to provide a some of the functionaities of my old gallery cms Koken which has had no updates in over a year+ and had gone silent. NOTE that this is not a replacement for Koken just the very limited features I was using.

The application uses react frontend and a seperate react dashboard that supports upload and managing photos in collections.

Demo at https://gallery.exceptionerror.io

Screenshots

Gallery

Screenshot1 Screenshot1

Dashboard:

Screenshot1 Screenshot1

Installation

Makefile to the rescue

build all

    make

build frontend

    make build-frontend

build dashboard

    make build-dashboard

build server

    make build-server

Usage

Edit the config and change the name basepath and base folder that is used for scanning images

Dashboard login

Gogallery on first run will autocreate a admin accound with username admin and a 8 character autogenerated password which you will find in the log. Once loged in you can go to settings and user to set it

Dashboard url %GALLERY_PATH/dashboard

If you forget the admin password for any reason you can use the gogallery --reset-admin which will recrate the admin username and password

Configuration

Config can be also edited via environmental variables

GLLRY_SERVER_PORT
GLLRY_SERVER_WORKERS

GLLRY_DATABASE_BASEURL

GLLRY_GALLERY_NAME
GLLRY_GALLERY_BASEPATH
GLLRY_GALLERY_URL
GALLRY_GALLERY_THEME
GALLRY_GALLERY_PICTUREBLACKLIST
GALLRY_GALLERY_ALBUMBLACKLIST

GLLRY_ABOUT_INSTAGRAM
GLLRY_ABOUT_TWITTER
GLLRY_ABOUT_EMAIL

GLLRY_ABOUT_WEBSITE
GLLRY_ABOUT_DESCRIPTION
GLLRY_ABOUT_PHOTOGRAPHER
GLLRY_ABOUT_BACKGROUNDPHOTO
GLLRY_ABOUT_PROFILEPHOTO

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT