#! /usr/local/bin/abs echo(" * Remux the .ts to .mp4 ") echo(" [Press Enter When Complete...]") _ = stdin() echo(" * Temporarily serve the mp4 using `npx http-server ./serve` ") echo(" [Press Enter When Complete...]") _ = stdin() echo(" * Generate a thumbnail -- bash <(curl -fsSL https://gitea.futureporn.net/futureporn/fp/raw/branch/main/packages/scripts/thumbnail-generator.sh) ./projektmelody-chaturbate-2025-02-12.mp4") echo(" * Upload the .mp4 to Mux ") echo(" * Upload the .mp4 to Backblaze ") echo(" * Add the .mp4 to IPFS -- sudo -u ipfs ipfs add --cid-version=1 ./projektmelody-chaturbate-2025-02-12.mp4") echo(" * Remote pin the IPFS CID") echo(" [Press Enter When Complete...]") _ = stdin() echo(" * Create a B2 File (.mp4) in Strapi") echo(" * Create a B2 File (thumbnail) in Strapi") echo(" * Create a Mux asset in Strapi") echo(" * Create a VOD in Strapi") echo(" * Publish VOD") echo(" [Press Enter When Complete...]") _ = stdin() echo(" * Notify Discord of new VOD") echo(" [Press Enter When Complete...]") _ = stdin() echo(" * Backup the database") echo(" [Press Enter When Complete...]") _ = stdin()