top | item 38206290

(no title)

jamon51 | 2 years ago

I love this so much. I got my start on QBasic and made hundreds of games between 12 and 19 years old. I eventually left it behind, but always had a fond spot in my heart for it.

Last year, when I was going to rebuild my personal website, someone on Twitter challenged me: “Build it in QBasic, you coward”. I was like “haha…wait, can I?”

And I did! It runs on QB64 on a DigitalOcean droplet.

Here’s the source:

https://github.com/jamonholmgren/jamon.dev

Check app.bas for the QBasic code.

I may eventually release a CLI and library that lets people spin up a QB64 website in little time.

discuss

order

thom|2 years ago

Ha, I once created a web framework in classic ASP that was inspired by QBasic - you’d use pure HTML templates but in handlers you’d write LOCATE statements using XPath selectors instead of screen coordinates, followed by PRINT statements to actually fill in the content of an element. Never tried to actually write it in QBasic itself though. Nice work!

thatha7777|2 years ago

Thank you!

XPATH in LOCATE stmts sounds like asking a disco dancer to moonwalk -- out of its era, but oddly fascinating to watch

thatha7777|2 years ago

This is awesome! Kudos!

I wish there was some kind of "computing archeology" discipline

qup|2 years ago

The folks who built this stuff are still alive. Historian would be a better fit, and we can archive the actual first-hand accounts if we don't waste the chance.

kristopolous|2 years ago

I was confused for a few seconds. This is to help others. The user didn't build their website, they built the web server, a more difficult task.

I was expecting a classic CGI gateway approach with some templating support and maybe a data source (not necessarily sql but perhaps INI).

Instead it's an HTTP server

knewter|2 years ago

You could serve your qbasic website from an old Android phone in a drawer my dude.

thatha7777|2 years ago

Not with BabaBASIC (for now?). No networking support whatsoever :P

jamon51|2 years ago

Don't tempt me.