Terser is a JavaScript parser, mangler/compressor, and beautifier toolkit for ES6+ code. It functions as a minifier that transforms JavaScript source code into an equivalent but smaller representation through a pipeline of parsing, compression, mangling, and code generation. The architecture is modular and library-based, with a CLI entry point (bin/terser) and programmatic API (main.js). Key data flows involve: input JavaScript → AST generation (lib/parse.js) → compression passes (lib/compress/) → variable/property mangling (lib/scope.js, lib/propmangle.js) → output code generation (lib/output.js) with optional source map handling (lib/sourcemap.js). External dependencies include @jridgewell/source-map for source maps and yargs for CLI argument parsing, with internal implementations for parsing and AST transformations.
ytDownloader is a cross-platform desktop application built with Electron that provides a graphical interface for downloading videos and audio from YouTube and hundreds of other sites using yt-dlp as the backend download engine. It features a comprehensive download manager supporting single downloads, playlists, and YouTube search, with options for format selection, quality, subtitles, compression, and output templates. The application manages its own yt-dlp and ffmpeg binaries, supports auto-updates, and includes a download history with JSON/CSV export, theming, internationalization (23+ languages), system tray integration, and a global hotkey for quick URL pasting. Architecture: The application follows a standard Electron architecture with a main process (main.js) handling window management, IPC handlers, auto-updater, system tray, and global hotkey. A preload script (preload.js) sets up a context bridge (electronAPI) that exposes filesystem operations, process spawning, clipboard access, and other OS services to the renderer. The renderer process consists of several JavaScript modules (src/index.js, src/playlist.js, src/compressor.js, src/preferences.js, src/history_ui.js, src/common.js) that handle specific views. Communication between renderer and main process occurs via Electron's IPC mechanism (ipcRenderer/ipcMain). User preferences are stored in localStorage and a JSON config file, while download history is persisted as JSON. Key entry points: main.js (Electron main process), preload.js (context bridge), html/index.html (single-page UI shell), src/renderer.js (main renderer logic with YtDownloaderApp class), src/index.js (homepage downloader), src/playlist.js (playlist downloader), src/compressor.js (video compressor), src/preferences.js (settings), src/history_ui.js (history view). External dependencies include yt-dlp (download engine), ffmpeg/ffprobe (media processing), Electron (framework), electron-builder (packaging), electron-updater (auto-updates), systeminformation (GPU detection), and SlimSelect (custom dropdowns). The application bundles these binaries or uses system-installed versions, with fallback mechanisms.
This repository is a collection of professional-grade audio effect and instrument plugins (VST3/AU/LV2/Standalone) originally by Bram @ Smartelectronix and Tobybear, ported from legacy VST2/Delphi code to the modern JUCE 8 framework. It contains 11 distinct plugins including an oscilloscope (Smexoscope), pitch shifter (Madshifta), compressor (H2O), waveshaper (Cyanide2), phaser (SupaPhaser), delay (Bouncy), granular trigger (SupaTrigga), bitcrusher (Bitmurderer), reverb simulator (AnechoicRoomSimulator), synth (OnePingOnly), and multi-effect (CrazyIvan). The architecture is a collection of independent JUCE AudioProcessor subclasses, each with its own DSP logic and custom UI components built from film-strip assets. The modern codebase follows a consistent pattern: APVTS parameter management, binary-embedded resources, and CMake-based build with CI/CD via GitHub Actions. The repository also preserves the original VST2/AU source code in a legacy/ directory for reference. The primary value lies in the reusable UI widgets (FilmStripKnob, SplashOverlay) and the well-isolated DSP algorithms (multitap delay, spline-based waveshaping, polyphase resampling), which demonstrate non-obvious engineering skill in real-time audio optimization. There is some code duplication across plugins and a few incomplete GUI ports, but the overall quality is solid and the modern code is cleanly structured.