Using hugo as a library

I use trello to draft and organize “posts”. Trello is supports markdown, categories, attachments, etc. It’s available on mobile and provides a REST API and webhooks. Interesting for blogs, might be too limited for websites with different types and taxonomies.
A daemon receives HTTP POST from trello webhooks whenever an event is triggered on a relevant board/list, then fetches content (cards) via trello REST API and drops them into a content/cards “namespace” finally calls hugo to refresh the website content.

EDIT: I was whining about hugo being difficult to use as a library since “build commands” where not exported. Well, I guess I should stop reading when I can’t distinguish between “site.build()” and “site.Build()”.

Thanks for the fine work :wink: