a website frontend for Vosk-api
Running on Ubuntu.
- install vosk --> https://alphacephei.com/vosk/install
- install apache2 and php , and ffmpeg (for audio/video convert to correct stream for vosk)
- setup custom or default apache site location
- get this git (modified from : https://github.com/Sanmeet007/file-manager.git
- place webroot into apache site dir, and place the coskroot dir outside of it.
- in the voskrook get the vosk-api and model's
- git clone vosk-api --> https://github.com/alphacep/vosk-api
- wget model zipfiles from https://alphacephei.com/vosk/models
- unzip and rename folder to 'model'. (where ever your running the main vosk script, this model folder needs to be in the same dir.)
- check sudoers to allow apache user 'www-data' to run script.
check the links from index.php/load.php/load_folders.php for pointing to the voskroot files dir. (where you will upload audio and download transcripts) check pointer links in transcribe.php to point to your voskroot dir, vosk script. check the vosk-api python script to point to your voskroot for output of text file. by accessing your apache server, http://(ip-address)/index.php you can view the file manager, upload files, and initiate the vosk transcriber to output to a text file.