Hacker News new | ask | show | jobs
by baliex 35 days ago
This is pretty cool, I have an interest in running admin interfaces (think web CMS) for non-technical users locally.

I tried out the most basic possible example, from the linked page:

    Deno.serve(() => new Response("<h1>Hello, desktop</h1>", { headers: { "content-type": "text/html" }, }) );
It worked, after a little wrangling to get a 2.9 preview (deno upgrade canary). Amazing! So, so, so simple!

There's a downside though... that "Hello, desktop" app weight in at 308MB on macOS.

Now, I don't know how that compares to an electron app, or the most lightweight app possible handcrafted specifically for macOS, and there are many, many layers of abstraction between my 1 line of code and the resultant but that is enormous!