Python Generator and Docker Automate Weekly Posts Across Medium, Substack, and Bluesky
A developer built a small Python command-line tool that reads a metadata.json file and renders Jinja2 templates into ready-to-publish Markdown and JSON files for Medium, Substack, and Bluesky. Before this, the same weekly changelog had to be reformatted by hand for each platform, which took about 30 minutes per sprint and led to inconsistent wording and missed documentation updates. Earlier attempts using a bash script and a Node.js script failed because of hard-coded file paths and malformed JSON output. The final tool is packaged in a Docker image so the CI pipeline can run it automatically on every sprint. The generator also updates status flags in the metadata file after each successful render.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in