Code Monkey home page Code Monkey logo

sparrow's Introduction

sparrow is a fast, lightweight DC client. It has a modern web UI for when you want to look at it, and otherwise runs in the background so you can forget it.

Installation

Prerequisites

  • go ^1.6
  • gulp ^3.9.x
  • node ^4.x

Build

# In the appropriate directory, e.g. "$GOPATH/src/github.com/amrav/sparrow"
git clone https://github.com/amrav/sparrow
cd ui
npm install
# The next step may seem to hang. However, once it says "Finished bundling", it is safe to Ctrl-C.
gulp build
cd ..
go build

Run

Once go build completes successfully, you should find a sparrow executable in that directory.

./sparrow

This will start the client, which will try to connect to the HHFH hub at IIT KGP. Logs are written to stdout. To connect to the web client, go to localhost:12345 in a web browser.

Caveats

This program is pre-alpha quality software. I wouldn't be surprised if it worked for you, but don't install it unless you're a masochist, or a programmer.

If you're going to try, then know that restarting the binary fixes most issues.

If you're still around after that, pull requests are welcome.

License

GPLv3

sparrow's People

Contributors

amrav avatar sam17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sparrow's Issues

Crash on No Slots Found

2016/04/30 00:47:32 client -> 10.109.49.27:65142: $MyNick ByJkBeXg|
2016/04/30 00:47:32 10.109.49.27:65142 -> client: $MyNick Desert_Haze|
2016/04/30 00:47:32 client -> Desert_Haze: $Lock EXTENDEDPROTOCOL/wut? Pk=gdc,Ref=10.109.49.49:411|
2016/04/30 00:47:32 Desert_Haze -> client: $Lock EXTENDEDPROTOCOLABCABCABCABCABCABC Pk=DCPLUSPLUS0.851Ref=10.109.49.49|
2016/04/30 00:47:32 client -> Desert_Haze: $Supports MiniSlots XmlBZList ADCGet TTHL TTHF|
2016/04/30 00:47:32 client -> Desert_Haze: $Direction Download 29000|
2016/04/30 00:47:32 client -> Desert_Haze: $Key ����A ѱ���0�0 0 0 0 0 0|
2016/04/30 00:47:32 Desert_Haze -> client: $Supports MiniSlots XmlBZList ADCGet TTHL TTHF ZLIG |
2016/04/30 00:47:32 Desert_Haze -> client: $Direction Upload 31448|
2016/04/30 00:47:32 Desert_Haze -> client: $Key �����A ѱ���06� �|
2016/04/30 00:47:32 client -> Desert_Haze: $ADCGET file TTH/BL7NLZN4HFR473KRQZT2MFLZXDXAGKXVY7DG45I 0 235681046|
2016/04/30 00:47:32 Desert_Haze -> client: $MaxedOut|
2016/04/30 00:47:32 Error reading from TCP connection: 10.109.49.27:65142 : EOF

Go Build Error

cannot find package "github.com/pkg/profile" in any of
/Users/dementor/Self/go/src/github.com/amrav/sparrow/vendor/github.com/pkg/profile (vendor tree)
/usr/local/Cellar/go/1.6.2/libexec/src/github.com/pkg/profile (from $GOROOT)
/Users/dementor/Self/go/src/github.com/pkg/profile (from $GOPATH)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.