A lightweight, client-side utility hub designed to clean up text for LLMs and process small media files. It runs entirely in your browser without external servers, databases, or account requirements.
- Workspace Editor: A minimalist text area for editing
.txt,.md, and.pyfiles. - Space Stripper: Removes excessive double-line breaks from pasted text to condense formatting and save LLM context tokens.
- Video & Audio Trimmer: Uses
ffmpeg.wasmto cut MP4, WebM, and MP3 files locally. It handles files up to 500MB. - CC Fetcher Extension: A companion Chromium extension that pulls raw closed captions directly from YouTube video pages and sends them to your workspace.
The project consists of a static web app and a browser extension.
Because the video trimmer relies on WebAssembly, the browser requires specific Cross-Origin-Isolation headers to function correctly. You cannot just double-click the HTML file if you want to use the trimmer.
- Open your terminal in the project directory.
- Run the included server script:
./serve.sh. - Open
http://localhost:8080in your browser.
- Open Brave or Google Chrome and navigate to
chrome://extensions/. - Toggle "Developer mode" on in the top right corner.
- Click "Load unpacked" and select the
extensionfolder located in this repository.
Navigate to a YouTube video. Click the CC Fetcher extension icon and select "Fetch Captions". Once loaded, click "Send to ahmotools" to push the text directly into your local workspace tab.
Paste your text into the Workspace tab. Click "Strip Spaces" to automatically remove blank lines and trailing whitespace. You can export the cleaned result as a .txt, .md, or .py file.
Switch to the Video Trimmer tab. Drop a supported media file into the drop zone. Input your start and end times in seconds, then click "Trim". The file processes locally in your browser's memory and downloads automatically when finished.
