| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,8 +17,8 @@ | |||
| 17 | 17 | <header> | |
| 18 | 18 | <h1>BinaryJS</h1> | |
| 19 | 19 | <p>Realtime binary streaming for the web using websockets</p> | |
| 20 | - <p class="view"><a href="https://github.com/binaryjs/binaryjs">Get Started</a></p> | ||
| 21 | - <p class="view"><a href="https://github.com/binaryjs/binaryjs/doc">Documentation</a></p> | ||
| 20 | + <p class="view"><a href="https://github.com/binaryjs/binaryjs/blog/master/doc/start.md">Get Started</a></p> | ||
| 21 | + <p class="view"><a href="https://github.com/binaryjs/binaryjs/tree/master/doc">Documentation</a></p> | ||
| 22 | 22 | <p class="view"><a href="https://github.com/binaryjs/binaryjs/tree/master/examples">Examples / Demos</a></p> | |
| 23 | 23 | <p class="view"><a href="http://groups.google.com/group/binaryjs-group">Mailing List</a> / <a href="https://twitter.com/binaryjs">Twitter</a> / <a href="https://github.com/binaryjs/binaryjs">GitHub</a></p> | |
| 24 | 24 | <p><a href="https://secure.travis-ci.org/binaryjs/binaryjs"><img src="https://secure.travis-ci.org/binaryjs/binaryjs.png"></a></p> | |
@@ -58,14 +58,17 @@ <h3>Show me the API</h3> | |||
| 58 | 58 | stream.end(); | |
| 59 | 59 | }); | |
| 60 | 60 | </code></pre> | |
| 61 | + <p> | ||
| 62 | + <a href="https://github.com/binaryjs/binaryjs/blob/master/doc/start.md">View the "Getting Started" guide</a> | ||
| 63 | + </p> | ||
| 61 | 64 | <p> | |
| 62 | 65 | <a href="https://github.com/binaryjs/binaryjs/blob/master/doc/api.md">View the API reference</a> | |
| 63 | 66 | </p> | |
| 64 | 67 | <p> | |
| 65 | 68 | <a href="https://github.com/binaryjs/binaryjs/tree/master/examples/helloworld">View the "Hello world" example</a> | |
| 66 | 69 | </p> | |
| 67 | 70 | <p> | |
| 68 | - <a href="/examples.html">See more examples</a> | ||
| 71 | + <a href="https://github.com/binaryjs/binaryjs/tree/master/examples">See more examples</a> | ||
| 69 | 72 | </p> | |
| 70 | 73 | ||
| 71 | 74 | <h3>What can you do with this?</h3> | |
@@ -85,49 +88,24 @@ <h3>Additional details</h3> | |||
| 85 | 88 | <p>Both the server and the client can write or accept any arbitrary JSON type or structure – Objects, arrays, null, booleans, strings – and also binary data. Because BinaryPack is a binary protocol, the wire format has negligible serialization/deserialization overhead for large chunks of binary data. This also means binary data types such as Buffer in Node.js and Blob or ArrayBuffer in the client can be serialized and deserialized.</p> | |
| 86 | 89 | <p>On the client, feature detection is employed to choose between using BlobBuilder, the Blob constructor, and ArrayBufferViews or ArrayBuffers themselves for assembling Blobs for transport.</p> | |
| 87 | 90 | <p>When using `stream.write` data chunking is up to the caller. When a stream is piped, it is up to the source stream to chunk data. When sending a larger binary type using `client.send` a new stream is created and the buffer will piped into the stream in chunks automatically.</p> | |
| 91 | + <p>For piped streams, BinaryJS correctly provides boolean return values from `stream.write` calls so that if the socket buffer is full, the incoming stream is paused. This poewrful cascade of stream throttling allows large streams to be transferred without execessive memory use.</p> | ||
| 88 | 92 | <h3>Future plans</h3> | |
| 89 | 93 | <p>The items below are in no particular order. If you would like to contribute go ahead and issue a pull request or email me at <a href="mailto:really.ez+1010@gmail.com">really.ez+1010@gmail.com</a></p> | |
| 90 | 94 | <ul> | |
| 95 | + <li>Improved <a href="https://github.com/binaryjs/js-binarypack">BinaryPack</a> serialization performance, including a native C++ module for <a href="https://github.com/binaryjs/node-binarypack">node-binarypack</a></li> | ||
| 91 | 96 | <li>Fallbacks (either with Flash or XHR2) for non-binary-websocket browsers</li> | |
| 92 | 97 | <li>iOS and Android clients</li> | |
| 93 | 98 | <li>Ruby, Python, Java servers</li> | |
| 94 | 99 | </ul> | |
| 95 | - | ||
| 96 | - <!-- | ||
| 97 | - <h3>Welcome to GitHub Pages.</h3> | ||
| 98 | - | ||
| 99 | - <p>This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:</p> | ||
| 100 | - | ||
| 101 | - <pre><code>$ cd your_repo_root/repo_name | ||
| 102 | - $ git fetch origin | ||
| 103 | - $ git checkout gh-pages | ||
| 104 | - </code></pre> | ||
| 105 | - | ||
| 106 | - <p>If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.</p> | ||
| 107 | - | ||
| 108 | - <h3>Designer Templates</h3> | ||
| 109 | - | ||
| 110 | - <p>We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.</p> | ||
| 111 | - | ||
| 112 | - <h3>Rather Drive Stick?</h3> | ||
| 113 | - | ||
| 114 | - <p>If you prefer to not use the automatic generator, push a branch named <code>gh-pages</code> to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.</p> | ||
| 115 | - | ||
| 116 | - <h3>Authors and Contributors</h3> | ||
| 117 | - | ||
| 118 | - <p>You can <a href="https://github.com/blog/821" class="user-mention">@mention</a> a GitHub username to generate a link to their profile. The resulting <code><a></code> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (<a href="https://github.com/defunkt" class="user-mention">@defunkt</a>), PJ Hyett (<a href="https://github.com/pjhyett" class="user-mention">@pjhyett</a>), and Tom Preston-Werner (<a href="https://github.com/mojombo" class="user-mention">@mojombo</a>) founded GitHub.</p> | ||
| 119 | - | ||
| 120 | - <h3>Support or Contact</h3> | ||
| 121 | - | ||
| 122 | - <p>Having trouble with Pages? Check out the documentation at <a href="http://help.github.com/pages">http://help.github.com/pages</a> or contact <a href="mailto:support@github.com">support@github.com</a> and we’ll help you sort it out.</p> | ||
| 123 | - --> | ||
| 100 | + <h3>Support and questions</h3> | ||
| 101 | + <p>If you need help with BinaryJS please add questions to the <a href="http://groups.google.com/group/binaryjs-group">mailing list</a>. Otherwise you can email me at <a href="mailto:really.ez+1010@gmail.com">really.ez+1010@gmail.com</a></p> | ||
| 124 | 102 | ||
| 125 | 103 | </section> | |
| 126 | 104 | <footer> | |
| 127 | 105 | <p><iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=binaryjs&repo=binaryjs&type=watch" | |
| 128 | 106 | allowtransparency="true" frameborder="0" scrolling="0" width="62px" height="20px"></iframe> <iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=binaryjs&repo=binaryjs&type=fork" | |
| 129 | 107 | allowtransparency="true" frameborder="0" scrolling="0" width="62px" height="20px"></iframe><a href="https://twitter.com/binaryjs" class="twitter-follow-button" data-show-count="false">Follow @binaryjs</a> | |
| 130 | - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script><br><small><a href="http://ericzhang.com">I am unemployed</a> ‐ Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p> | ||
| 108 | + <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script><br><small><a href="http://ericzhang.com">Built by Eric Zhang</a> ‐ Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p> | ||
| 131 | 109 | </footer> | |
| 132 | 110 | </div> | |
| 133 | 111 | <a href="https://github.com/binaryjs/binaryjs"><img style="position: fixed; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments