npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

peertube-plugin-sidebar-transcript

v1.0.2

Published

Adds a transcript sidebar to PeerTube embeds

Readme

Peertube Plugin Sidebar Transcript

A PeerTube plugin that adds a sliding transcript sidebar to the video player, allowing viewers to read and navigate captions in real time. Works on both the watch page and in OEmbed/iframe embeds.

Requirements

  • PeerTube >= 6.0.0
  • Videos must have at least one caption/subtitle file (WebVTT) uploaded

Installation

Via PeerTube Admin UI

  1. Navigate to Administration → Plugins/Themes
  2. Search for peertube-plugin-sidebar-transcript
  3. Click Install

Configuration

No global configuration is required. The plugin is self-contained and activates automatically on any video that has captions available.

Usage

The transcript sidebar is activated via the ?transcript=1 query parameter on the video or embed URL. When active:

  1. A ≡ (transcript) button appears in the player control bar.
  2. Clicking the button slides open a sidebar panel on the right side of the player.
  3. The sidebar displays all caption segments with timestamps. The currently playing segment is highlighted and auto-scrolled into view.
  4. Clicking any segment seeks the video to that timecode and begins playback.
  5. Clicking outside the sidebar or when the player becomes inactive, the sidebar closes automatically.

Sharing with transcript enabled

When a video has captions, a "Include transcript" checkbox is injected into the PeerTube share/embed modal. Checking it appends ?transcript=1 to the share URL so recipients see the transcript sidebar automatically.

Behaviour notes

  • Caption selection — the plugin uses the first available caption track returned by the PeerTube captions API (/api/v1/videos/{uuid}/captions).
  • VTT parsing — the client-side parser handles standard WebVTT timing lines (HH:MM:SS.mmm --> HH:MM:SS.mmm), normalising comma decimal separators and optional hour components.
  • Keyboard accessible — transcript segments are focusable and respond to Enter/Space for seeking.
  • Responsive — on viewports narrower than 300 px the sidebar expands to full width instead of a fixed 300 px panel.
  • Scopes — the client script is registered for both embed and common scopes, so the sidebar works on the main watch page as well as standalone embeds.
  • No-op when inactive — if ?transcript=1 is not present in the URL, no sidebar components are injected and no caption data is fetched, keeping overhead at zero for normal playback.

Limitations

  • Only the first caption track is displayed; there is no language selector within the sidebar.
  • Does not currently support live/streaming captions — only pre-uploaded VTT files.
  • The sidebar overlays the right edge of the video; on very narrow players the video area may become small.

Maintainers

  • University Library System, University of Pittsburgh

License

GNU AGPLv3