Giter Club home page Giter Club logo

ai-shorts-generator's Introduction

Project Name

Table of Contents

Introduction

(Provide a brief introduction about your project here)

Frontend Setup

  1. Navigate to the front directory.
    cd front
  2. Install the required dependencies.
    npm install
  3. Start the development server.
    npm run dev

The frontend is now up and running!

Backend Setup

Linux Environment

The backend requires a Linux environment due to certain C++ dependencies. For Windows users, Windows Subsystem for Linux 2 (WSL2) is recommended.

Installing Dependencies

  1. Navigate to the back directory.
    cd back
  2. Install Redis and ffmpeg. Here's a simple command for Ubuntu.
    sudo apt update
    sudo apt install redis-server ffmpeg
  3. Install edge-tts dependencies. you will need to have python and pip installed. Here's a simple command for Ubuntu.
    pip install edge-tts
  4. install whisper for transcription. Here's a simple command for Ubuntu.
    pip3 install --upgrade  --force-reinstall git+https://github.com/linto-ai/whisper-timestamped
  5. install Google Chrome for puppetee if not already installed. Here's a simple command for Ubuntu.
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

sudo dpkg -i google-chrome-stable_current_amd64.deb

sudo rm google-chrome-stable_current_amd64.deb

If you face any dependency issues, you can resolve them by running:

sudo apt-get install -f
  1. Install the necessary Node.js dependencies.
    npm install

Running Redis

After installing Redis, run it by executing the following command:

sudo service redis-server start

Running the Backend

Start the backend server.

npm run dev

The backend server should now be running successfully!

For any issues, please raise a ticket in the Issues section of this repository.

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.