I watched my cloud bill climb past $40 last month. For a pipeline that mostly sits idle. Render one preview, pay. Zip a pack, pay. Store a CSV, pay. The art was selling for pocket change and the infrastructure was eating it.

So I killed the cloud. Moved everything to one old box: 1 vCPU, 2 GB RAM, no GPU. The whole pipeline now runs there, locally, for $0 in compute fees. Same 39 products, same 856 MB of output. Zero cloud invoice.

Here is what actually works.

The metadata problem is a header problem

Adobe rejects a CSV with the wrong header instantly. Vecteezy too. Dreamstime wants 15 columns, Adobe wants 5, Vecteezy wants 4. Three different formats, three different rejection emails, all saying the same thing: your file is wrong.

make_metadata.py writes the exact header each platform demands. Nothing else. No extra columns, no guesswork. You point it at a folder of assets, tell it which platform, and it emits the CSV that platform accepts. Adobe gets 5 columns. Vecteezy gets 4. Dreamstime gets 15. The script uses only the Python standard library. No install needed.

The part that stalls people is not making art. It is the spreadsheet. So the script does the spreadsheet.

Double-posting is the fastest ban trigger

Run your batch script twice by accident and you upload the same asset twice. Platforms flag that. Fast. A re-run that double-posts is worse than no automation at all.

upload_tracker.py keeps a ledger. It remembers what you already posted. Re-run the script and it skips everything done. It shows you what is pending, what is done, and what the current status is. Three commands:

python upload_tracker.py pending items.txt python upload_tracker.py done "asset-001.jpg" python upload_tracker.py status 

Standard library only. No database, no cloud sync. Just a file that remembers. That is all a ledger needs to be.

Packaging sells better than raw files

A bare zip of PNGs looks like a github repo. A zip with a real cover and a thumbnail looks like a product. Two different things. Buyers click the one that looks like a product.

pack_product.py does both. One command:

python pack_product.py my-product "My Product" "A short subtitle" 9 

That writes a zip, a 1280×720 cover, and a 600×600 thumbnail into a _system folder. The only third-party package here is Pillow, for rendering the covers. Everything else is stdlib.

And if you have a Markdown doc to sell as a PDF, md2pdf.py turns headings, tables, lists and links into a styled PDF. One command, one dependency: reportlab.

The RAM habits that keep a 2 GB box alive

The full pipeline ran on 1 vCPU and 2 GB of RAM with no GPU. It works because of a few boring habits that prevent memory death:

  • One process at a time. Never fan out image jobs in parallel on a 1-core box.
  • Call gc.collect() after each asset. Free what you do not need.
  • Measure peak RSS, not average. resource.getrusage(RUSAGE_SELF).ru_maxrss tells you the real ceiling.
  • Heavy render steps run in subprocesses, one file per subprocess. Memory goes back to the OS.
  • Render at the resolution you need. A 60 dpi preview beats a 300 dpi render when you are just checking.

None of this is clever. It is just the difference between a script that runs and a script that gets OOM-killed at asset 14.

The folder structure that does not become a junk drawer

A catalogue without a fixed layout turns into a folder of mystery files. The kit assumes this:

project/ assets/ raw output (one file per asset) output/ ready-to-submit files + metadata.csv packs/ finished product zips + covers research/ your notes and sources scripts/ these tools 

Keep research/ forever. Your notes and scrape logs are raw material for future products. Deleting them to "clean up" was a mistake I made once. Never again.

What this actually cost

Four Python scripts. Two third-party packages total, Pillow and reportlab. The other two scripts need zero installs. The stack was built from ~19,000 lines of pipeline code and 300+ pages of research, then distilled down to the four tools that do the actual work. The packaging layer sits under a free orchestrator and a local LLM proxy, so the whole thing runs without a monthly bill.

This is the tool I built from that work. It is the exact scripts that packaged 39 products, not a tutorial about how you might do it someday.

Get digital asset factory

Building digital products? Free guides & kits for digital product sellers.