{"id":20892526,"url":"https://github.com/trimpta/ngrokwebhook","last_synced_at":"2025-08-15T21:32:18.932Z","repository":{"id":242484644,"uuid":"809672666","full_name":"trimpta/ngrokwebhook","owner":"trimpta","description":"Made by chatgpt, starts an ngrok tunnel and forwards the url onto a discord webhook","archived":false,"fork":false,"pushed_at":"2024-06-06T19:19:45.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T19:12:00.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trimpta.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-06-03T08:22:06.000Z","updated_at":"2024-06-06T19:19:48.000Z","dependencies_parsed_at":"2024-06-03T10:22:13.514Z","dependency_job_id":"6321c8f9-d6c8-4384-8f0b-fb5adffcf464","html_url":"https://github.com/trimpta/ngrokwebhook","commit_stats":null,"previous_names":["trimpta/ngrokwebhook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trimpta/ngrokwebhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trimpta%2Fngrokwebhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trimpta%2Fngrokwebhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trimpta%2Fngrokwebhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trimpta%2Fngrokwebhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trimpta","download_url":"https://codeload.github.com/trimpta/ngrokwebhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trimpta%2Fngrokwebhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270631844,"owners_count":24619380,"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-08-15T02:00:12.559Z","response_time":110,"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":"2024-11-18T10:13:11.294Z","updated_at":"2025-08-15T21:32:18.897Z","avatar_url":"https://github.com/trimpta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The code and following readme has been generated by ChatGPT 4o\r\n\r\nThis project enables you to establish a secure tunnel using ngrok for exposing a local service to the internet, while also sending notifications via a Discord webhook.\r\n\r\n## Prerequisites\r\n\r\n- Python 3.x\r\n- Pip (Python package installer)\r\n\r\n## Setup\r\n\r\n1. **Clone the Repository**\r\n   ```sh\r\n   git clone https://your-repository-url.git\r\n   cd your-repository-folder\r\n   ```\r\n\r\n2. **Install Dependencies**\r\n   ```sh\r\n   pip install -r requirements.txt\r\n   ```\r\n\r\n3. **Configure Settings**\r\n   - Create a file named `config.json` in the project directory.\r\n   - Add your ngrok authentication token and Discord webhook URL to `config.json`:\r\n\r\n     ```json\r\n     {\r\n         \"ngrok_auth_token\": \"your_ngrok_auth_token_here\",\r\n         \"discord_webhook_url\": \"your_discord_webhook_url_here\"\r\n     }\r\n     ```\r\n\r\n## Usage\r\n\r\n1. **Run the Script**\r\n   ```sh\r\n   python your_script_name.py --port PORT_NUMBER\r\n   ```\r\n\r\n   Replace `PORT_NUMBER` with the port you want to expose via ngrok.\r\n\r\n2. **Access the Service**\r\n   - The script will start an ngrok tunnel on the specified port and post the public URL to your Discord webhook.\r\n   - Use the URL provided in the Discord message to access your service from anywhere.\r\n\r\n## Files\r\n\r\n- `config.json`: Contains the ngrok authentication token and Discord webhook URL.\r\n- `requirements.txt`: Lists the Python dependencies.\r\n- `your_script_name.py`: The main Python script to run.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrimpta%2Fngrokwebhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrimpta%2Fngrokwebhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrimpta%2Fngrokwebhook/lists"}