Daniel Quinn

Canadian software engineer living in Europe.

  • 23 Posts
  • 628 Comments
Joined 2 years ago
cake
Cake day: June 7th, 2023

help-circle






  • Depending on how complicated you’re willing to allow it to be to run locally, you could just run a webserver right on the desktop. Bind it to localhost:8000 so there’s no risk of someone exploiting it via the network, anf then your startup script is just:

    1. Start webserver
    2. Open browser to http://localhost:800/

    It’s not smooth, or professional-looking, but it’s easy ;-)

    If you want something a little more slick, I would probably lean more toward “Path 2” as you call it. The webserver isn’t really necessary after all, since you’re not even using a network.

    One option that you might not have considered however could be to rewrite the whole thing in JavaScript and port it to a static web page. Hosting costs on something like that approaches £0, but you have to write JavaScript :-(










  • Daniel QuinntoSelfhosted@lemmy.worldPost your bandwidth usage
    link
    fedilink
    English
    arrow-up
    43
    arrow-down
    1
    ·
    edit-2
    10 days ago

    What exactly are you self-hosting that’s gobbling up that much data? I’ve been self-hosting my website for decades and haven’t used that much over all that time let alone in one month.

    Most of my bandwidth consumption is from torrents and downloading Steam games, but even that doesn’t get me to even 1tb/month.


  • Hear me out: I want the prompt at the top of the screen.

    It’s terribly inconvenient to have the place you’re typping your command into at the bottom. On laptops, your fingers are in the way, and on desktops, you’re always craning your neck looking at the bottom-left.

    Imagine instead if your terminal looked like this:

    | ---------------------------------------------------------------------------- |
    | $ curl https://...
    | ---------------------------------------------------------------------------- |
    | $ echo "hello"
    | hello
    | $ ls
    | output.png
    | goes.txt
    | here.webm
    | ---------------------------------------------------------------------------- |
    

    After a command is entered in the upper pane, it’s appended to the lower pane along with the output just like a normal terminal. Maybe even something like translating Shift+Enter to mean “clear the output pane and run”.