Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Latest commit

 

History

History
60 lines (43 loc) · 1.9 KB

README.md

File metadata and controls

60 lines (43 loc) · 1.9 KB

thyme

A minimal single-page web app for browsing and viewing your photos

thyme

Installation

  1. Clone repo: git clone https://github.com/agorf/thyme
  2. Enter directory: cd thyme
  3. Install Bower components: bower install (Bower needs to be installed)
  4. Install thyme-backend binary: go get https://github.com/agorf/thyme-backend/thyme (Go needs to be installed)
  5. Install system packages: sudo apt-get install libvips-tools libsqlite3-dev

Use

  1. Scan photos: thyme scan /path/to/photos /another/path/to/photos
  2. Generate thumbs: thyme thumbs /path/to/thyme (or thyme thumbs . if you're already inside the thyme directory)
  3. Run app with thyme run /path/to/thyme (or thyme 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.

Map support

A map with OpenStreetMap tiles is shown below each geotagged photo. To use Mapbox (better-looking tiles):

  1. Signup for a free account
  2. Get the map id of your map you want to use
  3. Create an API access token
  4. Create public/mapbox.js with the following:
mapbox_map_id = "your_map_id_here"
mapbox_api_token = "your_api_token_here"

License

Licensed under the MIT license (see LICENSE.txt).

Author

Aggelos Orfanakos, http://agorf.gr/