{"id":21178768,"url":"https://github.com/rkstudio585/tunnel-r","last_synced_at":"2025-03-14T18:43:57.507Z","repository":{"id":263730249,"uuid":"891307586","full_name":"rkstudio585/Tunnel-R","owner":"rkstudio585","description":"Tunnel-R is a bash script for creating secure tunnels using Ngrok, Cloudflared, Tunnelmole, and SSH tunneling, featuring automated setup, a user-friendly interface, and support for custom hostnames.","archived":false,"fork":false,"pushed_at":"2024-11-20T05:21:11.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T11:45:24.131Z","etag":null,"topics":["bash","bash-script","cloudflared","easy-tunnel","ngrok","ssh","tmole","tunnel-r","tunneling-tool","tunnelmole"],"latest_commit_sha":null,"homepage":"https://rkstudio.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rkstudio585.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-11-20T05:12:38.000Z","updated_at":"2024-11-20T05:25:28.000Z","dependencies_parsed_at":"2024-11-20T06:25:42.339Z","dependency_job_id":"ed5bc8ae-4405-48e9-9f9d-d598a36f31c9","html_url":"https://github.com/rkstudio585/Tunnel-R","commit_stats":null,"previous_names":["rkstudio585/tunnel-r"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2FTunnel-R","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2FTunnel-R/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2FTunnel-R/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2FTunnel-R/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkstudio585","download_url":"https://codeload.github.com/rkstudio585/Tunnel-R/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243629373,"owners_count":20322043,"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","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":["bash","bash-script","cloudflared","easy-tunnel","ngrok","ssh","tmole","tunnel-r","tunneling-tool","tunnelmole"],"created_at":"2024-11-20T17:26:20.559Z","updated_at":"2025-03-14T18:43:57.484Z","avatar_url":"https://github.com/rkstudio585.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tunnel-R 🌐🚀\n\nWelcome to **Tunnel-R**, a robust and efficient bash script developed by **RK from RK Studio**! This tool helps you create secure tunnels for local servers using popular tunneling services like **Ngrok**, **Cloudflared**, **Tunnelmole**, and **SSH tunneling**. Whether you’re a developer needing remote access or a tester running services, **Tunnel-R** makes tunneling seamless and straightforward. 💻✨\n\n---\n\n![Tunnel-R Logo](logo.svg)\n\n---\n\n## Key Features 🛠️\n\n- **Automated Prerequisites Setup**: Installs missing dependencies like `wget`, `tar`, and `nodejs`.\n- **Support for Multiple Tunneling Services**:\n  - **Ngrok**: HTTP/HTTPS tunneling with custom hostname support.\n  - **Cloudflared**: Easy tunnel setup for Cloudflare.\n  - **Tunnelmole**: Simple and lightweight tunneling solution.\n  - **SSH Tunneling**: Options for Serveo, Localhost.run, or custom SSH tunneling.\n- **User-Friendly Menu**: Intuitive and colorful menu-driven interface.\n- **Reinstallation Option**: Reinstall Ngrok or Cloudflared if necessary.\n- **Secure Custom Hostname**: Set up personalized URLs for your tunnels.\n\n---\n\n## Requirements 📋\n\n- **Operating System**: Termux (Linux-based environment)\n- **Dependencies**: `wget`, `tar`, `nodejs`\n- **Ngrok Account**: For an authtoken to configure Ngrok tunnels.\n\n---\n\n## Installation 🚀\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/rkstudio585/Tunnel-R.git\n   cd Tunnel-R\n   ```\n2. Make the script executable:\n   ```bash\n   chmod +x tunnelr.sh\n   ```\n3. Run the script:\n   ```bash\n   ./tunnelr.sh\n   ```\n   Or \n   ```bash\n   bash tunnelr.sh\n   ```\n\n---\n\n## How to Use 🧑‍💻\n\n### Main Menu\nWhen you run the script, you'll be greeted with a colorful menu:\n\n```\n================== MENU ==================\n1) Set up Ngrok\n2) Start Ngrok Tunnel\n3) Set up Cloudflared\n4) Start Cloudflared Tunnel\n5) Set up Tunnelmole\n6) Start Tunnelmole Tunnel\n7) Start SSH Tunneling\n8) Exit\n==========================================\n```\n\n### Options Explained\n\n1️⃣ **Set up Ngrok**  \n   - Installs or reinstalls Ngrok.  \n   - Prompts for your Ngrok authtoken to configure the tunnel.\n\n2️⃣ **Start Ngrok Tunnel**  \n   - Forward a local port using Ngrok.  \n   - Optionally set up a custom hostname.\n\n3️⃣ **Set up Cloudflared**  \n   - Installs or reinstalls Cloudflared.\n\n4️⃣ **Start Cloudflared Tunnel**  \n   - Forward a local port using Cloudflared.\n\n5️⃣ **Set up Tunnelmole**  \n   - Installs Tunnelmole globally using `npm`.\n\n6️⃣ **Start Tunnelmole Tunnel**  \n   - Forward a local port using Tunnelmole.\n\n7️⃣ **Start SSH Tunneling**  \n   - Options to use Serveo, Localhost.run, or custom SSH tunneling.\n\n8️⃣ **Exit**  \n   - Gracefully exits the script.\n\n---\n\n## Example Usage 📘\n\n### Forwarding a Port with Ngrok\n1. Select **1) Set up Ngrok** to install Ngrok.\n2. Enter your Ngrok authtoken when prompted.\n3. Select **2) Start Ngrok Tunnel**.\n4. Enter the local port to forward (e.g., `8080`).\n5. Optionally, provide a custom hostname (or press Enter to skip).\n\n### Creating an SSH Tunnel\n1. Select **7) Start SSH Tunneling**.\n2. Choose a tunneling service:\n   - Serveo: `ssh -R 80:localhost:\u003cPORT\u003e serveo.net`\n   - Localhost.run: `ssh -R 80:localhost:\u003cPORT\u003e nokey@localhost.run`\n   - Custom SSH: Use your preferred remote server.\n3. Enter the local port and follow the prompts.\n\n---\n\n## Color-Coded Outputs 🎨\n\n- **Yellow**: Informational messages (e.g., progress updates).  \n- **Green**: Success messages.  \n- **Red**: Error messages or missing prerequisites.  \n- **Blue**: SSH tunneling options and banners.  \n- **Cyan**: Stylish banner.\n\n---\n\n## Contributing 🤝\n\nContributions are welcome! Please open an issue or submit a pull request to help improve **Tunnel-R**.\n\n---\n\n## License 📜\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n---\n\nMade with ❤️ by **RK from RK Studio**. Happy Tunneling! 🌟\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Ftunnel-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkstudio585%2Ftunnel-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Ftunnel-r/lists"}