[READ-ONLY] Mirror of https://github.com/andrioid/md-social. markdown social media poster (experimental)
Go 72%
JavaScript 18%
Shell 10%

README.md

Markdown Social #

Parses Markdown articles and posts them automatically on social-media. It also stores reference to the post so we don't create duplicates.

The idea is to run this via build-pipelines like so:

  1. Site is built and deployed
  2. This program runs and posts what needs posting
  3. If there were changes in Git, it should commit them and rebuild the site
  4. Now possible to use social.bluesky (or whatever) to setup likes/comments

Requirements #

Frontmatter #

  • title: string
  • date: RFC 3339
  • social: map[string]string (e.g. {"bluesky": "at://asdf"})

Usage #

md-social blogdir/

Configuration #

All configuration is via ENV variables. Providers without configuration are skipped

Bluesky #

  • BLUESKY_DID
  • BLUESKY_APP_PASSWORD

Tasks #

As a CLI user, I can...

Maybe later #

v2 usage? #

  • md-social parse --og-image --og-image-background moo.png --og-image-author cow.png examples/
  • md social server # for oauth proxy stuff