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/ディレクトリ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/>.