A collection of utility scripts for different purposes. These scripts are not related to one another but serve various development and automation tasks.
Located at skiplabs/bootstrap.sh, this script creates a complete TypeScript Node.js project with modern development tooling.
Requirements: Bun and git must be installed. Run it in an empty directory; it refuses to run where a package.json already exists.
mkdir my-project && cd my-project
curl -sSL https://raw.githubusercontent.com/hubyrod/ScriptCollection/main/skiplabs/bootstrap.sh | bashProject Structure:
- TypeScript Node.js project with
src/directory - Git repository with a
.gitignoreand an initial commit package.jsonand committedbun.lock
Development Stack:
- TypeScript 6 - ES2022 target, NodeNext modules, strict mode (pinned to 6.x until typescript-eslint supports TypeScript 7)
- Fastify - Fast web server with async/await patterns
- Skip Labs - Integration with @skiplabs/skip package
- ESLint 10 - Flat config (
eslint.config.js) with typescript-eslint and Prettier integration - Prettier - Code formatting
- Bun - Package management, TypeScript execution and bundling
- Native Hot-reloading - Built-in with
bun --watch
Available Commands:
bun run dev # Start development server with hot reload
bun run build # Bundle src/index.ts to dist/ with bun build
bun run start # Start production server (node dist/index.js)
bun run lint # Run ESLint
bun run typecheck # Type-check with tsc --noEmit
bun run format # Format code with Prettier
bun run clean # Remove dist/ and node_modules/Use bun run <script> rather than bun <script>: a bare bun build invokes Bun's bundler instead of the package script.
Located at general/, this directory contains Docker-based development environment tools.
The dockerize script builds a dev-env image from general/Dockerfile and starts a throwaway container with the current directory mounted.
Quick Start:
# Run from any project directory. When piped, the Dockerfile is fetched
# from this repository automatically.
curl -sSL https://raw.githubusercontent.com/hubyrod/ScriptCollection/main/general/dockerize | bashOr from a local checkout:
/path/to/ScriptCollection/general/dockerizeFeatures:
- Ubuntu 24.04 base with essential development tools
- Languages & Runtimes: Python 3, Node.js 24.x (LTS), npm, Bun
- Development Tools: git, vim, nano, htop, tree, jq, curl, wget
- Shell: zsh with Oh My Zsh and basic configuration
- Claude CLI pre-installed for AI-assisted development (installed as the
devuser so it can self-update) - Port Mapping: Automatically exposes ports 3000, 8080 (configurable)
Usage Options:
# Basic usage (mounts current directory)
dockerize
# Rebuild Docker image
dockerize --rebuild
# Custom port mapping
dockerize --ports "3000:3000,8000:8000,9000:9000"
# Show help
dockerize --help
# Make globally available
echo 'alias dockerize="/path/to/ScriptCollection/general/dockerize"' >> ~/.zshrcWhat You Get:
- Current directory mounted at
/home/dev/workspace - Non-root user
devwith passwordless sudo - Git configured with sensible defaults
- All common development ports exposed
- Clean, isolated development environment (removed on exit)