photoprism/README.md

77 lines
3.1 KiB
Markdown
Raw Normal View History

2018-09-11 21:43:03 +00:00
PhotoPrism
==========
2018-08-23 12:44:21 +00:00
2018-09-08 08:13:49 +00:00
[![Powered By](https://img.shields.io/badge/powered%20by-Go,%20TensorFlow%20%26%20Vuetify-blue.svg)][powered by]
2018-09-07 10:06:09 +00:00
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)][license]
2018-02-27 18:46:50 +00:00
[![Code Quality](https://goreportcard.com/badge/github.com/photoprism/photoprism)][code quality]
[![GitHub issues](https://img.shields.io/github/issues/photoprism/photoprism.svg)][issues]
2018-09-07 10:06:09 +00:00
[![Build Status](https://travis-ci.org/photoprism/photoprism.png?branch=master)][ci]
2018-02-27 18:46:50 +00:00
2018-09-07 09:53:46 +00:00
[powered by]: https://www.tensorflow.org/install/install_go
2018-09-07 10:06:09 +00:00
[license]: https://github.com/photoprism/photoprism/blob/master/LICENSE
2018-02-28 14:56:32 +00:00
[code quality]: https://goreportcard.com/report/github.com/photoprism/photoprism
2018-02-27 18:46:50 +00:00
[issues]: https://github.com/photoprism/photoprism/issues
2018-09-07 10:06:09 +00:00
[ci]: https://travis-ci.org/photoprism/photoprism
2018-02-27 18:46:50 +00:00
2018-09-12 06:32:26 +00:00
PhotoPrism is a server-based application for automatically tagging, searching and organizing large amounts of JPEG and RAW files.
2018-09-11 21:53:23 +00:00
It is functionally similar to popular cloud services such as [Flickr](https://www.flickr.com/) or [Google Photos](https://photos.google.com/).
2018-09-07 10:33:46 +00:00
Originals are stored in the file system in a structured way for easy backup and reliable long-term accessibility.
2018-02-27 18:46:50 +00:00
2018-09-12 06:32:26 +00:00
*Note: This software is still alpha and under active development. You're welcome to ask if you have any questions or would like to support the project.*
2018-08-23 12:44:21 +00:00
Our goal is to provide the following features (tested as a proof-of-concept):
- High-performance command line tool
2018-09-11 22:14:17 +00:00
- [Web frontend](docs/img/screenshot.jpg)
2018-08-23 12:44:21 +00:00
- No proprietary or binary data formats
- Automatic RAW to JPEG conversion
- Duplicate detection (JPEG and RAW can be used simultaneously)
2018-09-08 08:13:49 +00:00
- Automated tagging using [Google TensorFlow](https://www.tensorflow.org/install/install_go)
- [Reverse geocoding](https://wiki.openstreetmap.org/wiki/Nominatim#Reverse_Geocoding) based on latitude and longitude
2018-08-23 12:44:21 +00:00
- Image search with powerful filters
- Easy backup and export
2018-09-08 08:09:27 +00:00
Web Frontend
------------
2018-09-08 08:13:49 +00:00
Open a terminal an type `photoprism start` to start the built-in server. It will listen on port 80 by default.
2018-09-08 08:09:27 +00:00
The UI is based on [Vuetify](https://vuetifyjs.com/en/), a [Material Design](https://material.io/) component framework for Vue.js 2.
2018-09-11 21:43:03 +00:00
![](docs/img/screenshot.jpg)
2018-03-26 04:32:48 +00:00
Setup
-----
Before you start, make sure you got Git and Docker installed on your system.
Instead of using Docker, you can also setup your own runtime environment
2018-09-07 11:02:41 +00:00
based on the existing Docker configuration (not recommended).
2018-02-27 18:46:50 +00:00
2018-03-26 04:32:48 +00:00
**Step 1:** Run [Git](https://getcomposer.org/) to clone this project:
2018-02-27 19:17:13 +00:00
2018-03-26 04:32:48 +00:00
```
git clone git@github.com:photoprism/photoprism.git
```
2018-02-28 09:04:24 +00:00
2018-03-26 04:32:48 +00:00
**Step 2:** Start [Docker](https://www.docker.com/) containers:
2018-02-27 19:17:13 +00:00
2018-03-26 04:32:48 +00:00
```
cd photoprism
docker-compose up
```
2018-02-27 19:17:13 +00:00
2018-03-26 04:32:48 +00:00
*Note: This docker-compose configuration is for testing and development purposes only.*
2018-02-27 19:51:19 +00:00
2018-09-07 11:03:55 +00:00
**Step 3:** Open a terminal to run tests and commands:
2018-02-27 19:17:13 +00:00
```
2018-03-26 04:38:02 +00:00
docker-compose exec photoprism bash
2018-09-05 21:16:01 +00:00
make
make test
make install
go run cmd/photoprism/photoprism.go start
2018-02-27 19:17:13 +00:00
```
2018-09-07 11:02:41 +00:00
See [Quick and easy guide for migrating to Go 1.11 modules](https://blog.liquidbytes.net/2018/09/quick-and-easy-guide-for-migrating-to-go-1-11-modules/) for an introduction to Go Modules and Makefiles.
2018-08-23 12:44:21 +00:00
Concept
-------
2018-03-26 04:32:48 +00:00
![](docs/img/concept.jpg)