Skip to content

FUNANI is an open source project aiming at solving the management of large image and other media collections in a practical way.

License

Notifications You must be signed in to change notification settings

Color-Of-Code/Funani

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Funani

FUNANI is an open source project aiming at solving the management of large image and other media collections in a practical way.

Documentation

https://color-of-code.de/funani/architecture

Modules

  • docker/cas: the low-level storage interface (usable)
  • docker/db: postgresql database for storage (generic, setup DB only)
  • docker/graphql: graphql server, postgraphile (generic setup with modules pre-installed)
  • docker/web: web server: started. TODO make it functional.
    • docker/web/schema: contains the migrations to setup the DB correctly.
    • docker/web/src: typescript react app.

Runtime

The core library has no service dependencies, the data and metadata is stored in files.

Build the CAS container:

cd docker/cas
docker build . -t cas

Running the container:

  • the first volume mount is for the file storage itself (is read/write)
  • the home is mount onto /mnt in order to be able to import files (mounted files are read only)
docker run --rm -it -v /home/data/storage:/data -v /home:/mnt:ro cas:latest --help

Examples of use (seen from within the container, TODO: wrap in a script to operate from outside):

  1. Importing using find (allows to use find options to filter the files based on conditions):
find /home/data/family/common/Pictures/ -type f -exec
  ./funani.py --loglevel info import "{}" \;
  1. Importing using internal recursion feature:
  ./funani.py --loglevel info import --recursive
      /home/data/family/common/Pictures/
  1. Importing a single file:
  ./funani.py --loglevel info import
      /home/data/family/common/Pictures/picture1.jpg

TODO: fix this documentation

Command to import pictures mounted onto /mnt

docker run --rm -it -v /home/data/storage:/data -v /home:/mnt:ro cas:latest import --recursive /mnt/jdehaan/Pictures

About

FUNANI is an open source project aiming at solving the management of large image and other media collections in a practical way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published