Skip to content

A frontend for youtube that shows transcripts instead of videos.

License

Notifications You must be signed in to change notification settings

thavelick/youtranscript

Repository files navigation

youTranscript

Maintainability

A frontend for youtube that shows transcripts instead of videos.

Instances

Installation and Usage

  1. Clone
git clone https://github.com/thavelick/youtranscript && cd youtranscript
  1. Start the server
# Make sure to use a real invidious host here
YOUTRANSCRIPT_INVIDIOUS_HOST=your-favorite.invidious.host ./youtranscript.py
  1. Open your browser to http:https://localhost:8008/

Environment variables

  • YOUTRANSCRIPT_INVIDIOUS_HOST: optional - the hostname of the invidious instance to use to pull youtube transcripts and search results. For a list of available instances check: https://api.invidious.io/. Make sure you pick one with a checkmark for API. If not set a random server listed at https://api.invidious.io/ will be used

Urls

The urls should mostly correspond to youtube.com ones, so you can replace https://youtube.com with http:https://localhost:8008/ and it will work.

Dependencies

  • Python 3.9

TODO

  • Add accessibility features
  • Add punctuation restoration to auto-generated transcripts
  • Add some copy to the homepage about how cool this is
  • Add a way to show the transcripts in a different language
  • Responsive design
  • Add channel page
  • Add RSS feeds
  • More info on search results page
  • Rename the search results page to match youtube:
    • Use search_query instead of search_term
    • Rename to /results
  • Highlight current cue in transcript during audio playback, Also:
    • Pause the audio when the user clicks on the currently playing cue
    • Play the audio when the user clicks on a cue
    • Scroll the page to the currently playing cue as the audio plays
  • search result paging
  • optimize for text based-browsers and screen readers
    • don't use the <details> tag even though it's awesome
    • move the Description to the bottom of the page so the transcript is more prominent (maybe add a link to the description towards the top)
    • don't rely on css to hide javascript-only elements. This doesn't work in all browsers
    • add alt text to search result thumbnails, even if it's just "thumbnail for {video_title}"

Created By

About

A frontend for youtube that shows transcripts instead of videos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published