1click file-sharing for anyone
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
.gitignore
README.md
dns_server.js
files.js
package.json
server.js
template.js

README.md

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.