bilibili-subtitle  by IndieKKY

Browser extension for Bilibili subtitle management

created 2 years ago
782 stars

Top 45.6% on sourcepulse

GitHubView on GitHub
Project Summary

This browser extension for Bilibili enhances video consumption by providing a navigable subtitle list, download capabilities, summarization, and translation. It targets users who frequently watch educational or informative videos on Bilibili, aiming to improve comprehension and information extraction efficiency.

How It Works

The extension integrates directly with Bilibili video pages, displaying a panel with the video's available subtitles. Users can click on subtitle entries to jump to the corresponding timestamp in the video. It also offers features for downloading subtitles in various formats and summarizing or translating the content, potentially leveraging local AI models like Ollama.

Quick Start & Requirements

  • Install via Chrome Web Store or Edge Add-ons.
  • For local Ollama integration: set OLLAMA_ORIGINS environment variable to chrome-extension://bciglihaegkdhoogebcdblfhppoilclp, configure the extension with your Ollama server address (http://localhost:11434) and model name.
  • Development requires Node.js 18.15.0 and pnpm. Local debugging involves running pnpm run dev and loading the dist directory in the browser's extension management page.

Highlighted Details

  • Subtitle list display and timestamp jumping.
  • Subtitle download and copy functionality.
  • AI-powered subtitle summarization and translation.
  • Support for local Ollama models.

Maintenance & Community

  • Project issues can be reported on the GitHub Issues page.
  • Contribution guidelines are provided for code contributions.

Licensing & Compatibility

  • The project is licensed under the MIT License.
  • Compatible with Chrome and Edge browsers.

Limitations & Caveats

Local development may encounter CSP errors due to @crxjs/vite-plugin requiring manual modification of manifest.json to set use_dynamic_url to false for web_accessible_resources. Some local AI models (e.g., llama2 7b) may not return structured data required for certain summarization features.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
2
Star History
69 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.