GithubHelp home page GithubHelp logo

pdf-read-aloud's Introduction

Laravel Logo

๐Ÿ™ Installation

First, Clone this Repo into your local machine

git clone https://github.com/raj4rachit/PDF-Read-Aloud.git

Rename to .env.example file to .env file and add related information like Database, App URl, etc..

After run this command

composer install

Run Database migration

Next, please add these keys to your .env file:

GOOGLE_APPLICATION_CREDENTIALS="Path to your google cloud application credential json file"

Download ffmpeg.exe for windows from this URL (https://phoenixnap.com/kb/ffmpeg-windows)

For linux using the following command:

sudo apt-get install ffmpeg

please add these ffempg.exe file path to your .env file:

FFMPEG_PATH="Path to your ffepeg.exe file"

After change command in TTSController.php file on line# 144

// For windows
$ffmpegPath = env('FFMPEG_PATH');; //storage_path('app/public/ffmpeg.exe');
$command = "\"$ffmpegPath\" -y -f concat -safe 0 -i " . escapeshellarg($concatFile) . " -c copy " . escapeshellarg($outputPath);

// For Linux
//$command = 'ffmpeg -y -f concat -safe 0 -i ' . escapeshellarg($concatFile) . ' -c copy ' . escapeshellarg($outputPath);

Authentication Please see our Authentication guide for more information on authenticating your client.

๐Ÿ“„ License

The MIT License (MIT). Please see LICENSE for more information.

pdf-read-aloud's People

Contributors

rachitradflow avatar raj4rachit avatar

Watchers

 avatar

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.