{"id":23956854,"url":"https://github.com/get-unknown-err0r/expose-local-with-shellscript","last_synced_at":"2026-06-17T15:36:00.658Z","repository":{"id":270221063,"uuid":"909678328","full_name":"GET-UNKNOWN-ERR0R/expose-local-with-shellscript","owner":"GET-UNKNOWN-ERR0R","description":"This repository contains a simple shell script that will expose your localhost server to the INTERNET. Additionally, it includes a script to start a shell server for serving the files locally. We used serveo to do this stuff.","archived":false,"fork":false,"pushed_at":"2024-12-29T13:49:01.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T10:48:19.978Z","etag":null,"topics":["arpit-prajapati","bash","expose-local-with-shellscript","expose-localhost","get-unknown-err0r","github","linux-shell","serveo","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GET-UNKNOWN-ERR0R.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-12-29T13:13:16.000Z","updated_at":"2025-01-07T17:07:59.000Z","dependencies_parsed_at":"2024-12-29T14:21:12.674Z","dependency_job_id":"4a3a2065-c28f-4a08-8007-cd5b66007cef","html_url":"https://github.com/GET-UNKNOWN-ERR0R/expose-local-with-shellscript","commit_stats":null,"previous_names":["get-unknown-err0r/expose-local-with-shellscript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GET-UNKNOWN-ERR0R/expose-local-with-shellscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fexpose-local-with-shellscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fexpose-local-with-shellscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fexpose-local-with-shellscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fexpose-local-with-shellscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GET-UNKNOWN-ERR0R","download_url":"https://codeload.github.com/GET-UNKNOWN-ERR0R/expose-local-with-shellscript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fexpose-local-with-shellscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34453440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["arpit-prajapati","bash","expose-local-with-shellscript","expose-localhost","get-unknown-err0r","github","linux-shell","serveo","shell-script"],"created_at":"2025-01-06T16:19:35.522Z","updated_at":"2026-06-17T15:36:00.643Z","avatar_url":"https://github.com/GET-UNKNOWN-ERR0R.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expose Local or Remote Server\n\nThis repository contains a simple shell script that will expose your localhost server to the INTERNET. Additionally, it includes a script to start a shell server for serving the files locally.\n\n# OUTPUT:\n\n![Screenshot](expose.png)\n\n# Expose Local or Remote Server by tunneling\n\nThis Bash script allows you to expose a local or remote web server to the internet. The script prompts you to input a URL and then sets up a tunnel to make the server accessible publicly.\n\n## Prerequisites\n\n- Bash\u003e\u003e: Ensure you have a Bash shell available.\n- SSH\u003e\u003e: The script uses SSH to connect.\n- Install\u003e\u003e:sudo apt install openssh-server\n\n\n## Features\n\n- Automatically detects `http://` or `https://` links.\n- Exposes services on default ports (8080 for HTTP and 8443 for HTTPS).\n- Option to provide a custom port number.\n- Supports both localhost and remote server services.\n- SSH-based tunneling to Serveo.\n\n## How to Use\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/GET-UNKNOWN-ERR0R/expose-local-with-shellscript.git\n  \n    ```\n    ```sh\n    cd expose-local-with-shellscript\n    ```\n\n2. Make the script executable:\n    ```sh\n    chmod +x expose-localhost.sh\n    ```\n\n3. Run the script:\n    ```sh\n    ./expose-localhost.sh\n    ```\n    \n## Notes\n\n- **Security Consideration**: Exposing a server to the internet can be a security risk. Ensure your server is secure and only expose it when necessary.\n- **Availability**: The script relies on tunneling , which may be unavailable at times. Consider alternatives like other tunneling platform,if it does not meet your needs.\n,\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fget-unknown-err0r%2Fexpose-local-with-shellscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fget-unknown-err0r%2Fexpose-local-with-shellscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fget-unknown-err0r%2Fexpose-local-with-shellscript/lists"}