Name: togepi
Owner: gophergala2016
Description: A file sharing service
Created: 2016-01-22 19:24:44.0
Updated: 2017-09-17 23:23:01.0
Pushed: 2016-01-24 23:32:47.0
Size: 919
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Togepi is a user-friendly tool for sharing files over the network. Sender's/receiver's location doesn't matter for Togepi, neither it cares about your firewall settings, it just works and makes file sharing as easy as never before.
A plot: Bill wants to share the “awesome-go-project.zip” file with Alice
Bill's computer:
gepi awesome-go-project.zip
71d998411e2b3a29e2c7ada4366367a5bc7f
Alice's computer:
gepi 8cf371d998411e2b3a29e2c7ada4366367a5bc7f
awesome-go-project.zip saved
Wuala!
Take a look at how the application shares files between 3 machines.
In order to share files, the daemon must be started first:
gepi -start &
By default it will connect to the server running in my cloud, so no need to set up anything.
To share a file simply provide it's path (can be relative or full) as a single argument
gepi path/to/file
9cf77403719f4e06351355c1781a1ebe57
It can't be easier than to provide the “Share Hash”
gepi e9ad9cf77403719f4e06351355c1781a1ebe57
file saved
Executing Togepi with the -a flag will output a list of shared hashes along with the corresponding file paths.
gepi -a
2dfea9819fb5a1a937bc34d2934189cf4355249d0186 /run/media/alex.ant/HDD/Music/01-chickenfoot-avenida_revolution.mp3
3d7d62f1e564b080366aa1bc1e4c6ca5b01c838adcf3 /home/alex.ant/demo/02.Its Electric.mp3
eed69da96fdbe9dc28261c09116a19b1c4868a9aa24c /home/alex.ant/LICENSE
In case you no longer want a file to be shared with the world, you can remove it from the shared list with the -rm command.
gepi -rm e9ad9cf77403719f4e06351355c1781a1ebe57
If you want to run your own server, kick it off the following way:
gepi -server
And then connect to it the daemon
gepi -start -http-host 127.0.0.1:8011 -tcp-host 127.0.0.1:8012 -redis-host 127.0.0.1:6379
The only required service for the server is Redis DB.
5c4ab095a32ff352d301e08ae966b287fcbfe8cf371d998411e2b3a29e2c7ada4366367a5bc7fd1b3ea856c7af14a838
If you wanna know what's in there, don't be shy and try Togepi right now! :)