Луна

Custom Tools for Web Tasks, Automation, and Extraction

This collection includes a variety of lightweight, ready-to-use scripts designed to enhance your productivity across the web.
From media extractors and automation tools to interface tweaks and helper functions, each snippet is focused, efficient, and easy to deploy.

Each WebBit is modular and customizable. Whether you want to save time, simplify repetitive actions, or extract content more easily, this toolkit is built for fast, on-demand use, and no external libraries required.


Integration

Most WebBits can be used in one of the following ways:

  1. For browser-based actions (extraction, automation, media tools):
    ✓  Run directly in the browser console.
    ✓  Save as bookmarks (bookmarklets) or inject via extensions.
    ✓  Modify and reuse as needed for personal workflows.
  2. For styling and interface tweaks (CSS/JS):
    ✓  Paste into HFCM or the Additional CSS section in WordPress.
    ✓  Use custom HTML blocks for scripts that include markup.
    ✓  Always check selectors and IDs to ensure compatibility with your current theme or layout.

A warning note for sensitive tools (e.g. YouTube downloaders)
A category heading structure like: Media Extractors, Page Tweaks, Console Hacks, UI Automation, Dev Utilities


Description

This script automatically compresses videos in .mp4, .mov, .avi, or .mkv format to produce output files close to 50 MB, regardless of the original size or duration.
Outputs H.265 .mp4 files into a converted_target folder.

It works by calculating the ideal video bitrate based on the video’s duration, reserving a portion for audio, and using the remaining bandwidth for video quality. The output is a visually balanced .mp4 file that’s light enough to store, send, or upload while still looking good.

Description

This script automatically downloads subtitles (closed captions) from any YouTube video and converts them into clean text files.
Outputs two versions: a line-by-line transcript (following the video flow) and a paragraph-style transcript (easy to read like an article).

It works by fetching the subtitle track (auto-generated or uploaded), removing timestamps and duplicate lines, and saving the results neatly into a new folder named after the video. The output is lightweight, well-structured, and ready for reading, editing, or repurposing.