{"id":31640106,"url":"https://github.com/butanium/runpod-startup-utils","last_synced_at":"2025-10-27T22:35:38.540Z","repository":{"id":316452374,"uuid":"1062777676","full_name":"Butanium/runpod-startup-utils","owner":"Butanium","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-24T16:30:43.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T02:25:30.329Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Butanium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T18:00:50.000Z","updated_at":"2025-09-29T21:00:44.000Z","dependencies_parsed_at":"2025-09-24T18:22:53.677Z","dependency_job_id":"182c805a-8761-4352-b2c7-794ca0930d3d","html_url":"https://github.com/Butanium/runpod-startup-utils","commit_stats":null,"previous_names":["butanium/runpod-startup-utils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Butanium/runpod-startup-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Frunpod-startup-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Frunpod-startup-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Frunpod-startup-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Frunpod-startup-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Butanium","download_url":"https://codeload.github.com/Butanium/runpod-startup-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Frunpod-startup-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281355369,"owners_count":26486897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-07T02:09:19.729Z","updated_at":"2025-10-27T22:35:38.523Z","avatar_url":"https://github.com/Butanium.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RunPod Tutorial Scripts\n\nThis repository contains utility scripts for managing RunPod instances and SSH connections.\n\n## Files Overview\n\n### `startup_runpod_template.sh` (Startup Template)\nA template script for initializing RunPod instances with common development tools and configurations.\n\n**Features:**\n- Git configuration setup\n- HuggingFace CLI integration with token login\n- Weights \u0026 Biases (wandb) API key configuration\n- OpenRouter API key setup\n- System package installation (tmux, nvtop, htop)\n- Python environment configuration with UV package manager\n- Timezone configuration\n- Useful bash aliases and environment variables\n\n**Configuration Required:**\nBefore running, edit the configuration variables at the top of the script:\n- `GIT_USER_NAME`: Your Git username\n- `GIT_USER_EMAIL`: Your Git email\n- `HUGGINGFACE_TOKEN`: Your HuggingFace access token\n- `WANDB_API_KEY`: Your Weights \u0026 Biases API key\n- `OPENROUTER_API_KEY`: Your OpenRouter API key\n- `TIMEZONE`: Your preferred timezone (default: Europe/Paris)\n\n**Usage:**\n```bash\n# Make executable and run\nchmod +x startup_runpod_template.sh\n./startup_runpod_template.sh\n```\n\n### `runpodssh.ps1` (PowerShell Script)\nA PowerShell script that simplifies SSH configuration for RunPod instances by automatically parsing SSH connection strings and adding them to your SSH config file.\n\n**Features:**\n- Parses RunPod SSH connection strings (format: `ssh user@ip -p port`)\n- Automatically adds/updates SSH host entries in `~/.ssh/config`\n- Supports custom host numbering (e.g., `runpod1`, `runpod2`)\n- Creates backup of existing SSH config before modifications\n- Includes security settings like `StrictHostKeyChecking no` for convenience\n\n**Usage:**\n```powershell\n# Basic usage (creates host named \"runpod\")\n.\\runpodssh.ps1 'ssh root@38.128.233.126 -p 35638'\n\n# With custom host number (creates host named \"runpod2\")\n.\\runpodssh.ps1 'ssh root@38.128.89.126 -p 5987' 2\n```\n\n**Requirements:** Windows PowerShell\n\n### `runpodssh.sh` (Bash Script)\nA Bash port of the PowerShell script with equivalent functionality for Unix-like systems.\n\n**⚠️ Important Note:** This script is a direct conversion from PowerShell using GPT-5-high assistance and **has NOT been tested**. Use with caution and verify functionality before relying on it in production environments.\n\n**Features:**\n- Same functionality as the PowerShell version\n- Uses AWK for advanced text processing\n- Maintains SSH config file permissions (600 for config, 700 for .ssh directory)\n- Robust error handling with `set -euo pipefail`\n\n**Usage:**\n```bash\n# Basic usage (creates host named \"runpod\")\n./runpodssh.sh 'ssh root@38.128.233.126 -p 35638'\n\n# With custom host number (creates host named \"runpod2\")\n./runpodssh.sh 'ssh root@38.128.89.126 -p 5987' 2\n```\n\n**Requirements:** Bash shell, AWK\n\n\n## Quick Start\n\n1. **For SSH Configuration:**\n   - Windows: Use `runpodssh.ps1`\n   - Linux/Mac: Use `runpodssh.sh` (test carefully first!)\n\n2. **For RunPod Instance Setup:**\n   - Edit `startup_runpod_template.sh` with your credentials\n   - Run the script on your new RunPod instance\n\n## Contributing\n\nIf you test the `runpodssh.sh` script and find issues, please report them or submit fixes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Frunpod-startup-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutanium%2Frunpod-startup-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Frunpod-startup-utils/lists"}