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ก่อนเรียกใช้โครงการนี้:
openai_api_key ที่กำหนดไว้ใน ./rds.py ด้วย redis-cli./bys.mthli.com.conf ถึง /etc/nginx/conf.d/ ไดเรกทอรีsudo certbot --nginx -d bys.mthli.com เพื่อสร้างใบรับรองหรือsudo certbot renew เพื่อหลีกเลี่ยงใบรับรองหมดอายุหลังจาก 90 วันจากนั้นเพียงแค่เรียกใช้คำสั่งดังต่อไปนี้:
# 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/>.