You've already forked bilibili-subtitle
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
51a7e998b9 | ||
![]() |
556ccef4b2 | ||
![]() |
42b719fb98 | ||
![]() |
fa66445466 | ||
![]() |
d711b2abf8 | ||
![]() |
47fcb1de11 | ||
![]() |
be3d3624bc | ||
![]() |
910b1ce6d9 |
@@ -12,9 +12,10 @@ const [major, minor, patch, label = '0'] = version
|
|||||||
.split(/[.-]/)
|
.split(/[.-]/)
|
||||||
|
|
||||||
export default defineManifest(async (env) => ({
|
export default defineManifest(async (env) => ({
|
||||||
"name": "哔哔君 - 哔哩哔哩字幕列表",
|
"name": '__MSG_appName__',
|
||||||
"description": "显示B站视频的字幕列表,可点击跳转与下载字幕,并支持翻译和总结字幕!",
|
"description": '__MSG_appDescription__',
|
||||||
"version": `${major}.${minor}.${patch}`,
|
"version": `${major}.${minor}.${patch}`,
|
||||||
|
"default_locale": "zh_CN",
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"sidePanel",
|
"sidePanel",
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "bilibili-subtitle",
|
"name": "bilibili-subtitle",
|
||||||
"version": "1.11.6",
|
"version": "1.11.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "哔哩哔哩字幕列表",
|
"description": "哔哩哔哩字幕列表",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
8
public/_locales/zh_CN/messages.json
Normal file
8
public/_locales/zh_CN/messages.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"appName": {
|
||||||
|
"message": "哔哔君 - bilibili哔哩哔哩字幕列表"
|
||||||
|
},
|
||||||
|
"appDescription": {
|
||||||
|
"message": "显示B站视频的字幕列表,可点击跳转与下载字幕,并支持翻译和总结字幕!"
|
||||||
|
}
|
||||||
|
}
|
BIN
public/bibigpt.png
Normal file
BIN
public/bibigpt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
@@ -304,22 +304,22 @@ const Body = () => {
|
|||||||
{/* </button>} */}
|
{/* </button>} */}
|
||||||
{/* </div> */}
|
{/* </div> */}
|
||||||
<div className='flex flex-col'>
|
<div className='flex flex-col'>
|
||||||
{/* <div className='flex flex-col items-center text-center py-2 mx-4 border-t border-t-base-300'> */}
|
<div className='flex flex-col items-center text-center py-2 mx-4 border-t border-t-base-300'>
|
||||||
{/* <div className='font-semibold text-accent flex items-center gap-1'><img src='/bibigpt.png' */}
|
<div className='font-semibold text-accent flex items-center gap-1'><img src='/bibigpt.png'
|
||||||
{/* alt='BibiGPT logo' */}
|
alt='BibiGPT logo'
|
||||||
{/* className='w-8 h-8'/>BibiGPT */}
|
className='w-8 h-8'/>BibiGPT
|
||||||
{/* </div> */}
|
</div>
|
||||||
{/* <div className='text-sm px-2 desc'>这是<span className='text-amber-600 font-semibold text-base'>网页</span>版的字幕列表,支持<span */}
|
<div className='text-sm px-2 desc'>这是<span className='text-amber-600 font-semibold text-base'>网页</span>版的字幕列表,支持<span
|
||||||
{/* className='font-semibold'>任意</span>视频提取字幕总结(包括没有字幕的视频) */}
|
className='font-semibold'>任意</span>视频提取字幕总结(包括没有字幕的视频)
|
||||||
{/* </div> */}
|
</div>
|
||||||
{/* <div className='flex gap-2'> */}
|
<div className='flex gap-2'>
|
||||||
{/* <a title='BibiGPT' href='https://bibigpt.co/r/bilibili' */}
|
<a title='BibiGPT' href='https://bibigpt.co/r/bilibili'
|
||||||
{/* onClick={(e) => { */}
|
onClick={(e) => {
|
||||||
{/* e.preventDefault() */}
|
e.preventDefault()
|
||||||
{/* openUrl('https://bibigpt.co/r/bilibili') */}
|
openUrl('https://bibigpt.co/r/bilibili')
|
||||||
{/* }} className='link text-sm text-accent'>✨ BibiGPT ✨</a> */}
|
}} className='link text-sm text-accent'>✨ BibiGPT ✨</a>
|
||||||
{/* </div> */}
|
</div>
|
||||||
{/* </div> */}
|
</div>
|
||||||
<div className='flex flex-col items-center text-center py-2 mx-4 border-t border-t-base-300'>
|
<div className='flex flex-col items-center text-center py-2 mx-4 border-t border-t-base-300'>
|
||||||
<div className='font-semibold text-accent flex items-center gap-1'><img src='/youtube-caption.png'
|
<div className='font-semibold text-accent flex items-center gap-1'><img src='/youtube-caption.png'
|
||||||
alt='youtube caption logo'
|
alt='youtube caption logo'
|
||||||
|
@@ -27,7 +27,7 @@ import toast from 'react-hot-toast'
|
|||||||
import {useBoolean, useEventTarget} from 'ahooks'
|
import {useBoolean, useEventTarget} from 'ahooks'
|
||||||
import {useEventChecked} from '@kky002/kky-hooks'
|
import {useEventChecked} from '@kky002/kky-hooks'
|
||||||
import { useMessage } from '@/hooks/message'
|
import { useMessage } from '@/hooks/message'
|
||||||
import { FaChevronDown, FaChevronUp } from 'react-icons/fa'
|
import { FaChevronDown, FaChevronUp, FaGripfire } from 'react-icons/fa'
|
||||||
|
|
||||||
const OptionCard = ({ title, children, defaultExpanded = true }: { title: React.ReactNode; children: React.ReactNode; defaultExpanded?: boolean }) => {
|
const OptionCard = ({ title, children, defaultExpanded = true }: { title: React.ReactNode; children: React.ReactNode; defaultExpanded?: boolean }) => {
|
||||||
const [isExpanded, setIsExpanded] = useState(defaultExpanded);
|
const [isExpanded, setIsExpanded] = useState(defaultExpanded);
|
||||||
@@ -261,14 +261,15 @@ const OptionsPage = () => {
|
|||||||
<div>服务器地址:<a className='link link-primary'
|
<div>服务器地址:<a className='link link-primary'
|
||||||
onClick={() => setServerUrlValue(DEFAULT_SERVER_URL_OPENAI)}
|
onClick={() => setServerUrlValue(DEFAULT_SERVER_URL_OPENAI)}
|
||||||
rel='noreferrer'>点击设置</a></div>
|
rel='noreferrer'>点击设置</a></div>
|
||||||
{/* <div className='flex justify-center font-semibold'>【第三方代理】</div> */}
|
<div className='flex justify-center font-semibold'>【第三方国内代理】</div>
|
||||||
{/* <div>代理网址:<a className='link link-primary' href='https://api.openai-up.com/register?aff=varM' */}
|
<div>代理网址:<a className='link link-primary' href='https://api.kksj.org/register?aff=ucVc'
|
||||||
{/* target='_blank' */}
|
target='_blank'
|
||||||
{/* rel="noreferrer">点击访问</a></div> */}
|
rel="noreferrer">点击访问</a></div>
|
||||||
{/* <div>服务器地址:<a className='link link-primary' */}
|
<div>服务器地址:<a className='link link-primary'
|
||||||
{/* onClick={() => setServerUrlValue('https://api.openai-up.com')} */}
|
onClick={() => setServerUrlValue('https://api.kksj.org')}
|
||||||
{/* rel='noreferrer'>点击设置</a></div> */}
|
rel='noreferrer'>点击设置</a></div>
|
||||||
{/* <div className='text-amber-600 flex justify-center items-center'><FaGripfire/>目前价格不到官方价格的6折<FaGripfire/></div> */}
|
<div className='text-amber-600 flex justify-center items-center'><FaGripfire/>目前0.9人民币可充值1美元(约官方价格1/8)<FaGripfire/></div>
|
||||||
|
<div className='text-amber-600 flex justify-center items-center'><FaGripfire/>国内可访问,无需🪜<FaGripfire/></div>
|
||||||
</div>
|
</div>
|
||||||
</div>}
|
</div>}
|
||||||
{(!aiTypeValue || aiTypeValue === 'openai') && <FormItem title='模型选择' htmlFor='modelSel' tip='注意,不同模型有不同价格与token限制'>
|
{(!aiTypeValue || aiTypeValue === 'openai') && <FormItem title='模型选择' htmlFor='modelSel' tip='注意,不同模型有不同价格与token限制'>
|
||||||
|
Reference in New Issue
Block a user