Hey hi I saw on at least one post that you asked about people using Phantomake and since the clock is ticking and Iām not sure if Iāll be able to put in the time next weekend, Iām going to just make a giant mess in your comments while I still can. I thought about making an actual regular cohost post about it but honestly given the way Iāve used cohost blogging in your comments is the most appropriate way to go about it, probably. Iāll do the experiential narrative bit up top and questions/hopes/whatever at the end!
Stage setting: Iām a non-coder, but I am a glorified end user. Been computering and online for far too long and my ātechnicalā experience is largely limited to being able to follow tutorials well, have setup linux vpsā for servers for various things, but bad at troubleshooting and have zero actual programming experience. Got pretty good at being able to modify eggdrop bot scripts in the IRC days but thatās all dead knowledge. Command lines are fine and good, but everything involving repos and whatever is⦠doable but I have no idea whatās really going on, itās just a tutorial trust fall exercise.
Other stage setting: I havenāt made anything yet. Thatās the hard part! Iām still doing the fun tools exploration part. (it has been extremely fun)
Anyway I was getting to the point mentally where I was just going to start putting together a stupid website in the artisanal hand-HTML fashion of my youth because I didnāt want to mess with wordpress or anything of the sort any more and just do plain old static pages. The thing I kept thinking was how I really just wanted PHP include so I could at least make a navbar and a footer (miss you, frames). I kept looking at static site generators but every single one was absolutely bonkers for anything I had in mind and everything had way more presumption of being used by a ācoderā and not an āend userā, even a slightly technical one.
So when I saw the Phantomake post I was elated since in its most basic form I could just use it as a glorified PHP include to spit out a finished version of whatever I put together with some small template bits I could edit for global changes. And itās just a single executable! (yeah sure so is Hugo but much like the rest of the field, Hugo is terrifying) And you put together that Windows binary mere moments after my discovery, so I didnāt even have to open a WSL terminal. Basically Christmas.
Started working through the examples. The Includes are really straightforward, exactly what I was hoping for initially, and then some. Havenāt played with templating much yet because design is not my passion but I have no concerns about figuring it out.
Started to stretch a touch when re-implementing the blog example. Reconfigured it slightly to account for hosting that is setup to do slugs/āpretty urlsā, or whatever thatās all called, instead of doing the endless folder/index.html thing. Took me a while but I figured it out! Then I started thinking about how the pagination could be used to do so much other stuff, like handling serialized stories by using 1 item per page and using a unique folder or filename structure to pull the relevant pieces with getFiles.
Then I got to thinking about how the ability to make custom indices and such with the paginator could also be really useful too, and not all that hard.
At some point in this process I got to thinking about tags and wondered if I really cared. My initial plan wasnāt going to allow for them anyway, so not having them shouldnāt be a barrier, and the more I thought about it the less I kind of cared for personal web page stuff. Would I really ever be that prolific? I think some of the use cases could just be accommodated for via YAML stuff and custom indices anyway, for things I really cared about, if I decided to? Keeping some tags in the YAML just for my own internal use is probably the most practical use for anything Iād be doing anyway⦠letās be real, my mess isnāt that complicated.
The RSS bit is the only piece I havenāt had time to fully chew over. I got the basic example running fine with minor edits, but got to thinking about more complicated use cases that Iām not even sure I can articulate well. I guess considering a hypothetical world where the website was updating both a blog and other serialized side projects, but wanted all the updates to be centralized in a single RSS feed, but have some one type of content be full text and the other type be YAML slugs.
Anyway, long story long, been poking around with it for several hours this weekend and have had an extremely enjoyable time. The whole thing felt very within my grasp in a way that every other SSG Iāve tried to use did not. Even when Iād started to get them working, just using them still felt like too much work. I genuinely havenāt had this much fun just noodling around with web stuff since I was 16 and found out my dialup provider gave us a whole five megs of web hosting. Phantomake rules and you could change nothing going forward and itād still be tremendously useful. Thank you so much!