asaday.
← All projects

Case study / Cloud Media Distribution

Directing publishing workers from a shared control panel

I built a Flask control panel, S3 media library, and remote Windows publishing workers for an influencer network. Recovered source and development conversations document its progression from desktop scripts to cloud coordination.

My role
Keith Azodeh · System design, workflow design & Python engineering
Status
Built in 2023–2024 · Historical project
Built with
Python · Flask · AWS S3, EC2 & SSM · Tweepy · Browser automation
Cloud Media DistributionWorkflow / 2024
FROM A MEDIA LIBRARY TO REMOTE EXECUTIONPrepare once.
Coordinate the work.
  1. PrepareFlask dashboard

    Upload media, set captions, select a mode

  2. StoreAmazon S3

    Shared assets, metadata, and worker registry

  3. CoordinateSystems Manager

    Send commands to Windows EC2 workers

  4. ExecutePlatform workers

    Stage media, operate sessions, clean up

2023–2024

desktop prototypes, cloud publishing, and video-creation tooling

2 platforms

TikTok publishing and Twitter monitoring/publishing workflows

Central control

shared media, remote workers, and start/stop modes

The operating problem

Content, captions, accounts, and machines had to agree

I built this for an influencer network with a combined audience in the tens of millions. My work coordinated the publishing operations behind that reach: preparing media and directing it into account-specific workflows.

Separate desktops needed the correct files, captions, posting modes, and account sessions. Coordinating those pieces manually made it difficult to direct the work from one place.

I built the web interface, cloud connections, Windows automation, and connecting scripts. An operator could prepare assets centrally and direct or stop the publishing workers.

How it started

The first interface ran on the desktop

The earliest recovered files date to August and September 2023. ADSPost used Tkinter to save a caption, select a video or folder, and launch a Python posting worker. Variants ran locally or copied the worker to remote machines over SSH and SCP.

The February 2024 AutoTweet archive contains the desktop interface and a Flask application. It preserves the move toward shared cloud storage and remote commands.

The architecture

A control panel, an S3 library, and Windows workers

The Flask application offered uploads, caption storage, a worker registry, start commands, and stop controls. Later interface work separated uploading from posting and added multiple-file upload progress.

S3 stored media and coordination files: captions, selected paths, EC2 instance IDs, and a feed of new Twitter post links. The dashboard and workers read that shared state.

AWS Systems Manager delivered PowerShell commands to Windows EC2 workers. The dashboard recorded command IDs and checked execution status as workers updated local control files and launched scripts.

Python scripts staged assets locally and operated existing browser sessions through Clicknium and PyAutoGUI. Storage and commands ran through the cloud; platform interaction happened in the Windows session.

The publishing workflow

Selecting a video or drawing from the library

The TikTok worker had specific and random modes. Specific mode downloaded the designated S3 video and ran the posting sequence across configured browsers. Random mode selected library media while active. Captions came from shared metadata, including separate mention handling.

Local control files represented inactive, specific, and random modes. A monitor interpreted them and launched batch scripts. January development notes requested a stop-flag check before the next random iteration.

Workers downloaded media into staging directories and removed it after use. Later variants introduced scheduled execution and next-day rescheduling.

A March 2024 worker added creator-specific media and caption locations and three randomized daily times. The backups contain different versions: some random modes repeat, while another runs once. They do not describe one uniform release.

Stopping was cooperative, at an iteration boundary. It did not cancel an upload already underway. A completed remote command also did not confirm that a post appeared on the platform.

The Twitter pipeline

Twitter monitoring fed a separate publishing path

A Tweepy monitor read accounts from a CSV, tracked recent posts in memory, and maintained a rolling S3 file of post links. March 2024 conversations document work to keep that feed bounded.

Workers consumed the feed for reply workflows and supported original posts. Recovered code selected small random image batches, cleared staged files after use, generated text from example material, and scheduled original and reply jobs.

Tweepy handled monitoring; browser automation handled the recovered posting flows. Those components had different failure points, from reading the feed to operating an account session.

Engineering decisions

What I would keep, and what I would replace

Shared storage reduced manual file movement. The registry made worker fan-out explicit, while separate posting modes let an operator choose a particular asset or a reusable pool. Logs and cleanup supported repeated runs.

The coordination files were shared mutable state. Browser workflows depended on page structure, timing, and an interactive session. The Twitter monitor kept last-seen state in memory, leaving restart deduplication unresolved.

In a rebuild, I would retain the control/content/worker separation and introduce durable jobs, per-account state, idempotency, and publication receipts. Supported APIs, secret management, and a review queue would need evaluation. Those are proposed changes to the historical implementation.

The creation tools

VidConv covered the creation side

The May 2024 Electron archive includes VidConv-related Python code. Pillow and MoviePy compose tweet-style templates, profile images, text, and footage into vertical videos. Another function stacks a selected clip with a random background clip.

The archived Electron renderer selects files and logs their paths, but does not invoke the Python processor. It documents an interface prototype alongside processing code, rather than a verified joined desktop application.

Creation and distribution were separate stages: format the video, then place media into the library used by the publishing workers. The surviving Electron version had not connected those stages end to end.

Outcome & evidence

The surviving evidence

Recovered source and contemporaneous conversations document the dashboard, cloud storage, remote commands, workers, monitoring feed, and execution controls. They show how individual scripts developed into a coordinated system.

The material does not include operational measurements for publication success, uptime, labor savings, posts delivered, or audience impact.

VidConv's public repository documents the video-creation leg. The S3 distribution code survives in Drive backups; this review did not locate a published repository for that backend.

Explore VidConv, the video-creation leg →

About this case study +

Reconstructed from user-supplied code in six 2024 development conversations and recovered Flask, S3, SSM, TikTok and Twitter source archives. The client network's audience size is creator-reported context. The creator clarified that VidConv was a separate creation leg automating videos in a viral tweet screen-recording format template; the Amazon S3 system was the distribution leg. The public VidConv repository is evidence of creation tooling, not publication of the distribution backend. No production performance metrics or complete backend publication record were available. Updated November 12, 2026 after reviewing both creator-supplied Drive folders: August/September 2023 Python files, the February 2024 AutoTweet archive, a March 2024 creator-specific worker, and the May 2024 Electron/video-processing archive. Source was inspected without running the historical automations. The Electron renderer does not wire its file selections to Python execution. Account files and credentials are excluded from this public case study.

Researched and updated November 12, 2026.

Bring the problem

What are you
trying to make work?

Let's talk about it →