Project

tojour

0.0
No commit activity in last 3 years
No release in over 3 years
Like AirDrop for the command line.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8
~> 10.0

Runtime

~> 0.7.7
~> 3.0.1
 Project Readme

Tojour

Like AirDrop for the command line.

Make your computer available over Bonjour for someone to send you a file. Uses SSL sockets.

Installation

Install it yourself as:

$ gem install tojour

Usage

Let Someone Send you a File

On your machine, run the following to wait for a file. Assuming your username is jbiebz.

tojour -r jbiebz

Have your friend run the following to send you a file. Assuming the file you want to send is located at some_file.txt.

tojour -s some_file.txt jbiebz

Let Someone Pipe you a Log

Your friend wants to pipe you some data. On your machine, make your machine available over Bonjour.

tojour -i jbiebz

On their machine, run a command, and pipe the output to tojour.

ruby -e 'loop { puts 'Wow!'; sleep 1 }' | tojour -o jbiebz

Get Help

List arguments you can pass to tojour.

tojour

List People Waiting for Files

List all the people on your network waiting for files or logs.

tojour -l

Development

After checking out the repo, run bundle to install dependencies. Then, run bin/tojour.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release to create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/tojour/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request