Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including photobackup with all npm packages installed. Try it out:

var photobackup = require("photobackup")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

photobackup v0.1.0

PhotoBackup server implementation for Node.js

The NodeJS PhotoBackup server implementation

The NodeJS implementation of PhotoBackup server. It follows the official API.

Installation

Install through npm:

npm install photobackup

Then run the installer, which asks for the directory to save your pictures to and the server password:

photobackup init

This step creates a ~/.photobackup file which contains:

  • MediaRoot, the directory where the pictures are written in ;
  • Password, the SHA-512 hashed password ;
  • Port, the port (default is 8420).

Usage

Launch the server with:

photobackup run

By default, it runs on host 0.0.0.0, port 8420.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free