[HN Gopher] Slingcode - App platform in a single HTML file, QR-c...
___________________________________________________________________
Slingcode - App platform in a single HTML file, QR-code
transmittable apps
Author : meiraleal
Score : 65 points
Date : 2024-08-06 01:31 UTC (21 hours ago)
(HTM) web link (slingcode.net)
(TXT) w3m dump (slingcode.net)
| rippeltippel wrote:
| This is an awesome tool also for learning the basics of web
| development.
|
| There's a very nice playlist of tutorials [1] that cover React,
| Vue, and several cool things that I didn't even think about.
|
| Kudos to Chris for that!
|
| [1]
| https://www.youtube.com/watch?v=0tONEHy-P7M&list=PL5dyN9XHel...
| cuttysnark wrote:
| I'm in love, I didn't know I wanted this, and now here it is.
| With an explanation from the author that touched on things I was
| feeling but couldn't quite but into words. To ice the cake, saved
| the file to disk and ran it with WiFi off, just to see. Sure
| enough, it's _all in there_ , self-contained with no fetched
| dependencies.
|
| One caveat being that in the file:// protocol URL params don't
| work e.g. ?app=c53f8e9f-4b7a-4315-bb8a-f6557f6be30b
|
| This is fixed by running a local webserver, which isn't a huge
| deal. I'd be happy to learn of an easier way.
|
| Thanks for sharing this.
| meiraleal wrote:
| Yeah slingcode is very cool! It is like a platform/IDE for apps
| similar to tiddlywiki.
|
| unfortunately it is not maintained anymore so I posted it here
| with the hope of finding some similar project from the
| community :) Or use it as a motivation to release a similar
| project
| recursive wrote:
| I'm also a single file .html app distribution technology
| enthusiast.
|
| Query string parameters totally work from file://
|
| I built an online sandbox that lets you create them. To prove
| it, you can navigate here [1], then click the "Download self-
| contained .html" item on the hamburger menu.
|
| [1] https://mutraction.dev/link/z8z
| replete wrote:
| I also like single-file offline web applications, I'm hoping
| they become more popular with the FileSystem/FileWriter APIs
| now available in Chromiums (waiting on Safari/Firefox still
| however).
|
| I made a really simple offline HTML app for generating EFF
| dice passphrases: https://github.com/replete/effindice
|
| Only thing missing really is a CLI interface. I wonder if
| there's a way to make HTML files executable on the command
| line, pass through arguments as qs params.
|
| The amount of times I make a little nodeJS app to do
| something with a set of files, the webserver bit seems so
| overkill sometimes..
| dang wrote:
| Related:
|
| _Show HN: Slingcode live-reloading web IDE to make, run, and
| share web apps P2P_ -
| https://news.ycombinator.com/item?id=23611505 - June 2020 (11
| comments)
| recursive wrote:
| I absolutely love this idea. The sample apps look cool, but I
| can't get a new app to work. When I click the '+' button to make
| a new app, the editor shows me a hello-world index.html. Clicking
| "Run" results in a blank white pane regardless of whether I
| target a new tab, or a side-by-side frame. I get the same
| behavior on a downloaded copy and online.
|
| I'm running Firefox on Windows.
| dmje wrote:
| Available on Yunohost[0] for those as lazy as me.
|
| [0] https://yunohost.org/
| prophesi wrote:
| This is great! Is there a demo of how the peer-to-peer sharing
| works?
___________________________________________________________________
(page generated 2024-08-06 23:00 UTC)