8000 GitHub - darkicerain/subtitle
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

darkicerain/subtitle

 
 

Repository files navigation

说明

本项目代码来自大佬chen310的replit库 当你看见本项目时,我默认你已经安装好了BilibiliPotplayer插件,如何安装请访问原项目

实现功能

为项目BilibiliPotPlayer实现弹幕功能 由于大佬提供的replit失效,vercel部署后不绑定自定义域名在境内无法访问, 但是绑定域名就可以了,因此可以通过本项目自行部署弹幕代理服务

部署教程

部署到vercel

Deploy with Vercel

手动部署

  1. fork本项目
  2. 使用github登录vercel
  3. 创建项目,选择刚刚fork的项目,点击import,然后直接deploy即可

1718706674907

  1. 出现success即可

1718709174622

  1. 修改Bilibili_Config.json中下面server字段为你在Vercel中设置的域名

修改前:

 "server": "https://subtitle.chen310.repl.co"

修改后:

 "server": "https://yourdomain.com"
  1. 重启Potplayer

自定义域名

vercel默认域名境内无法直接访问,请前往 Settings-domains添加一个自定义域名,DNS服务商使用Cloudflare的记得关闭小云朵

当出现访问你的域名出现 success即可

若你没有域名,可以直接使用我提供的 https://subtitle.lm379.gq

本地或服务器部署

  1. 安装Python3

如何安装请自行移步这里

  1. 拉取源码
git clone https://github.com/lm379/subtitle.git
  1. 安装依赖 pip3 install -r requirements.txt
  2. 运行
python3 main.py
  1. 测试:访问http://127.0.0.1:9999/或者http://{ip}:9999/ 出现success即可
  2. 修改Bilibili_Config.json中下面server字段为你的代理地址 修改前:
 "server": "https://subtitle.chen310.repl.co"

修改后:

 "server": "http://127.0.0.1:9999"
  1. 重启Potplayer

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0