The author developed a Python-based automation script using Playwright to publish blog posts to TenChat, which lacks a public API. The script runs on a server via cron, handling post selection, text formatting, and image uploading without human intervention.

The system uses a local directory of markdown files as a source. A script filters articles based on a stop-list and publication dates, ensuring only relevant content is queued. The tool converts markdown to HTML, which is then injected into the TenChat Quill editor using a synthetic clipboard paste event.

For image handling, the script uses Pillow to convert webp files to JPEG or PNG formats, as required by the platform. It includes a dry-run mode for testing and sends error notifications via Telegram if a post fails to publish or if the queue is running low.

Initially running on a local macOS machine, the process was moved to a server to ensure reliability. The script maintains session state to bypass manual logins, though it requires periodic updates to the session token. The automation has been active since late September 2026.