Greasy Fork is available in English.

YouTube Alchemy

Toolkit for YouTube. Settings panels for easy customization. Features include: export transcripts to LLMs or download it as text files, prevent autoplay, hide shorts, disable play on hover, square design, auto theater mode, auto close chat window, adjust number of videos per row, display remaining time under a video adjusted for playback speed, persistent progress bar with chapter markers and SponsorBlock support, links in the header, and change or hide various ui elements.

نووسەر
TimMacy
Daily installs
1
Total installs
58
Ratings
1 0 0
وەشان
7.5.1
Created
2024-12-24
Updated
2025-02-06
Size
163 KB
مۆڵەت
GNU AFFERO GENERAL PUBLIC LICENSE-3.0
Applies to

YouTube Alchemy

This toolkit enhances YouTube by customizing the layout and adding seamless, native-feeling features. Designed to be resource-efficient, it primarily relies on event listeners while using timeouts and mutation observers strategically to minimize overhead. Furthermore, a main settings panel, along with three sub-panels, provide an intuitive interface for easy customization.

Settings Panels

  • Main Panel: To manage YouTube Transcript Exporter and export, import, or reset all settings to default.
    • Links in Header Panel: Add links to any URL next to the YouTube logo and hide the navigation bar.
    • Features & CSS Panel: Access top features like preventing autoplay, hiding Shorts, disabling play on hover, enabling a square design, auto-theater mode, auto-closing chat windows, adjusting the number of videos per row, and modifying or hiding various UI elements.
    • Color Code Videos Panel: Adds a customizable border to videos on the home page, reflecting their age and status.

YouTube Alchemy by Tim Macy


Youtube Default YouTube Alchemy by Tim Macy


YouTube Transcript Exporter

Adds buttons to the YouTube header to export a video's transcript to LLMs, with and without a prompt, or to download it as a text file.

  • Buttons with Color-Coded Interface in the Main Settings Panel
    • Button One | Green 🎧: Copies the transcript and opens NotebookLM.
    • Button Two | Blue 💬: Copies the transcript with a prompt for summarizing before opening ChatGPT.
    • Button Three | Red ↓: Downloads the transcript as a text file.
    • Button Four | White ⋮ Opens the main settings panel.
  • Transcript Formatting: Includes timestamps, chapter headers, video title, channel name, upload date, and URL.
  • Text File Naming Format
    • Title - Channel.txt (default)
    • Channel - Title.txt
    • uploadDate - Title - Channel.txt
    • uploadDate - Channel - Title.txt

Tip
The URLs for button one and two can be freele choosen as can the button icons. If a button field is empty, the button won't be added into the YouTube header. The settings button reverts back to default in case its field is empty.

Important
Due to the Same-Origin Policy (SOP) in web development, JavaScript cannot directly interact across different websites: i.e. while the script can copy the transcript to the clipboard from YouTube and open a link (e.g. ChatGPT or NotebookLM), the copied transcript must be pasted manually into the text field via CTRL+V (Windows/Linux) or CMD+V (macOS).

Additional messages are displayed at the button's location in the YouTube header to indicate the status of the Transcript Exporter.

Transcript Is Loading The transcript has to be loaded into the HTML before it can be used. This can take between a few milliseconds up to a couple of seconds—depending on the length of the video.
Live Video, No Transcript YouTube live streams don't have transcripts. Wait until the stream has finished and YouTube's API has processed the video.
Transcript Not Available YouTube's API needs a few minutes to process a new video and generate its transcript.
Transcript Failed to Load If the transcript fails to load, the Transcript Exporter will terminate. Reload the page to try again.

Main Settings Panel


Links in Header

Up to seven links can be added next to the YouTube logo. An empty 'Link Text' field won't insert the link into the header. If the left navigation bar is hidden, a replacement icon will prepend the links, while retaining the default functionality of opening and closing the sidebar.

Links in Header


Features & CSS

Offers various options to customize the layout and functionality of YouTube.

Features

  • Change Opacity of Watched Videos
  • Title Case Selection
    • normal-case
    • lowercase
    • uppercase
    • capitalize
  • Set Font Size
  • Adjust Number of Videos per Row
    • Home Page
    • Subscriptions Page
    • Channel Page
  • Prevent Autoplay
  • Disable Play on Hover
  • Auto Close Initial Chat Windows
  • Auto Theater Mode
  • Videos Tab as Default on Channel Page
  • Display Remaining Time Under a Video, Adjusted for Playback Speed—Even in Fullscreen
  • Persistent Progress Bar with Chapter Markers and SponsorBlock Support—Even in Fullscreen
  • Automatically Open Chapter Panels
  • Automatically Open Transcript Panels

Layout Changes

  • Square and Compact Search Bar
  • Square Design
  • Compact Layout
  • Hide Shorts

Modify or Hide UI Elements

  • Hide Voice Search Button in the Header
  • Hide Create Button in the Header
  • Hide YouTube Brand Text in the Header
  • Small Subscribed Button Under a Video—Displays Only the Notification Icon
  • Hide Join Button under a Video and on Channel Page
  • Display Full Titles
  • Choose Progress Bar Color
  • Hide Video Scrubber
  • Hide Video End Cards
  • Hide End Screens
  • Hide "Play Next" Button
  • Hide Share Button under a Video
  • Hide "Add Comment" Textfield
  • Hide Comment "Reply" Button
  • Hide Breaking News on Home
  • Hide Playlists on Home
  • Hide Mini Player
  • Hide Right Sidebar on Search Page
  • Hide Watched Videos Globally


Color Code Videos

Adds a customizable border to videos on the home page to visualy indicate their age and status, with an option to hide watched videos.

Color Code Videos


Changelog

  • 7.5.1: fixed missing setting for channel redirect default to videos tab
  • 7.5: name change to YouTube Alchemy. toggle for 'YouTube Transcript Exporter' added in main settings panel. general bug fixes and improvements. new Features: prevent autoplay, auto close initial chat windows, hide shorts, hide play next button, hide comment reply button, hide breaking news on home, hide playlists on home, hide right side bar on search.
  • 7.4: general bug fixes and improvements. reworked initiation of the script. new features: auto-open transcript panels, hide video end cards, hide end screens, hide join and share button under videos, small "subscribed" button (icon only), hide add comment text field, disable play on hover, hide main scrollbar in Safari, choose progress bar color
  • 7.3.5: General bug fixes and improvements. Reorganized the settings panel for upcoming features. New Features: Hide YouTube brand text in the header; Hide video scrubber (red dot in progress bar); Display full titles; and Auto Theater mode.
  • 7.3.1: fixed YouTube scrubber in progress bar
  • 7.3: New Features: Links in Header, Customize CSS, and Color Code Videos. Also optimized transcript loading and reset function.
  • 7.1: general bug fixes and improvements
  • 7.0: initial public release

License

This project is licensed under the AGPL-3.0 License. See the LICENSE file for details.