Tampermonkey Script Skeleton - Online UserScript Generator
Fill in name, match URL, and description to get a ready‑to‑edit UserScript header. Start your browser extension easily.
UD5 Toolkit
Generate production-ready Bash script templates with best practices built-in. Error handling, logging, colors, argument parsing — all configurable.
Everything you need to know about Bash scripting best practices
set -euo pipefail is considered the "strict mode" for Bash. set -e exits on any command failure, set -u treats unset variables as errors, and set -o pipefail ensures a pipeline fails if any command in it fails. Together they catch bugs early and prevent scripts from continuing in an unexpected state.
\033[0;31m sets red text and \033[0m resets it. Common codes include: Red (31), Green (32), Yellow (33), Blue (34), and Bold (1). Our generator creates reusable color variables like RED, GREEN, NC (No Color) so you can use them throughout your script.
#!/bin/bash uses an absolute path and fails if Bash is installed elsewhere. #!/usr/bin/env bash searches the user's PATH for Bash, making it more portable across systems (e.g., macOS with Homebrew-installed Bash). The env approach is generally recommended for cross-platform scripts.
trap command catches signals like EXIT, INT (Ctrl+C), and TERM, running a cleanup function before the script terminates. This is essential for removing temporary files, releasing locks, or restoring system state — even if the script fails unexpectedly. It's a hallmark of robust, production-grade scripts.
getopts (for short flags like -h, -v) or a manual while loop with case statements for both short and long options (--help, --version). Our generator creates a clean argument parser supporting -h/--help, -v/--verbose, -c/--config, and more.
trap.
--verbose flag), and SUCCESS (confirmation messages). Each level can use a different color for quick visual scanning.
#!/bin/sh targets POSIX-compliant shells and runs on virtually any Unix-like system. However, it lacks Bash-specific features like arrays, [[ test syntax, shopt, and associative arrays. Use /bin/sh for simple, portable scripts; use /bin/bash when you need its richer feature set.
Fill in name, match URL, and description to get a ready‑to‑edit UserScript header. Start your browser extension easily.
Visually name grid areas in a table and generate grid‑template‑areas CSS. Perfect for complex layouts. Drag‑free.
Upload an image and turn it into a simple digital jigsaw puzzle. Choose number of pieces. Play on screen.
Enter a list of words and create a custom word search grid. Choose difficulty, print or export as PDF. Great for teachers.
Add services like Node, Postgres, Redis, and Nginx. Configure ports, volumes, and env vars. Download the docker‑compose.yml.
Enter title, subtitle, and logo URL. Generate a beautiful Open Graph image ready for social sharing. Download PNG.
Create a custom crossword grid with rotational symmetry. Set grid size and click to place black squares. Export as template.
Add columns with types and constraints, then generate a SQL CREATE TABLE statement. Supports MySQL/PostgreSQL.
Enter a topic and get a list of suggested hashtags. Mix popular and niche tags. Copy all with one click. Local only.
Paste image URLs and generate a responsive masonry or justified gallery layout with lightbox. Copy the HTML/CSS/JS.
Upload a small pixel art image and get a CSS grid layout that recreates it using divs. Novelty developer tool.
Generate SHA‑3 and SHAKE hashes of any text with configurable output length. All local using js library.
Paste text and generate a word cloud as a downloadable PNG image. Customize colors and shapes. All local.
Paste a list of image URLs and generate a valid Google Image Sitemap XML. Essential for photography sites.
Build a CSS media query by selecting feature, operator, and value. Copy the exact syntax for your stylesheet.
Create unique magic spell names with descriptions. Perfect for Dungeons & Dragons and creative writing.
Generate ultra-secure, random passwords with configurable length and character sets. Created entirely on your device; never transmitted or stored.
Generate the MD5 hash of any text string. For quick integrity checks. All local computation.
Generate a random art style name (e.g., 'Baroque cyberpunk oil painting') for inspiration or AI image generation.
Upload multiple sizes of the same image and generate the complete srcset and sizes attributes. For perfect responsive performance.
Drop a folder of images and convert all to the same format at once. Choose quality and download as ZIP. Local only.
Experiment with the CSS color-mix() function. Pick two colors and mix them in different color spaces (srgb, oklch). Copy the CSS.
Upload a photo and add text with stroke, shadow, and opacity. Position anywhere. Download as PNG. Simple caption tool.
Convert images to WebP format with configurable quality. See file size savings. Batch process multiple files. All local.
Get three random words as a creative writing prompt. Challenge yourself to use them in a story. No repeat for a while.
Add a decorative rectangular border/frame to your image. Adjust width, color, and shadow. Download the framed photo.
Enter hex codes and download a PNG swatch image with color names. Useful for design spec documents. Built via canvas.
Click to generate a multi‑sensory room description for your tabletop RPG. Adds immersion to any dungeon crawl.
Create a random video game premise with a setting, protagonist, and twist. For game jams and creative writing. All local.
Convert multiple PNGs to WebP format at once. Adjust quality and see size reduction. All processing local and private.