Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjiho/zozio
Website in Golang to browse photo
https://github.com/tjiho/zozio
galery gallery golang website
Last synced: 24 days ago
JSON representation
Website in Golang to browse photo
- Host: GitHub
- URL: https://github.com/tjiho/zozio
- Owner: tjiho
- License: gpl-3.0
- Created: 2017-11-19T16:49:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T16:56:03.000Z (over 4 years ago)
- Last Synced: 2023-02-28T04:24:19.736Z (almost 2 years ago)
- Topics: galery, gallery, golang, website
- Language: Go
- Homepage:
- Size: 64.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Zozio
=====Website in golang to browse photos
Install with Docker
===================
```bash
docker-compose up
```Install without Docker
======================
you need to install exif-dev with your package manager```bash
go get github.com/xiam/exif github.com/nfnt/resize github.com/gorilla/sessions github.com/gorilla/mux github.com/disintegration/imaginggo build src/zozios.go src/image.go src/login.go src/page_detailGalerie.go src/page_galerie.go src/page_index.go src/randomImage.go src/night.go
./zozios #linux
./zozios.exe #windows
```open http://localhost:8764/
Use
===* To create a galery, you need to create a folder in `static/galerie/`
* If you want to set the galery private you have to create a file "private.txt" in the galery folder
* Url to the galery is `/galerie/.html `
* you can get a random image on `/random/.html `Previews
========![capture](static/readme/photos.png)
![capture](static/readme/albums.png)
![capture](static/readme/big_photo.png)