Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/imaging

go 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)