FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
paulkinlan

paulkinlan

stop-dont-do-this

Public
Like
stop-dont-do-this
Home
Code
2
README.md
H
index.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
9/5/2025
Viewing readonly version of main branch: v6
View latest version
README.md

Linux Shell Script Generator

A service that generates safe, production-ready shell scripts using AI that can be piped directly to bash.

Usage

Predefined Tools

For common installation tasks, use the simple format:

curl "https://stop-dont-do-this.val.run/docker" | sh curl "https://stop-dont-do-this.val.run/node" | sh curl "https://stop-dont-do-this.val.run/python" | sh

Custom Prompts

For custom installation scripts, use the prompt parameter:

curl "https://stop-dont-do-this.val.run/?prompt=install nginx and configure firewall" | sh curl "https://stop-dont-do-this.val.run/?prompt=setup development environment with git vim and tmux" | sh

Available Predefined Tools

  • docker - Install Docker and Docker Compose on Linux
  • node - Install Node.js using NodeSource repository
  • python - Install Python 3 and pip
  • go - Install Go programming language
  • rust - Install Rust programming language using rustup
  • nginx - Install and configure Nginx web server
  • postgresql - Install PostgreSQL database server
  • mysql - Install MySQL database server
  • redis - Install Redis server
  • git - Install Git version control system
  • vim - Install and configure Vim editor with useful plugins
  • zsh - Install Zsh shell with Oh My Zsh
  • tmux - Install and configure tmux terminal multiplexer
  • htop - Install htop system monitor
  • curl - Install curl command-line tool
  • wget - Install wget download utility
  • jq - Install jq JSON processor
  • terraform - Install Terraform infrastructure tool
  • kubectl - Install Kubernetes kubectl command-line tool
  • aws-cli - Install AWS CLI v2
  • gcloud - Install Google Cloud SDK
  • azure-cli - Install Azure CLI

Safety Features

All generated scripts include:

  • ✅ Proper error handling with set -euo pipefail
  • ✅ Dependency checking before installation
  • ✅ OS detection and appropriate package manager usage
  • ✅ Idempotent operations (safe to run multiple times)
  • ✅ Clear error messages and exit codes
  • ✅ Helpful comments explaining each step
  • ✅ Proper quoting to handle spaces in paths

Examples

Install Docker

curl "https://stop-dont-do-this.val.run/docker" | sh

Custom Development Setup

curl "https://stop-dont-do-this.val.run/?prompt=install git, vim, tmux, and configure a basic development environment" | sh

Server Setup

curl "https://stop-dont-do-this.val.run/?prompt=install nginx, configure firewall, and setup SSL with Let's Encrypt" | sh

⚠️ Security Warning

Always review scripts before running them! While this service generates safe scripts with best practices, you should always understand what a script does before piping it to your shell.

To review before running:

curl "https://stop-dont-do-this.val.run/" # Review the output first curl "https://stop-dont-do-this.val.run/" | sh # Then run if it looks good

API Endpoints

  • GET / - Show usage instructions
  • GET /:tool - Get predefined installation script for a tool
  • GET /?prompt=<description> - Generate custom script from description
  • GET /health - Health check endpoint

Technical Details

  • Built with Hono framework on Val Town
  • Uses OpenAI GPT-4o-mini for script generation
  • Implements caching for better performance
  • Returns plain text scripts suitable for piping to bash
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.