by 3dfan · 6y ago · 0 comments
It's a git repo and everyone can pull/push directly to master.
I skim the commits once a week.
It's basically plain text files. But the md extension triggers some nice eye candy in vim and other browsers.
I think we will keep this structure forever. Maybe we will (additionally) serve the files over http at some point. Maybe we might even add edit / search / push functions over http, but for now I have not planned that.
I have seen CMS come and go. And I'm tired of it. Text files are forever.
My website uses a "Apache-DirectoryListing"-like asp.net core frontend + a backend markdown parser.
If I weren't that lazy, I'm pretty sure I could have written a module for apache or nginx with an integrated md parser. Maybe there is something already.
I think it was Karl Browman from the rstats community that noted: Your closest collaborator is you, six months from now. And you don't respond to email...
For example when the graphics person wants to save something for the first time, they might make a new file graphics.txt and put in the information they want to keep there.
If they then continue to just grow that one file, all is fine. If they feel the need to have multiple files, I advice them to make a subfolder graphics/ and have their files there.
Search is simply done via grep.
So to see if someone wrote something about logos, we typically do:
grep -ir --color logo *But... sometimes a picture or two would help a lot. Is everything done in ASCII-art or do you also commit JPG/GIF files there?
Can you give a use case?