News for hackers. Stuff that matters.
Re:Goodbye Medium, hello Ghost by mirzap on Monday July 04, 2022 @01:46AM (#31973824)
There are couple great solutions that fit points you describe. One of them is Statamic (https://statamic.dev/blade) which is IMO the best flat-file CMS currently available with a lot of flexibility if you're dev and want to extend to it (it's free for solo writers). Another one that I know is GravCMS (https://getgrav.org/). I didn't have much experience with Grav, but it looks OK.
Re:Goodbye Medium, hello Ghost by mg on Monday July 04, 2022 @01:49AM (#31973836)
These projects are gigantic:

    git clone https://github.com/statamic/cms.git
    cd cms
    git ls-files | wc
    3133
    find . -name '*.php' | xargs wc -l
    ...
    225023 total
3133 files. 225023 lines of PHP code. Plus dependencies, which are not counted here.

I am going for 1 file with 50 lines of code and no dependencies.

Re:Goodbye Medium, hello Ghost by mirzap on Monday July 04, 2022 @01:56AM (#31973882)
Good luck with that. Personally I don't see a point in avoiding dependencies. I'll always trust more software that is built on collective wisdom with carefully picked dependencies, rather than a single (or couple) geeks that put everything in single file, avoiding dependency hell. To me that's a red flag.
Re:Goodbye Medium, hello Ghost by mg on Monday July 04, 2022 @02:02AM (#31973913)
With a single script with 50 lines of code, I will forever be able to pick it up again, understand it, use it, improve it. Handling will be quick. No installation, just copy the script, run it, done.

Using a project made of thousands of files and dependencies, there is way more maintenance ahead. Handling is slower and more cumbersome. If the project moves in a direction I don't like, maintaining a fork would be too much work.

Re:Goodbye Medium, hello Ghost by naetd on Monday July 04, 2022 @10:56AM (#31977715)
I have to work on a legacy site using statamic v2 regularly and I absolutely hate it; it's slow as all hell and littered with template rendering and parsing bugs.

I'm sure v3 is nicer though from the amount of times I've searched the docs with an issue and seen "fixed in v3".