podcast-summarizer 0.3.1

Creator: railscoder56

Last updated:

Add to Cart

Description:

podcastsummarizer 0.3.1

podcast-summarizer


Summarizes a podcast from an audio or transcription using ChatGPT.
Instalation
pip install podcast-summarizer

Usage
# Summarize a podcast audio from an URL.
podcast-summarizer http://.../audio.mp3

# Summarize a podcast audio from an YouTube video.
podcast-summarizer https://www.youtube.com/watch?v=...

# Summarize a podcast audio from local file.
podcast-summarizer audio.mp3

# Summarize a podcast audio and save transcription and summary to files.
podcast-summarizer -t transcription.txt -s summary.txt audio.mp3

# Summarize an already transcribed podcast
podcast-summarizer transcription.txt

Setup
You'll need to install ffmpeg before running the script.
# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on Arch Linux
sudo pacman -S ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

The script expects an environment variable called OPEN_API_KEY.

Get an OpenAI API Key
Add the key to your OPEN_API_KEY environment variable:



If you use bash:
echo 'export OPENAI_API_KEY={your api key}' >> ~/.bash_profile && source ~/.bash_profile



If yu use zsh:
echo 'export OPENAI_API_KEY={your api key}' >> ~/.zshenv && source ~/.zshenv

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.