alt.hn

5/9/2026 at 9:32:16 PM

Web Server on a Nintendo Wii

http://wii.sjmulder.nl/

by adunk

5/13/2026 at 6:07:05 PM

Wish we had the level of renewables in the West that China has. Their pricing is supposedly now 7-11 cents per kwH (as opposed to 20-30 cents kwh average in the states). This would further enable usage of all computing instead of tossing it into eWaste. Who cares how much power old equipment uses, host something on it until the chips literally burn out. Every Wii and other console that has homebrew should be running something....anything.

The US is not lacking of space to store this stuff but is tossing so much precious resources into the trash because they are not economically justifiable power wise.

by nebula8804

5/13/2026 at 10:51:45 PM

I asked Claude to map Chinese electricity prices vs capacity (broken down by power plant type) from 1990 onwards and the only thing I see is a dip from 9c to 8c in residential pricing due to renewables oversaturating the grid. Otherwise it was linear, even as renewables were added. Industrial prices remained linear also.

So I would say its less renewables keeping the overall price cheap, and more the government subsidies and the sheer amount of electricity being generated by their Coal (1195), Nuclear (61), Gas (~200), Renewable mix.

by crimsonnoodle58

5/13/2026 at 1:13:54 PM

I appreciate the lack of a reverse proxy in front. While I love the various "website hosted on X" projects they end up in reality just served by CloudFlare. Which is fine since you don't want your C64 or vape pen or whatever to explode. It's just less "hosted on X" and more "single HTML page served by CloudFlare".

by giantrobot

5/13/2026 at 4:53:37 PM

It looks like it's proxied if you come over IPv4 - which the vast majority of "customers" likely do.

by bombcar

5/13/2026 at 6:00:21 PM

I meant to replace it with IP forwarding from a secondary IPv4 address on another host running OpenBSD, but I haven't been able to get that to work yet. Perhaps any OpenBSD/pf folk here have an idea? This is my config (where in the real file the variables are literals):

  pass in on egress inet to $secondary_ipv4 \
    af-to inet6 from $ipv6 to 2a02:a45f:8eaa::2/128
All I get is timeouts and traceroutes with infinite hops. First I tried rdr-to, but that complains of the address family mismatch.

by sjmulder

5/13/2026 at 9:39:56 PM

Turns out the rule works perfectly fine, I just forgot to enable IPv4 forwarding in sysctl (in addition to IPv6, which I did enable).

by sjmulder

5/13/2026 at 6:48:54 PM

If it's proxying without caching, what you have is "basically" real.

It's just there have been others who put a gameboy behind a massive cache, and most requests would come back from the cache server.

by bombcar

5/13/2026 at 2:53:34 PM

It depends on the cache settings but by default CF doesn't cache HTML

by weird-eye-issue

5/13/2026 at 12:36:09 PM

More powerful than a Sun sparkstation 5!

by bombcar

5/13/2026 at 2:05:32 PM

Gopher. Shake hands. Glad to see you are still hacking

by phwbikm

5/13/2026 at 2:36:10 PM

Projects like this brings a lot of joy to me, even if it's technically only "I configured NetBSD as a webserver".

by mrweasel

5/13/2026 at 1:54:41 PM

I wonder what kind of apps you can run. Matrix certainly won't but IRC server? Probably

by stevefan1999

5/13/2026 at 4:56:08 PM

The Wii is comparable to a mid-range Pentium III with 64 MB of RAM - so anything that Linux/BSD could run around 2002 can likely run on this.

by bombcar

5/14/2026 at 1:53:23 AM

Fun fact, my Wii running Linux was my first server. I had a webserver running, and an IRC bouncer (ZNC). Anything outside the standard "it's available on every architecture" type stuff require manual compilation, however, which can take forever.

by bmlzootown

5/13/2026 at 2:23:41 PM

> I was doing this bit using a capture card and Photo Booth on macOS which doesn’t actually support disabling the image-flip on the video feed

I use OBS to monitor my video capture. This essentially lets me use my Mac as a monitor for my headless desktop (which does not have a monitor of its own). Maximum gaming.

Deskflow lets me use my Mac as a keyboard over LAN, too. Beats remote desktop for sure. Especially when gaming.

by LoganDark

5/13/2026 at 3:11:11 PM

My preferred way is ffplay(1). Last time I checked I get lower latencies than OBS at that, at least when I use `-sws_flags fast_bilinear`, which is the same scaling OBS uses by default.

by ninjin

5/13/2026 at 3:14:11 PM

I wouldn't wish bilinear scaling on my worst enemy; 1:N is the only way to go for me. I'll check out ffplay.

Edit: ffplay doesn't support cropping the output to fit my display (or if it does, it's far too arcane for me). As composable as ffmpeg is, it's awful UX for me. I'll stick to OBS.

