Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHTML only out-of-box working example #487
Comments
This comment has been minimized.
This comment has been minimized.
|
Instant is open |
This comment has been minimized.
This comment has been minimized.
|
@blairanderson correct me if I am wrong, doesn't instant.io use Node? |
This comment has been minimized.
This comment has been minimized.
|
@Fastidious You're right, it does run on Node. BUT, if you look in the code, everything that is WebTorrent related is on the client side |
This comment has been minimized.
This comment has been minimized.
@raphaelparent that is the thing, I am not a programmer. Yet, I would love to have a full working example (which could be use on a daily bases, like |
This comment has been minimized.
This comment has been minimized.
|
Ok I get your point now, someone should convert the Jade view to html and make it work with the If you know HTML and work you way around the Jade file you should be able to recreate the HTML part and you can use the file Otherwise someone who knows is way around Jade and HTML should be able to do it pretty easily. |
This comment has been minimized.
This comment has been minimized.
|
There are working browser-only examples, browser-seed.js and browser-download.js. |
This comment has been minimized.
This comment has been minimized.
|
@elad could you put it all together in a simple HTML page (index.html plus JS)? Something that allows someone to make a file available (upload) and shareable (download), both in a single page? |
This comment has been minimized.
This comment has been minimized.
|
If https://file.pizza/ doesn't do what you want, you'll have to figure this one out yourself I'm afraid... |
This comment has been minimized.
This comment has been minimized.
|
@elad sigh... https://file.pizza/ uses Node. It is not the same. Thanks for trying though, appreciated. |
This comment has been minimized.
This comment has been minimized.
|
Have you checked out my client? https://github.com/DiegoRBaquero/BTorrent It's Jade, CoffeeScript and Sass (HTML, Javascript and CSS). Three simple files. The compiled version is https://btorrent.xyz, thought the files are minified and rendered (angular). If you'd liked HTML, JS and CSS (in case you really don't understand Jade/CoffeeScript/CSS) I can compile a non-minified versions. Cheers |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero that is most excellent, thanks! I have played with it, and already have three issues opened for you. :-) Closing this one here, as you provided what I asked for. |
This comment has been minimized.
This comment has been minimized.
|
Let's add some complete HTML examples to the examples/ folder, because I keep getting this request from people. "On github you provide JS examples, but I couldn't find any HTML examples, that is required." |
This comment has been minimized.
This comment has been minimized.
|
agreed. |
This comment has been minimized.
This comment has been minimized.
|
Here's a PR that adds the example: #538 |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Would it be possible to have an out-of-box working example, using only HTML (no Node), along the way of
instant.io, or similar (if it is not possible to have it exactly like it)?