0.5.0 • Published 11 years ago

dropshare v0.5.0

Weekly downloads
48
License
-
Repository
github
Last release
11 years ago

Dropshare

DropShare is a shameless ge.tt / min.us clone. droplr is also similar.

Clients

A few different clients are avaible.

Web

With the web-client you can drag-n-drop or use the normal upload/download.

[http://dropsha.re](http://dropsha.re)

Bash

Usage

dropshare /path/to/file.ext

# Example - share your public ssh key with someone
dropshare ~/.ssh/id_rsa.pub

Example Output

Your file, Sir! (or Ma'am):

http://dropsha.re/#foHsCQA

wget 'http://api.dropsha.re/files/foHsCQA/coolaj86@ubuntu-tablet.pub'

curl 'http://api.dropsha.re/files/foHsCQA' -o 'coolaj86@ubuntu-tablet.pub'

Installation

sudo wget 'https://raw.github.com/coolaj86/dropshare/master/clients/dropshare.sh' -O '/usr/local/bin/dropshare'
sudo chmod a+x '/usr/local/bin/dropshare'

Server

If you're interested in consulting or setup to run DropShare on your private network at your Home Office, or Business please contact coolaj86@gmail.com.

Quick Start for Running your own DropShare

  1. Install redis. See Appendix (below) for installing redis on OS X.
  2. Install Spark with npm install -g spark.
  3. Copy config.default.js to config.js, and customize any server settings you would like.
  4. Run cd public; ./deploy.sh to compile the static assets.
  5. Start the server with spark. By default it runs on port 3700.

Running Tests

Run the tests with:

cd tests
./test.sh

The tests depend on being in the same directory as the test script, due to paths to resources and such.

LICENSE

Dropshare is available under the following licenses:

  • MIT
  • Apache 2

Appendix

Installing Redis

brew install redis

mkdir -p ~/Library/LaunchAgents

launchctl unload -w ~/Library/LaunchAgents/io.redis.redis-server.plist 2>/dev/null || true
cp /usr/local/Cellar/redis/2.2.12/io.redis.redis-server.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist

To start redis manually:

redis-server /usr/local/etc/redis.conf

To access the server: redis-cli

Ubuntu Linux

sudo apt-get install redis
0.5.0

11 years ago

0.3.12

12 years ago

0.3.11

12 years ago

0.3.10

12 years ago

0.4.0

12 years ago

0.3.9

12 years ago

0.3.8

12 years ago

0.3.7

12 years ago

0.3.5

12 years ago

0.3.4

12 years ago

0.3.3

12 years ago

0.3.2

12 years ago

0.3.1

12 years ago

0.2.2

12 years ago

0.2.1

12 years ago

0.1.0

12 years ago