字面上更好的 YouTube 总结
Literally Better YouTube Summary This project is no longer maintained,
because OpenAI banned my account due to "accessing the API from an unsupported location"
The frontend implementation can be found in mthli/better-youtube-summary-extension.
If you want to deploy it yourself, please replace the bys.mthli.com with your own domain.
Currently this project is developed on macOS 13.3 (22E252).
But this project can't run on macOS actually, just for coding.
First install dependencies as follow:
# Install 'redis' if you don't have.
# https://redis.io/docs/getting-started/installation/install-redis-on-mac-os
brew install redis
brew services start redis
# Install 'python3' if you don't have.
brew install python3
# Install 'pyenv' if you don't have.
# https://github.com/pyenv/pyenv#automatic-installer
curl https://pyenv.run | bash
# Install 'pipenv' if you don't have.
pip3 install --user pipenv
# Install all dependencies needed by this project.
pipenv install
pipenv install --devThen just open you editor and have fun.
This project should be deployed to Debian GNU/Linux 11 (bullseye).
First install dependencies as follow:
…Before run this project:
openai_api_key defined in ./rds.py with redis-cli./bys.mthli.com.conf to /etc/nginx/conf.d/ directorysudo certbot --nginx -d bys.mthli.com to generate certificates, orsudo certbot renew to avoid certificates expired after 90 daysThen just execute commands as follow:
# Make sure you are not in pipenv shell.
pm2 start ./pm2.json…暂无开放 Issues,或尚未同步最近议题。