Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (14 sloc) 576 Bytes

Simple 1-click filesharing web app. The interface consists of an upload form on top and recent downloads below.

Installation

cd workdir
npm install git://github.com/c3d2/sharingiscaring.git

Running on a privileged port

On Linux from Debian package libcap2-bin::

setcap 'cap_net_bind_service=+ep' /usr/bin/node

Usage

export PORT=80
./node_modules/.bin/sharingiscaring

Needs write access to file files.json and directory files.

It tries to keep its disk usage below 2 GB within 23 files. You can adjust these limits in files.js.