Skip to content

BadIdeaFactory/skyppy

Repository files navigation

Skyppy

Speech is overrated - skyp it

Everyone's talking and nobody's listening. What if we could reduce conversations to the gaps in between and while we're at it perhaps remove that pesky intro music. No music, no speaking - life would be so much better - this is the promise of Skyppy - a new app to let you concentrate on the good parts of YouTube videos.

We use a number of open source libraries to do the tricky bits, such as ...

  1. the fabulous inaspeechsegmenter a segmenter that uses tensorflow to split audio tracks up into supposed male, female, music and noenergy catagories.

  2. the legendary youtube-dl for which we have so much love. ♥️

Uses

  • skypping the annoying male voices in videos (we appreciate that gender is fluid but you can assign genders yourself)
  • skypping all the speech in videos (let's face it - we can understand a lot just from gestures and facial expressions)
  • skypping the music (let's get to the point shall we)
  • skypping the noise (life is too noisy already)
  • skypping the silence (who needs pregnant pauses - life is too short)

Installation (Docker)

Required : Docker Compose

  1. Install Docker
  2. Run Docker
  3. Open a terminal and running the following commands
docker build --tag skyppy .
docker run --rm -p 8080:8080 skyppy
  1. Navigate to http://0.0.0.0:8080/ in your browser.
  2. No hot reload yet. You need to close (ctrl+c) and restart with
docker build --tag skyppy .
docker run --rm -p 8080:8080 skyppy

or alternatively run sh active_docker.sh

  1. If you want to maintain any downloaded data, use docker run -p 8080:8080 skyppy instead of docker run --rm -p 8080:8080 skyppy

Installation for Developers – Poetry Version (Linux only for now, we're working on Mac)

  1. Install python 3.8 and other dependencies
sudo apt-get install -y \
    python3.8 \
    python3-pip \
    python3-dev \
    libpq-dev \
    ffmpeg
  1. Install Poetry
curl -sSL https://install.python-poetry.org | python3 -
  1. If you receive a certificate error try:
 python3 -m pip install --upgrade certifi

On MacOS you may also need to

open /Applications/Python\ 3.8/Install\ Certificates.command

Note – 3.8 is used above but your version may vary.

If you are using zsh You may also need to alter your .zshrc to include something like:

export PATH="$HOME/.poetry/bin:$PATH"

or wherever it installed poetry.

  1. Install Skyppy

In your chosen directory...

poetry install
  1. RUN Skyppy
poetry run start