Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

From Prompt To Packaged Product In Under An Hour: The Four Scripts That Made 39 Stock Assets

Описание и применение

Четыре скрипта автоматизировали создание метаданных, отслеживание загрузок, конвертацию документов в PDF и упаковку, позволив автору подготовить 39 готовых к публикации активов за час на сервере с 1 vCPU и 2 ГБ ОЗУ.

Задача

Uploading 39 finished assets to stock channels failed due to CSV header mismatches and risk of double‑posting, preventing the assets from being listed.

Результат

The four scripts automated metadata creation, upload tracking, document conversion, and packaging, enabling the author to produce 39 ready‑to‑upload stock assets in under an hour on a 1 vCPU, 2 GB RAM server.

Рабочий процесс

  • Run python make_metadata.py to generate a CSV with the exact header for the chosen platform.
  • Use python upload_tracker.py to list pending items and mark items as done after upload.
  • Convert markdown documents to PDFs with python md2pdf.py.
  • Package assets and generate covers with python pack_product.py.
  • Upload the resulting ZIP to the stock channel.
  • Maintain a folder layout with assets/, output/, packs/, research/, and scripts/.
  • Use a single‑core server with memory‑management practices such as gc.collect() and single‑process rendering.

Доказательства

Adobe wants 5 columns. Vecteezy wants 4. Dreamstime wants 15.

Источник

The double‑posting fix was the simplest script of the four.

Источник

Half my products are documents: guides, pattern sheets, license notes.

Источник

The last script bundles everything. pack_product.py zips the files and renders a cover at 1280×720 plus a thumbnail at 600×600.

Источник

The whole thing ran on 1 vCPU and 2 GB RAM, so a few habits carried the load: One process at a time. Never fan out image jobs in parallel on a 1-core box.

Источник

  • Дата записи: 2026-10-21T17:11:15.380Z