backend info

11/5/25

Dear Chxshire22,

How do you run your blog? What I mean is the background side of things. Do you manually copy and paste the code every time you make a new page or do you have something that does that for you?

Thanks a bunch >.<,
~ Duke


HEY Duke!!!

yeahh... you guessed right - i do copy and paste stuff around XD. initially i did this site in nextjs but i wanted to keep things simple and found that making and reusing templates helps a LOT!


i did consider scripting something to make it easier - something that i can run in the command line to make a new directory, .html file, update the blogroll, rss, and homepage's latest post. (╭ರ_•́)

don't think that'll be too hard, maybe take me a day, maybe in bash or c, or... node? idk hahaha.


but so far the templates help me make posts really quickly, css classes etc. also! if you look at my website files, you'll see it's very messy with some inline styles too but it's because i try not to put css rules that will only apply to one element in the style sheet as i find that it clogs up the style sheet.


so right now the copy-paste stuff works fine, if i do want to use a cms i would probably use one of the two:

i kinda lean towards using contentful, it has a decent free tier, and i don't have to host it on a server!

the biggest upside to copying and pasting without using a cms is that the hot module reloading keeps updating the actual "preview" of the site. also having the freedom to be as ridiculous as i want with custom html


if i use a cms i still have to set up the preview page by myself which is from experience, a hassle, and also the preview webpage won't likely update as fast? idk just what i feel.


beep boop beep boop!!!
chxshire22

Comments

[login] 
Not using Html Comment Box  yet?
Anonymous · May 12, 2025

I want to have my questions answered

chxshire22 · May 12, 2025

@Anonymous, hahaha hey come ask at ask@chxshire22.com!!

Duke · May 11, 2025

I was considering using CMS but I'm wayyyyy too lazy to set that up. Also did consider making a small js program where it pretty much automatically formats the plain text into the template I use so I can just copy paste and go. It would add the p tags by itself and place the text in the proper section of the HTML document. But that leads into me still being lazy so for now I'm in a if it ain't broke don't fix it operation.

chxshire22 · May 12, 2025

@Duke, yoo same! i feel like i'm just too lazy to set up anything. copying and pasting works just fine for me ><
if it aint broke...
also if i set up a cms i host myself i have to worry about security, if i use a 3rd party cms like contentful i need to be wary of the storage space i use up if i have lots of pics.

im happy where i am xd >

rss