Turn YouTube videos into articles!
Evan Reichard
d06914aaf1
All checks were successful
continuous-integration/drone/push Build is passing
|
||
---|---|---|
vreader | ||
.drone.yml | ||
.envrc | ||
.gitignore | ||
banner.png | ||
banner.xcf | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
MANIFEST.in | ||
pyproject.toml | ||
README.md | ||
shell.nix | ||
tailwind.config.js |
VReader allows you to take videos from YouTube and convert them into articles!
Running Server
# Locally (See "Development" Section)
export OPENAI_API_KEY=`cat openai_key`
vreader server run
# Docker Quick Start
docker run \
-p 5000:5000 \
-e OPENAI_API_KEY=`cat openai_key` \
-e DATA_PATH=/data
-v ./data:/data \
gitea.va.reichard.io/evan/vreader:latest
The server will now be accessible at http://localhost:5000
Configuration
Environment Variable | Default Value | Description |
---|---|---|
OPENAI_API_KEY | NONE | Required OpenAI API Key for ChatGPT |
DATA_PATH | NONE | Where to store the data |
Development
# Initiate
python3 -m venv venv
. ./venv/bin/activate
# Local Development
pip install -e .
# Creds & Other Environment Variables
export OPENAI_API_KEY=`cat openai_key`
# Docker
make docker_build_local