stop-dont-do-this
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.
Viewing readonly version of main branch: v7View latest version
A service that generates safe, production-ready shell scripts using AI that can be piped directly to bash.
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
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
docker
- Install Docker and Docker Compose on Linuxnode
- Install Node.js using NodeSource repositorypython
- Install Python 3 and pipgo
- Install Go programming languagerust
- Install Rust programming language using rustupnginx
- Install and configure Nginx web serverpostgresql
- Install PostgreSQL database servermysql
- Install MySQL database serverredis
- Install Redis servergit
- Install Git version control systemvim
- Install and configure Vim editor with useful pluginszsh
- Install Zsh shell with Oh My Zshtmux
- Install and configure tmux terminal multiplexerhtop
- Install htop system monitorcurl
- Install curl command-line toolwget
- Install wget download utilityjq
- Install jq JSON processorterraform
- Install Terraform infrastructure toolkubectl
- Install Kubernetes kubectl command-line toolaws-cli
- Install AWS CLI v2gcloud
- Install Google Cloud SDKazure-cli
- Install Azure CLI
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
curl "https://stop-dont-do-this.val.run/docker" | sh
curl "https://stop-dont-do-this.val.run/?prompt=install git, vim, tmux, and configure a basic development environment" | sh
curl "https://stop-dont-do-this.val.run/?prompt=install nginx, configure firewall, and setup SSL with Let's Encrypt" | sh
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
GET /
- Show usage instructionsGET /:tool
- Get predefined installation script for a toolGET /?prompt=<description>
- Generate custom script from descriptionGET /health
- Health check endpoint
- 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