GithubHelp home page GithubHelp logo

wintrcat / autoshorts Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 5.0 329.24 MB

Automatic YouTube Shorts ๐ŸŽฌ

License: MIT License

Python 58.20% TypeScript 21.48% JavaScript 10.02% CSS 5.82% HTML 4.48%

autoshorts's Introduction

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.

autoshorts's People

Contributors

wintrcat avatar wilsoncrunden avatar

Stargazers

Guijung Woo avatar APP-STOLZ avatar Annu avatar Reyso Teixeira avatar Ryan Sudhakaran avatar Dario Bizzo Marques Filho avatar broskicodes avatar Diego de Fabregas avatar Narasima Pandiyan  avatar  avatar Ghosti._. avatar  avatar hassan0exe avatar bunee avatar David Jeong avatar Aymen Hmani avatar Anish Chitra avatar

Watchers

 avatar  avatar

autoshorts's Issues

imagemagick

Spawning Python process...
Traceback (most recent call last): File "C:\Users[username]\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\video\VideoClip.py", line 1137, in init
subprocess_call(cmd, logger=None) File "C:\Users[username]\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\tools.py", line 46, in subprocess_call proc = sp.Popen(cmd, **popen_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users[username]\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users[username]\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] The system cannot find the file specified During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users[username]\OneDrive\Documents\autoshorts-master\src\lib\python\trivia.py", line 156, in produce_short( File "C:\Users[username]\OneDrive\Documents\autoshorts-master\src\lib\python\trivia.py", line 63, in produce_short editor.TextClip( File "C:\Users[username]\AppData\Local\Programs\Python\Python312\Lib\site-packages\moviepy\video\VideoClip.py", line 1146, in init
raise IOError(error)
OSError: MoviePy Error: creation of None failed because of the following error: [WinError 2] The system cannot find the file specified. .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.