5 ms·
If you download and open up the html file, it contains, what is essentially, a screenshot with explanations. (A very simple screenshot, but one you can extrapol
by timcwinkler 5y ago
If you download and open up the html file, it contains, what is essentially, a screenshot with explanations. (A very simple screenshot, but one you can extrapolate from.)
- benjaminsuch 5y agoBut that requires us downloading and opening it. A lot of effort if one just wants to take a quick look. A screenshot or demo would be better.
- timcwinkler 5y agoOK. I am afraid that I am not very knowledgeable about github, or YCombinator comments, but I'll give it a shot. Here is a screen shot: Simple screenshot: https://github.com/timcwinkler/javascript-notebook/blob/main/phi.png https://github.com/timcwinkler/javascript-notebook/blob/main... What you see if you load js+help.html: https://github.com/timcwinkler/javascript-notebook/blob/main/js%2Bhelp-screenshot.png https://github.com/timcwinkler/javascript-notebook/blob/main... (Will the links work as I hoped? ... I am not disappointed.)
- benjaminsuch 5y agoDon't get me wrong, I know that my comment sounds a little bit weird in the context of your project. I know that I could just rightclick the file, download and open it in the browser. It's just more of a hint to you that, whenever you want to show something to the public, every extra action the user has to make, could lose you that user. Keep in mind that "we" want to figure out in seconds if we want to spend more time looking at what you have created or not.
- timcwinkler 5y agoWhat I would wish that I could do is just make it so that there was a link to the HTML file in the Readme. Click it and there you go. My impression is that this is discouraged. (Am I wrong about that?)
- benjaminsuch 5y agoYou can do that with Github Pages, but I'm not too knowledgable. But I copied your code in an codesandbox: https://ijlkq.csb.app/ https://ijlkq.csb.app/ Fork it if you want, I will delete it then (or on your request)
- timcwinkler 5y agoYou can leave it if you wish. I'll have to learn a bit more about https://codesandbox.io/ https://codesandbox.io/, it looks very useful. Apparently the contents of the page were somehow mangled a bit. As a result it is not functional.
- timcwinkler 5y agoI ended up looking into Github Pages and it wasn't too hard to use. (The documentation makes it look harder that it actually is.) Thank you, benjaminsuch, for that pointer.
- schwartzworld 5y agoCome on. Two clicks !== a lot of work
- freeCandy 5y agoYou can instead use githack[1] to quickly serve files directly from your repository. [1]: https://raw.githack.com https://raw.githack.com
- timcwinkler 5y agoAnother very useful pointer. Thank you. I wonder what "Files are automatically optimized" means, exactly? Have tried this out. (See comment https://news.ycombinator.com/item?id=27452226 https://news.ycombinator.com/item?id=27452226)