119.sh

Instant Shell Script Distribution via curl
bash - 119.sh demo

⚡ Quick Start

Install CLI
Create Script
Use Script
Manage

Install the interactive CLI with a single command:

# Install 119.sh CLI
curl 119.sh | sh

# Or install to custom location
curl 119.sh | PREFIX=~/.local sh

Create scripts with simple curl commands:

# Create a simple script
curl hello.119.sh -d 'echo "Hello World"'

# Create a redirect to existing script
curl install.119.sh -d 'https://github.com/user/repo/install.sh'

# Create private script with description
curl deploy.119.sh -d './deploy.sh prod' \
  -H "Private: true" \
  -H "Description: Production deployment script"

Execute scripts instantly from anywhere:

# Run a public script
curl hello.119.sh | bash

# Run a private script with token
curl "deploy.119.sh?tk=tk_xxxxxxxxxxxx" | bash

# Follow redirects automatically
curl -L install.119.sh | bash

Manage your scripts with tokens:

# Update existing script
curl -X PUT "hello.119.sh?tk=tk_xxxxxxxxxxxx" \
  -d 'echo "Hello 119.sh!"'

# Delete script
curl -X DELETE "hello.119.sh?tk=tk_xxxxxxxxxxxx"

# Get script info
curl "hello.119.sh?info"

✨ Features

Instant Distribution
Create and share scripts in seconds. No account needed, just curl.
curl test.119.sh -d 'echo "Ready!"'
# Created: https://test.119.sh
# Token: tk_xxxxx
🔒
Privacy Control
Keep scripts private with token authentication or share publicly.
curl secret.119.sh -d 'echo "Private"' \
  -H "Private: true"
🔗
URL Redirects
Point to scripts hosted elsewhere. Automatic detection of URLs.
curl setup.119.sh -d \
  'https://github.com/user/repo'
🔍
Script Discovery
Find and explore public scripts shared by the community.
curl ls.119.sh       # Popular
curl search.119.sh?q=docker
curl recent.119.sh   # Latest
🎨
Interactive CLI
Beautiful terminal UI with colors, menus, and local token management.
119              # Menu
119 create hello # Create
119 list         # List
🌍
Global CDN
Powered by Cloudflare Workers for fast access worldwide.
# Fast from anywhere
curl hello.119.sh
# < 100ms response

📚 API Reference

POST subdomain.119.sh

Create a new script mapping

curl hello.119.sh -d 'echo "Hello"' \
  -H "Private: true" \
  -H "Description: Greeting script"
GET subdomain.119.sh

Access script content or redirect

curl hello.119.sh
curl "private.119.sh?tk=tk_xxxxxxxxxxxx"
curl "hello.119.sh?info"  # Get metadata
PUT subdomain.119.sh?tk=token

Update existing script

curl -X PUT "hello.119.sh?tk=tk_xxxxxxxxxxxx" \
  -d 'echo "Updated content"'
DELETE subdomain.119.sh?tk=token

Delete a script

curl -X DELETE "hello.119.sh?tk=tk_xxxxxxxxxxxx"

🖥️ CLI Commands

# Interactive mode
119                     # Launch interactive menu

# Script management
119 create [name]       # Create new script
119 list               # List your scripts
119 update [name]      # Update existing script
119 delete [name]      # Delete script
119 run [name]         # Execute script

# Discovery
119 search [query]     # Search public scripts
119 ls                 # Show popular scripts

# Utility
119 config             # Show configuration
119 help               # Display help
119 --version          # Show version

💡 Use Cases

🚀 Quick Installers
# Share installer
curl tool.119.sh -d \
  'npm i -g tool'

# Users install:
curl tool.119.sh | bash
🔧 Team Scripts
# Private script
curl deploy.119.sh -d \
  './deploy.sh' \
  -H "Private: true"

# Team uses:
curl "deploy.119.sh?tk=xxx" | sh
📦 Package Management
# Point to latest
curl latest.119.sh -d \
  'https://github.com/user'

# Get latest
curl -L latest.119.sh | sh
0
Scripts Created
0
Requests Served
<100ms
Avg Response Time