Comment by ksymph

Comment by ksymph 15 hours ago

1 reply

I had that thought too. My own blogging engine is ~100 lines of lua that accomplishes the same as you describe, plus RSS, with one additional library for markdown parsing. The author mentions Mustache templates and WebMentions, but ten dependencies still seems like a lot; I wonder what they are.

soapdog an hour ago

The dependencies are

    cmark
    dkjson
    etlua
    hasher
    lsqlite3
    lua-markdown-extra
    luafilesystem
    lub
    lustache
    multipart
    penlight
    uuid
    yaml
    http
    gumbo
    sleep
    bbcode
    cookie
Many of the dependencies are there to support the posts that are legacy posts coming from my previous SSG. I imported them into the database and they require Yaml and other dynamic features. Some dependencies like gumbo, http, multipart are all there to support indieweb features such as webmentions and micropub.