-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jared Deckard
committed
Oct 27, 2016
1 parent
18e0825
commit 3c3df6e
Showing
11 changed files
with
259 additions
and
383 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,28 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2 | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"single", | ||
{ | ||
"avoidEscape": true | ||
} | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
node_modules | ||
cachep2p.js | ||
cachep2p.min.js | ||
dist/*.js |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016, Jared Deckard <[email protected]> | ||
|
||
Copyright (c) WebTorrent, LLC | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
|
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 |
---|---|---|
@@ -1,29 +1,10 @@ | ||
# CacheP2P | ||
# Belafonte | ||
|
||
**CacheP2P** is a highly distributed [cache][wikipedia/cache] platform based on | ||
[WebTorrent](https://webtorrent.io/) and runs only in the **browser**. | ||
**Belafonte** is a content distribution network (CDN) that geographically | ||
distributes assets over the BitTorrent protocol using | ||
[WebTorrent](https://webtorrent.io/). | ||
|
||
[wikipedia/cache]: https://en.wikipedia.org/wiki/Cache_(computing) | ||
This javascript library can be added to a website to turn every visitor with a | ||
modern browser into a mirror of the site's content. | ||
|
||
It is a javascript library that once included in a website, makes every new user | ||
a mirror of the specific URL he has opened and allows it to serve it to all the | ||
other users that also are accessing the same website, so the website's server | ||
doesn't have to. | ||
|
||
This way users can share the content between themselves, reducing the number of | ||
requests for static content to the server. | ||
|
||
If the website crashes or has problems (the script can be included in the | ||
server's error page), all the content that users were accessing in that moment | ||
can be retrieved from one another and as long as there are users accessing it | ||
no problem will be seen. | ||
|
||
For more information, please read the [documentation][documentation] or | ||
[how it works][api] page. | ||
|
||
[documentation]: http://www.cachep2p.com/documentation.html | ||
[api]: http://www.cachep2p.com/api.html | ||
|
||
### License | ||
|
||
MIT. Copyright (c) [CacheP2P](https://www.CacheP2P.com) | ||
Welcome aboard. |
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.