> Nginx may be a bit more performant but Caddy’s ease of configuration lured me in.
I'd say there is some nuance here. I have a really hard time finding out how to do stuff using the Caddy's new json based configuration style. Even keeping the configuration after server restart is not something trivial. I do realize a Caddyfile style configuration can be used but last time I've checked their whole documentation and examples are using JSON.
JSON might be nifty to communicate things between systems but its not user friendly. Reminds me the XML config file fad from the late 2000s.
I had this idea after I got my Raspberry Pi 400 to build a Lua/LÖVE[1]-based instant-on/"bare metal" IDE for kids, optimized for that hardware/keyboard, inspired by the Turbo Pascal GUI that was so awesome in the early 90s, with a mix of STOS/AMOS thrown in. It would be keyboard-operated - mouse optional. Then I got too busy.
I Kickstartes this many manyany years ago and it's still going strong. Kano was designed to teach kids Raspberry Pi, hardware, and software development. they even had their own Linux distro with a GUI focused towards kids.
I now have a kid but she is too young still but I am definitely going to be getting her into building Kano devices.
Not exactly the same, but I have been using a technically similar stack (Pi 4b + Love2D GUI) paired with some custom autorun code to make a console which boots media off of whatever drive you insert (potentially a keyboard / mouse / controller optional media device).
I've got the Pi booting basically straight to Love2D (really it's a combo of carefully choreographed splash screen, LXDE wallpaper, then an autostart of the actual Love2D UI which makes it seem like the Love2D UI is in control from boot) and it's all worked very smooth.
I feel like this setup would work well for custom UIs (especially if you're not as obsessive about the polish as I am and can tolerate a few flashes as X boots up). There's nothing specific about Love2D which makes this work other than being a nice way to write code that runs smoothly on a Pi, but I like it :)
Living the I wish my web server were in the corner of my room[1] dream. Which I think- as typical Webb- speaks so succinctly to what a real & meaningful connection to technology is.
There is a multinode BBS running on a Raspberry Pi in the corner of my room. I have a couple of externally facing web servers too that have "Das Blinken Lights", but those are mostly for my own use.
I like the idea of getting more Raspberry Pis, but in Europe the model 4 is €165 ($162) on Amazon, and there are lot of ‘mini pcs’ for less that also come with storage and case, power supply, etc
I think the Raspberry Pi 4 Model B 8GB is expensive at its original price of £85.50 (96 USD) + usb-c charger & cable (~ 9 USD) + SD card (~ $30 for 128GB). The only advantage I can see is that it's very small at a total price of $135, but the disadvantage is no case and the SD card will die very quickly when being used as a hard disk, I guess.
A mini pc (made in China) with a Intel N5095 CPU (more powerful https://cpu-benchmark.org/compare/raspberry-pi-4-b-broadcom-...), 8 GB RAM, 256GB SSD, dual HDMI 4k, Bluetooth 4.0, Gigabit Ethernet, 4 USB type A, 1 USB type C case, charger included (RAM and SSD are upgradable) costs $160.
4's are very scarce but 400's are fairly easy to find. They are around $80 and they are basically a pi 4 with 4GB and a keyboard. A reasonable alternative unless you need the SBC form factor. There is a $100 combo kit that includes a mouse, power cube, and SD card with the OS on it. I just wish they had made the keyboard include a built-in trackpad so you'd have a reasonable laptop alternative by just adding a screen.
Great thing about Raspberry Pi 400, other than being really cool, is that the supply is pre-committed, so while you cannot easily find a Pi for sticker price, you can find the Pi 400 reliably from mainstream authorized sellers.
Nice. I’d love to see pics of that setup. I use Namecheap for domains and they have a simple dynamic DNS service built in. I just hit it with curl four times an hour.
[+] [-] irusensei|3 years ago|reply
I'd say there is some nuance here. I have a really hard time finding out how to do stuff using the Caddy's new json based configuration style. Even keeping the configuration after server restart is not something trivial. I do realize a Caddyfile style configuration can be used but last time I've checked their whole documentation and examples are using JSON.
JSON might be nifty to communicate things between systems but its not user friendly. Reminds me the XML config file fad from the late 2000s.
[+] [-] tpmx|3 years ago|reply
Just putting the idea out there :).
1) https://love2d.org/
[+] [-] Daegalus|3 years ago|reply
I now have a kid but she is too young still but I am definitely going to be getting her into building Kano devices.
https://kano.tech main page with all the devices https://world.kano.me their community for kids and learning
[+] [-] abeisgreat|3 years ago|reply
I've got the Pi booting basically straight to Love2D (really it's a combo of carefully choreographed splash screen, LXDE wallpaper, then an autostart of the actual Love2D UI which makes it seem like the Love2D UI is in control from boot) and it's all worked very smooth.
I feel like this setup would work well for custom UIs (especially if you're not as obsessive about the polish as I am and can tolerate a few flashes as X boots up). There's nothing specific about Love2D which makes this work other than being a nice way to write code that runs smoothly on a Pi, but I like it :)
[+] [-] oliwary|3 years ago|reply
Load81 might be of interest for this as well, it’s a commodore-like console interface for Lua, made by antirez: https://github.com/antirez/load81
[+] [-] rektide|3 years ago|reply
[1] https://interconnected.org/home/2022/10/10/servers
[+] [-] justinlloyd|3 years ago|reply
[+] [-] 35mm|3 years ago|reply
[+] [-] dxxvi|3 years ago|reply
A mini pc (made in China) with a Intel N5095 CPU (more powerful https://cpu-benchmark.org/compare/raspberry-pi-4-b-broadcom-...), 8 GB RAM, 256GB SSD, dual HDMI 4k, Bluetooth 4.0, Gigabit Ethernet, 4 USB type A, 1 USB type C case, charger included (RAM and SSD are upgradable) costs $160.
[+] [-] throwaway81523|3 years ago|reply
[+] [-] sva_|3 years ago|reply
[+] [-] prox|3 years ago|reply
[+] [-] aliqot|3 years ago|reply
[+] [-] mattl|3 years ago|reply
[+] [-] jorgesborges|3 years ago|reply
[+] [-] rasfincher|3 years ago|reply
[+] [-] starik36|3 years ago|reply
[+] [-] codazoda|3 years ago|reply
[+] [-] unknown|3 years ago|reply
[deleted]