WintrCat / autoshorts

Automatic YouTube Shorts 🎬

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autoshorts

πŸš€ Running Locally

Prerequisites

  • Reasonably updated Node.js runtime installed
  • TypeScript package installed
  • Python 3.11 or later installed
  • ImageMagick installed

Instructions

  • git clone this repository or download as ZIP and extract it somewhere.
  • cd into the root directory of the project in a terminal.
  • npm run setup to install the required Python and Node.js packages.
  • npm start to start the webserver for the interface.
  • Go to localhost:8080 on your browser unless you have defined another port.
  • For chess videos, mark a move in your PGN as brilliant with !!, e.g Bxc3+!!.
  • Generated shorts are stored in the out directory, which you will find in the project folder.

πŸ“œ NPM Scripts

npm run setup Installs required Python and NPM packages.
npm run build Compiles TypeScript for web interface.
npm start Compiles TypeScript and starts web interface on localhost.

πŸ”‘ Environment Variables

PORT The port that the webserver running the interface listens on. Defaults to 8080.

About

Automatic YouTube Shorts 🎬

License:MIT License


Languages

Language:Python 58.2%Language:TypeScript 21.5%Language:JavaScript 10.0%Language:CSS 5.8%Language:HTML 4.5%