4 ms·
Like many other here I looked at a lot of options and ended up writing my own, because spending time finding the right solution (if it existed) was more effort
by gnyman 6y ago
Like many other here I looked at a lot of options and ended up writing my own, because spending time finding the right solution (if it existed) was more effort than just doing it myself.
Inspired by https://github.com/giuseppeg/xm https://github.com/giuseppeg/xm I ended up writing a absolutely minimal no-frills PHP snippet to turn the PHP file itself in to an html page.
https://github.com/gnyman/piss https://github.com/gnyman/piss / https://blog.nyman.re/2020/10/11/introducing-piss-a.html https://blog.nyman.re/2020/10/11/introducing-piss-a.html
Doing it yourself is of course not an option for most people. But as the author and many other commenters here, programming is a hobby so the journey is as important as the destination.