by LoganDark

5/14/2026 at 4:31:23 AM

Use whatever gets the job done. As for scaling and cropping, to the best of my knowledge, ffplay(1) supports all the options that ffmpeg(1) does. Here is what I for example use when capturing my Famicom: ffplay -sws_flags fast_bilinear -framerate 60 -video_size 1920x1080 -vf crop=iw-360:ih,scale=-1:1080 $DEV.

by ninjin

5/13/2026 at 1:28:40 PM

i used to love httpii for this!

by Shalomboy

5/13/2026 at 2:56:45 PM

Not to spoil the fun, but is it really still a "Nintendo Wii" if you replace the stock OS?

The identity of a "Nintendo Wii" is the combination of its enclosure, hardware, and software. To take only the enclosure and hardware and keep calling it the same thing is absurd. Where does it end? What if I keep the enclosure, but replace guts with an Xbox? Is it still a "Nintendo Wii"?

by tantalor

5/13/2026 at 3:34:08 PM

https://en.wikipedia.org/wiki/Ship_of_Theseus

You can draw the line wherever you like but for me it is still a Wii even with a different OS. I would draw the line at replacing the hardware inside with XBOX hardware. Others may draw the line at the chassis.

by s_dev

5/13/2026 at 3:48:20 PM

i personally consider "running on X" to be accurate if it is still X's hardware

by john_strinlai

5/13/2026 at 6:04:59 PM

It would be a fun project to do a homebrew HTTP server (and I wouldn't be surprised if it had been done already) but in this case I actually mean to replace my Pi 'home server' with this Wii, and for that I want SSH, git, web, mail, and all that, so practically, NetBSD was a good option.

There's also the fact that there's a modern, up-to-date Unix distribution for this in the first place, how cool is that.

by sjmulder

5/13/2026 at 3:35:51 PM

no, then it's an xbox in a wii shell. I'd say having two out of three makes it a wii. Plus, there really isn't anything stopping someone from writing a web server for the wii, it's just that running a different os makes this silly task much easier

by mghackerlady

5/13/2026 at 4:22:51 PM

> two out of three makes it a wii

So if I stick a modern hardware PC running a Wii emulator inside a Wii shell, then it's still a Wii?

by tantalor

5/13/2026 at 5:19:33 PM

It depends on how fully it emulates a wii and what restrictions it would have, but I'd say if the thing quacks and functions like a wii (you have support for the controllers, the disk drive, network things, etc.) it could be called a wii

by mghackerlady

5/13/2026 at 4:52:34 PM

This strikes at the root of the Biggest Controversy™ - if you beat a video game arcade cabinet on an emulator, did you beat it?

Things can be named analogously - if I have a machine that plays Wii games for me, and nothing else, I'll call it "the Wii".

by bombcar

5/13/2026 at 5:24:33 PM

I have an old PSP that has only ever been used to play emulated NES games.

Shall I call it an NES?

by ssl-3

5/13/2026 at 5:39:57 PM

Does it boot straight into NES games? Does it have an NES cartridge slot? Or controllers? What about the never used expansion port on the bottom? Is it in a NES shell?

by mghackerlady

5/13/2026 at 5:44:10 PM

> Does it boot straight into NES games?

No.

> Does it have an NES cartridge slot?

No.

> Or controllers?

No.

> What about the never used expansion port on the bottom?

It does have an expansion port that I've never used.

> Is it in a NES shell?

No.

> [so it's not an NES, then]

It's mine, and I can call it whatever I want. :P

by ssl-3

5/13/2026 at 5:55:00 PM

>It does have an expansion port that I've never used.

so not an NES one, then

>It's mine, and I can call it whatever I want. :P

that's fair, I call my switch lite a playstation 7. It'd be disingenuous to present it to others as an NES, however. If it meets most or all the criteria above, then it wouldn't be

by mghackerlady

5/13/2026 at 4:56:18 PM

> if you beat a video game arcade cabinet on an emulator, did you beat it?

Yes for the purposes of your own personal sense of achievement, no for the purposes of speedrun records.

by mikepurvis

5/13/2026 at 4:43:55 PM

Absolutely not. Ruins the rest of the charade when you say "okay, now let's just step around the hard part and instead replace it with a different OS to make it cookie cutter". Wow, you can run a server on hardware constrained stock BSD ...? ... cool ....

by zen928

5/13/2026 at 6:12:31 PM

A 'charade'? Just having some fun running NetBSD on unusual hardware and learning something along the way. There's no cheating some imaginary game you seem to think I'm participating in.

by sjmulder

5/13/2026 at 4:57:14 PM

I think it’s still cool enough to get the OS running in the first place; and there’s still novelty in using something for a purpose completely unexpected, even if the last few steps are cookie-cutter.

by malicka