{"id":16138580,"url":"https://github.com/hashimthearab/go-remote-download","last_synced_at":"2025-04-06T17:26:27.020Z","repository":{"id":245013376,"uuid":"817002327","full_name":"HashimTheArab/go-remote-download","owner":"HashimTheArab","description":"Remotely download and run the latest version of your app with Go.","archived":false,"fork":false,"pushed_at":"2024-06-29T03:12:55.000Z","size":98135,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T23:34:52.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/HashimTheArab.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}},"created_at":"2024-06-18T20:20:38.000Z","updated_at":"2024-06-29T03:12:58.000Z","dependencies_parsed_at":"2024-11-01T15:38:01.339Z","dependency_job_id":null,"html_url":"https://github.com/HashimTheArab/go-remote-download","commit_stats":null,"previous_names":["hashimthearab/go-remote-download"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashimTheArab%2Fgo-remote-download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashimTheArab%2Fgo-remote-download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashimTheArab%2Fgo-remote-download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HashimTheArab%2Fgo-remote-download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HashimTheArab","download_url":"https://codeload.github.com/HashimTheArab/go-remote-download/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247520028,"owners_count":20952103,"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":[],"created_at":"2024-10-09T23:34:48.530Z","updated_at":"2025-04-06T17:26:26.990Z","avatar_url":"https://github.com/HashimTheArab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Remote Downloader\n\nThis repository contains a Go program that allows you to download the latest version of a file (`gophertunnel.exe`) from a remote source and run it.\nThe program provides a simple interface to download the latest version and run it.\n\n## Features\n\n- **Download Latest Version**: Press `d` to download the latest version from the specified URL.\n- **Run the File**: Press `r` to run the downloaded file.\n\n## Usage\n\n1. **Clone the Repository**:\n\n    ```bash\n    git clone https://github.com/HashimTheArab/go-remote-download.git\n    cd go-remote-download\n    ```\n\n2. **Build the Program**:\n\n    ```bash\n    go build -o go-remote-download main.go\n    ```\n\n    2. **Host Your File on GitHub**:\n\n    - Upload your exe file to your GitHub repository.\n    - Go to the file in your repository on GitHub.\n    - Click on the `Raw` button to get the URL for the raw file. It should look like this:\n      \n      ```\n      https://raw.githubusercontent.com/username/repository/branch/path/to/file.exe\n      ```\n\n3. **Update the Download URL in the Program**:\n\n    - Open `main.go` in your preferred text editor.\n    - Replace the `url` constant with the raw URL of your file:\n\n\n    ```go\n    const url = \"https://raw.githubusercontent.com/username/repository/branch/path/to/file.exe\"\n    const name = \"file.exe\"\n    ```\n\n4. **Build the Program**:\n\n    ```bash\n    go build -o go-remote-download main.go\n    ```\n\n5. **Run the Program**:\n\n    ```bash\n    ./go-remote-download\n    ```\n\n    The program will prompt you to either download the latest version or run the file:\n\n    ```\n    Gophertunnel Remote Downloader\n    Press 'd' to download the latest version or 'r' to run it:\n    ```\n\n    - Press `d` to download the latest version of your file.\n    - Press `r` to run the downloaded version.\n\n## Requirements\n\n- Go 1.21 or higher\n\n## Configuration\n\nThe download URL and file name are defined as constants in the program. You can modify these values as needed:\n\n```go\nconst url = \"https://raw.githubusercontent.com/HashimTheArab/go-remote-download/main/gophertunnel.exe\"\nconst name = \"gophertunnel.exe\"\n```\n\nThis README was generated by ChatGPT 4o.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashimthearab%2Fgo-remote-download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashimthearab%2Fgo-remote-download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashimthearab%2Fgo-remote-download/lists"}