Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
read-tree on the wrong branch....
- Loading branch information
Showing
145 changed files
with
54,108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
pom.xml | ||
*jar | ||
/lib/ | ||
/classes/ | ||
.lein-deps-sum | ||
.lein-git-deps | ||
.lein-env | ||
resources/public/cljs/*/ | ||
*log | ||
.repl | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Ampere | ||
|
||
A bittorrent client that runs in the browser without plugins. **Currently only works in chrome** | ||
|
||
DEMO: http://hcliff.github.com/ampere | ||
|
||
## Tech | ||
|
||
Built using clojurescript (that subsequently compiles down to javascript) and utilizing the latest in HTML5 tech | ||
* WebRTC | ||
* HTML5 Filesystem | ||
* Websockets | ||
* Typed Arrays | ||
|
||
## Usage | ||
|
||
```bash | ||
lein deps | ||
lein git-deps | ||
lein run | ||
``` | ||
|
||
# Also see | ||
|
||
* [the actual client](http://hcliff.github.com/ampere) - View the client in your browser | ||
* [webrtc-tracker](https://github.com/hcliff/webrtc-tracker-nodejs) - A seperate project to build a bittorrent tracker for webrtc based bittorrent clients | ||
|
||
# Issues | ||
|
||
* Advanced compile doesn't work; thus simple must be (adds 200k to page weight) | ||
* https is not used | ||
|
||
## License | ||
|
||
Copyright (c) 2013, Henry Clifford | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
* Neither the name of the <organization> nor the | ||
names of its contributors may be used to endorse or promote products | ||
derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY | ||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
(defproject torrent-client "0.1.0-SNAPSHOT" | ||
:description "A webrtc bittorrent client written in clojurescript" | ||
:url "http://github.com/hcliff/ampere" | ||
:dependencies [[org.clojure/clojure "1.4.0"] | ||
; [noir-cljs "0.3.0"] | ||
[jayq "0.1.0-alpha4"] | ||
[fetch "0.1.0-alpha2"] | ||
[crate "0.2.0"] | ||
[noir "1.3.0-beta2"] | ||
[waltz "0.1.0-alpha1"] | ||
[com.taoensso/timbre "0.8.0"] | ||
[org.clojure/clojurescript "0.0-1236"] | ||
[watchtower "0.1.1"] | ||
[colorize "0.1.1"] | ||
[org.clojure/google-closure-library "0.0-2029"] | ||
[environ "0.3.0"]] | ||
:hooks [environ.leiningen.hooks] | ||
:plugins [[lein-git-deps "0.0.1-SNAPSHOT"] | ||
[lein-localrepo "0.4.0"] | ||
[environ/environ.lein "0.3.0"] | ||
[lein-exec "0.2.1"]] | ||
:git-dependencies [["git://github.com/pandeiro/noir-cljs.git"]] | ||
:source-paths ["src" ".lein-git-deps/noir-cljs/src"] | ||
:repositories {"goog" "http://repository.apache.org/content/repositories/releases/"} | ||
:main ^{:skip-aot true} torrent-client.server) |
Binary file not shown.
Oops, something went wrong.