Giter VIP home page Giter VIP logo

lomod's Introduction

Lomod

Lomod is a back-end service for personal video/photo backup, sharing and management. Check out https://lomorage.com/ for more detail about the product.

Note: This repository only holds binary releases for Linux with below architectures:

  • armhf: for raspberry pi arm32 user
  • arm64: for raspberry pi arm64 user
  • amd64: non-pi user

If you want to install on other OS, please refer https://lomorage.com/installation/

Command Usage

GLOBAL OPTIONS:
   --backup-dir value          backup directory
   --backup-time value         daily local backup time. Format is like hh:mm:ss. Timezone is local running machine timezone (default: "02:00:00")
   --base value, -b value      base directory to store db file (default: "/home/qiwa/go/src/bitbucket.org/lomoware/lomo-backend")
   --check-interval value      interval to run consistent check. Unit in day (default: 7)
   --log-dir value             logfile directory
   --mdns-domain value         mdns search domain name (default: "local.")
   --mdns-name value           mdns service name (default: "qiwa-Aspire-ME600")
   --mdns-service value        mdns service type (default: "_lomod._tcp")
   --mount-dir value           mount directory to find out mounted usb disk (default: "/media")
   --no-mdns                   disable mdns for service discovery
   --no-mount                  this mode is mainly used at desktop version. Mount directory is what user defined when it starts lomod server, and no mount disk in this case
   --port value, -p value      (default: 8000)
   --preview-size value        list of image preview size. Multiple resolution is supported, and each is separated with ';'. Format is like <width1>x<height1>;<width2>x<height2>;... (default: "75x0;320x0")
   --preview-size-video value  list of video preview size. 0 means disable video preview generation. Multiple resolution is supported, and each is separated with ';'. Format is like <width1>x<height1>;<width2>x<height2>;... (default: "480x0")
   --help, -h                  show help
   --version, -v               print the version

mount-dir

Mount-dir argument is to specify the path for storing the photo / video assets. By default it is /media at raspberry pi, all external USB disks should also be mounted under this directory, so that lomod can read the list of USB disks and return to mobile client. User can also select the desired disks when user is created. The user's home path is mount-dir + <usb disk UUID> + <user name>.

If user doesn't use external USB disk, he needs add --no-mount option, thus, lomod will use mount-dir + <user name> as user's home path.

preview-size-video

Video preview generation takes more system resources. If server has less compute resource, user can specify preview-size-video=0 to disable video preview generation

lomod's People

Contributors

dwebfan avatar fuji246 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.