Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 736 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 736 Bytes

MetaHive

We promise you a pony.

Requisites:

apt install python-flask
pip install htsql
pip install HTSQL-MYSQL

API:

for now, spawn via CLI and setup a reverse proxy for the api... URL. python /usr/src/metahive/api/hive-api.py

example1: http://api.metahive/GetFilesByMetadataViaHTSQL/metadata%7Btagname,%20tagvalue%7D.sort(tagname)%3Ffile_id=707

http://api.metahive/CreateCollectionTable/?m=exifscanner|EXIF:ExifImageWidth&m=exifscanner|EXIF:ExifImageHeight&m=exifscanner|EXIF:CreateDate&m=exifscanner|EXIF:ApertureValue

Config: /etc/metahive/metahive.conf

[database]
db_username = username
db_password = password
db_name = name_of_database

[repository]
directory = /path/to/the/hashed_repository/