Beyond social crossposting, Postline should be usable to write and manage blog posts for Stacks apps.
Idea
Stacks ships a CMS package (@stacksjs/cms — posts, authors, categories, tags, RSS, sitemaps). Postline's Post → PostTarget model already treats each network as a publish target, so a blog can be just another target:
- Add a
blogprovider/driver inDriverRegistrythat writes to the Stacks CMS post models instead of an external API - Composer support for long-form content when the blog target is selected (title field, no character limit, markdown body)
- Decide the sync model: does Postline own the canonical post and push to a Stacks app, or write directly into the app's CMS tables/API?
- Support multiple destination blogs (one per Stacks app) — likely one
SocialIdentity-style record per blog - Crosspost flow: publish the blog post, then optionally crosspost a teaser + link to the social networks
Context
- Fan-out:
app/Services/Social/CrosspostService.ts, registry:app/Services/Social/DriverRegistry.ts - Models:
app/Models/Post.ts,app/Models/PostTarget.ts