better youtube summary server
1.0.0
말 그대로 더 나은 YouTube 요약
이 프로젝트는 더 이상 유지되지 않습니다.
OpenAi는 "지원되지 않은 위치에서 API에 액세스하기 때문에 내 계정을 금지했기 때문에?
프론트 엔드 구현은 MTHLI/Better-Youtube-Summary-Extension에서 찾을 수 있습니다.
직접 배포하려면 bys.mthli.com
자신의 도메인으로 바꾸십시오.
현재이 프로젝트는 MACOS 13.3 (22E252)에서 개발되었습니다.
그러나이 프로젝트는 실제로 코딩을 위해 MacOS에서 실행할 수 없습니다 .
먼저 종속성을 다음과 같이 설치하십시오.
# 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 --dev
그런 다음 편집자를 열고 재미있게 보내십시오.
이 프로젝트는 Debian GNU/Linux 11 (Bullseye)에 배치해야합니다.
먼저 종속성을 다음과 같이 설치하십시오.
# Install 'nginx' if you don't have.
sudo apt-get install nginx
sudo systemd enable nginx
sudo systemd start nginx
# Install 'redis' if you don't have.
sudo apt-get install redis
sudo systemd enable redis
sudo systemd start redis
# Install 'certbot' if you don't have.
sudo apt-get install certbot
sudo apt-get install python3-certbot-nginx
# Install 'pm2' if you don't have.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install node # restart your bash, then
npm install -g pm2
pm2 install pm2-logrotate
# Install 'python3' if you don't have.
sudo apt-get install python3
sudo apt-get install python3-pip
# 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.
pip install --user pipenv
# Install all dependencies needed by this project.
pipenv install
pipenv install --dev
이 프로젝트를 실행하기 전에 :
redis-cli
로 ./rds.py
로 정의 된 openai_api_key
설정하십시오./bys.mthli.com.conf
to /etc/nginx/conf.d/
directory를 넣습니다sudo certbot --nginx -d bys.mthli.com
실행하십시오.sudo certbot renew
실행그런 다음 다음과 같이 명령을 실행합니다.
# Make sure you are not in pipenv shell.
pm2 start ./pm2.json
better-youtube-summary-server - Literally Better YouTube Summary.
Copyright (C) 2023 Matthew Lee
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.