Page 1 of 1

My blog backend is written in Pure and Spiderbasic

Posted: Thu Jan 01, 2026 5:37 pm
by ❤x1
Hey people!
I decided to start a blog (yep. In 2025.)
So I wrote a back-end using PB for the server side and SB for the administration.
I know there already are hundreds of those available; but reinventing the wheel is fun and I learned a lot along the way.

There is the code, if you ever want to do something using CGI, there isn't that many examples available in PureBasic: https://git.lastlife.net/LastLife/SelfHost/

Happy new year, everybody!

Re: My blog backend is written in Pure and Spiderbasic

Posted: Fri Jan 02, 2026 12:44 am
by idle
Always good to see native solutions, thanks for sharing.

Re: My blog backend is written in Pure and Spiderbasic

Posted: Fri Jan 02, 2026 4:26 am
by OldSkoolGamer
WOW!! Like Idle already said, always nice to see native. Thanks so much!!!

Re: My blog backend is written in Pure and Spiderbasic

Posted: Fri Jan 02, 2026 1:28 pm
by infratec
1. Create Server/includes/secrets.pbi based on the example and fill in your settings
Maybe I'm blind, but I didn't found an example how to create secrets.pbi.

Re: My blog backend is written in Pure and Spiderbasic

Posted: Fri Jan 02, 2026 5:59 pm
by Kwai chang caine
A real good idea to demonstrate the powerfull association of the two brothers
I don't think anyone had thought to do that before, or at least shared it.
Thanks for that very nice idea and present 8)

Re: My blog backend is written in Pure and Spiderbasic

Posted: Sat Jan 03, 2026 5:03 am
by Rinzwind
Reality check

No. Don't even. Use a real blog backend, there are so many of them!
Any context? Not production ready? Security holes? Battle tested?

Where is your blog located? Anyway, good job!

Re: My blog backend is written in Pure and Spiderbasic

Posted: Sun Jan 04, 2026 2:46 pm
by ❤x1
infratec wrote: Fri Jan 02, 2026 1:28 pm
1. Create Server/includes/secrets.pbi based on the example and fill in your settings
Maybe I'm blind, but I didn't found an example how to create secrets.pbi.
Yep, you must be blind. I would NEVER have forgotten to include the example file...

Ahem.

So, anyway, it's there now, sorry 😳.
Rinzwind wrote: Sat Jan 03, 2026 5:03 am Any context? Not production ready? Security holes? Battle tested?
The three main reasons are the terrible UX of the admin panel, it's a solo project, and it's very early and untested: I just wrote a second article on my blog and discovered a minor bug.
Rinzwind wrote: Sat Jan 03, 2026 5:03 am Where is your blog located? Anyway, good job!
Thanks! You made me realise I should add it to my signature on the forum.

Re: My blog backend is written in Pure and Spiderbasic

Posted: Mon Jan 05, 2026 7:48 pm
by minimy
Look really nice, good job mixing PB + SB. You did frontpage with SB too?
Just for curiosity, can use requests too, like PHP or is just to show static webs/blogs?
Thanks for share!