Skip to content

An easy file/message transfer tool using http file server.

License

Notifications You must be signed in to change notification settings

dolanor-galaxy/hoi

Repository files navigation

hoi

An easy file transfer tool using http file server.

Installation

Developer

$ go get github.com/monochromegane/hoi

User

Download from the following url.

Usage

You can build download url.

$ hoi hoge.txt
http://192.168.0.100:8081/tx1lrmkkqenh5fy0izbassidb9t9l1na/hoge.txt

hoi links the file to ~/.hoi/temp_public/random, and it's document root directory for hoi server.

Configuration

hoi allows to change port number for hoi server

~/.hoi/conf.json

{
  "port": 8082
}

Clear public directory

$ hoi --clear

Tasks

  • Add hoi server commands. (start|stop|status)
  • Add scheduler that clear public directory every some minutes.

Code status

wercker status

Build Status

Contributing

  1. Fork it
  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 new Pull Request

About

An easy file/message transfer tool using http file server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.4%
  • Makefile 3.6%