A minimal single-page web app for browsing and viewing your photos
- Clone repo:
git clone https://github.com/agorf/thyme
- Enter directory:
cd thyme
- Install Bower components:
bower install
(Bower needs to be installed) - Install thyme-backend binary:
go get https://github.com/agorf/thyme-backend/thyme
(Go needs to be installed) - Install system packages:
sudo apt-get install libvips-tools libsqlite3-dev
- Scan photos:
thyme scan /path/to/photos /another/path/to/photos
- Generate thumbs:
thyme thumbs /path/to/thyme
(orthyme thumbs .
if you're already inside the thyme directory) - Run app with
thyme run /path/to/thyme
(orthyme run
if you're already inside the thyme directory) and point your browser to http://localhost:9292/
Repeat the above steps each time you want to add new photos.
A map with OpenStreetMap tiles is shown below each geotagged photo. To use Mapbox (better-looking tiles):
- Signup for a free account
- Get the map id of your map you want to use
- Create an API access token
- Create
public/mapbox.js
with the following:
mapbox_map_id = "your_map_id_here"
mapbox_api_token = "your_api_token_here"
Licensed under the MIT license (see LICENSE.txt
).
Aggelos Orfanakos, http://agorf.gr/