Bash Script Skeleton Generator - Online Template
Get a safe, ready‑to‑use Bash script template with argument parsing, error handling, and help function. Start scripting faster.
UD5 Toolkit
Generate a complete userscript skeleton with metadata, grants, and ready-to-use code templates.
Define which pages the script should run on.
Select the GM_* APIs your script needs.
@name, @match, @grant) that tell Tampermonkey when and how to execute the script.@match uses a strict pattern-matching syntax defined by Chrome's Match Patterns specification — it's more predictable and secure. @include is the older Greasemonkey-style glob pattern that's more flexible but less strict. Tampermonkey recommends using @match whenever possible. Our generator defaults to @match patterns for better compatibility and security.@grant declares which special GM_* APIs your script needs access to (like GM_setValue for storage or GM_xmlhttpRequest for cross-origin requests). This is a security feature — scripts can only use the APIs they explicitly request. If no @grant is specified, the script runs in the page's context without access to GM APIs. You can also use @grant none explicitly.document-start executes before any page scripts or DOM is loaded — ideal for blocking content or polyfills. document-end fires right after the DOM is ready but before images/iframes finish loading. document-idle (the default) waits until the page is fully loaded and idle — best for most DOM manipulation tasks. Choose based on when your script needs to interact with the page.console.log() for debugging output. For advanced debugging, you can add debugger; statements in your code to set breakpoints. The GM_log() function also writes to Tampermonkey's internal log if granted.@require directive to include external libraries. For example, add // @require https://code.jquery.com/jquery-3.7.1.min.js to your metadata block. The library will be loaded before your script runs. You can add multiple @require lines for different libraries. Our generator's "Advanced Options" section lets you add any number of @require URLs.@connect whitelists domains that your script can make requests to via GM_xmlhttpRequest. Without it, cross-origin requests to domains not listed in @connect will fail. You can specify exact domains like api.example.com or use wildcards like *.example.com. This is a security measure to prevent malicious scripts from exfiltrating data to unknown servers.@match pattern to all sites.'use strict'; at the top of your code to catch common JavaScript errors early.(function(){ ... })(); to avoid polluting the global namespace.GM_xmlhttpRequest, always handle both onload and onerror callbacks for robust error handling.@version updated so Tampermonkey can notify users of updates when using @updateURL.Get a safe, ready‑to‑use Bash script template with argument parsing, error handling, and help function. Start scripting faster.
Build a CSS media query by selecting feature, operator, and value. Copy the exact syntax for your stylesheet.
Keep a virtual pet alive by feeding, playing, and cleaning. Its state persists in localStorage. Come back or it gets sad.
Generate random dungeon maps with rooms and corridors. Use for tabletop RPGs. Every layout is unique. Export as image.
Create unique magic spell names with descriptions. Perfect for Dungeons & Dragons and creative writing.
Generate a silly or absurd company policy item. Perfect for a quick laugh during a dull meeting. Local fun.
Paste a media query and instantly check for syntax errors. See if it's correctly formed. Quick developer tool.
Feed, play, and care for a cute pixel pet inside your browser. Its state persists via localStorage. Don't let it die!
Combine different animal parts to generate a unique mythical creature with a name and lore. Download the collage.
Generate SHA‑3 and SHAKE hashes of any text with configurable output length. All local using js library.
Enter hex codes and download a PNG swatch image with color names. Useful for design spec documents. Built via canvas.
Generate a random art style name (e.g., 'Baroque cyberpunk oil painting') for inspiration or AI image generation.
Generate a BLAKE3 hash of any text or file. Extremely fast. Perfect for checksums and content addressing. Local.
Upload an image and get its BlurHash string along with a tiny preview. Use for progressive loading. Pure JavaScript.
Paste text or drop a file and get checksums in multiple formats simultaneously. Compare with original. All local.
Create a random video game premise with a setting, protagonist, and twist. For game jams and creative writing. All local.
Get three random words as a creative writing prompt. Challenge yourself to use them in a story. No repeat for a while.
Stuck deciding what to cook? Generates random meal suggestions from a curated list. Filter by protein, cuisine, or cooking time. Save favorites locally.
Generate placeholder images with custom dimensions, background color, and text. Supports SVG and raster output. Perfect for wireframing and mockups.
Create beautiful, vowel‑heavy names perfect for elves, magical beings, or startups. One‑click generation. Pure frontend.
Generate a small logic puzzle grid (like Einstein’s riddle) with clues. Solve in browser or print. Local generation.
Transform images into halftone dot patterns or pointillist art. Adjust dot size and background. Processed in your browser, no upload.
Upload a small pixel art image and get a CSS grid layout that recreates it using divs. Novelty developer tool.
Upload one image at multiple widths and generate the complete img srcset and sizes attributes. Perfect for performance.
Apply a pixel sorting glitch effect to your photo. Sort pixels by brightness, hue, or saturation. Create abstract art. Canvas.
Get a beautiful, hand‑picked color combination instead of purely random. Each palette has a name and copyable hex codes.
Upload multiple sizes of the same image and generate the complete srcset and sizes attributes. For perfect responsive performance.
Paste image URLs and generate a responsive masonry or justified gallery layout with lightbox. Copy the HTML/CSS/JS.
Interactively create colors in HWB space and get the CSS hwb() function. Simplifies tint/shade workflows. Live preview.
Connect a MIDI controller and see every message in a log. Filter by channel and type. Essential for debugging music apps.