{"id":13563674,"url":"https://github.com/ignite-hq/installer","last_synced_at":"2025-04-03T20:31:25.664Z","repository":{"id":41987503,"uuid":"329904290","full_name":"ignite-hq/installer","owner":"ignite-hq","description":"One-liner for installing binaries from Github releases","archived":false,"fork":true,"pushed_at":"2023-01-10T11:12:50.000Z","size":259,"stargazers_count":25,"open_issues_count":2,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T16:45:02.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://i.jpillora.com/serve","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jpillora/installer","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignite-hq.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}},"created_at":"2021-01-15T12:20:43.000Z","updated_at":"2024-06-08T21:26:59.000Z","dependencies_parsed_at":"2023-02-08T18:31:34.592Z","dependency_job_id":null,"html_url":"https://github.com/ignite-hq/installer","commit_stats":null,"previous_names":["allinbits/starport-installer"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignite-hq%2Finstaller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignite-hq%2Finstaller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignite-hq%2Finstaller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignite-hq%2Finstaller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignite-hq","download_url":"https://codeload.github.com/ignite-hq/installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247074638,"owners_count":20879286,"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-08-01T13:01:22.127Z","updated_at":"2025-04-03T20:31:25.328Z","avatar_url":"https://github.com/ignite-hq.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\n# `installer`\n\nQuickly install pre-compiled binaries from Github releases.\n\nInstaller is an HTTP server which returns shell scripts. The returned script will detect platform OS and architecture, choose from a selection of URLs, download the appropriate file, un(zip|tar|gzip) the file, find the binary (largest file) and optionally move it into your `PATH`. Useful for installing your favourite pre-compiled programs on hosts using only `curl`.\n\n## Usage\n\n```sh\n# install \u003cuser\u003e/\u003crepo\u003e from github\ncurl https://i.jpillora.com/\u003cuser\u003e/\u003crepo\u003e@\u003crelease\u003e! | bash\n```\n\n```sh\n# search Google for github repo \u003cquery\u003e\ncurl https://i.jpillora.com/\u003cquery\u003e! | bash\n```\n\n*Or you can use* `wget -qO- \u003curl\u003e | bash`\n\n**Path API**\n\n* `user` Github user (defaults to @jpillora, customisable if you [host your own](#host-your-own), uses Google to pick most relevant `user` when `repo` not found)\n* `repo` Github repository belonging to `user` (**required**)\n* `release` Github release name (defaults to the **latest** release)\n* `!` When provided, downloads binary directly into `/usr/local/bin/` (defaults to working directory)\n* `!!` Uses `sudo` to `mv` into `/usr/local/bin/`\n\n**Query Params**\n\n* `?type=` Force the return type to be one of: `script` or `homebrew`\n    * `type` is normally detected via `User-Agent` header\n    * `type=homebrew` is **not** working at the moment – see [Homebrew](#homebrew)\n* `?insecure=1` Force `curl`/`wget` to skip certificate checks\n\n## Security\n\n:warning: Although I promise [my instance of `installer`](https://i.jpillora.com/) is simply a copy of this repo - you're right to be wary of piping shell scripts from unknown servers, so you can host your own server [here](#host-your-own) or just leave off `| bash` and checkout the script yourself.\n\n## Examples\n\n* https://i.jpillora.com/serve\n* https://i.jpillora.com/cloud-torrent\n* https://i.jpillora.com/yudai/gotty@v0.0.12\n* https://i.jpillora.com/mholt/caddy\n* https://i.jpillora.com/caddy\n* https://i.jpillora.com/rclone\n\n    ```sh\n    $ curl -s i.jpillora.com/mholt/caddy! | bash\n    Downloading mholt/caddy v0.8.2 (https://github.com/mholt/caddy/releases/download/v0.8.2/caddy_darwin_amd64.zip)\n    ######################################################################## 100.0%\n    Downloaded to /usr/local/bin/caddy\n    $ caddy --version\n    Caddy 0.8.2\n    ```\n\n## Host your own\n\n* Install installer with installer\n\n    ```sh\n    curl -s https://i.jpillora.com/installer | bash\n    ```\n\n* Install from source\n\n    ```sh\n    go get github.com/jpillora/installer\n    ```\n\n* Install on Heroku\n\n    Click this button to deploy for free on [Heroku](https://heroku.com)\n\n\t[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\n    *You can optionally add your own domain as a app custom domain.*\n\n### Homebrew\n\nCurrently, installing via Homebrew does not work. Homebrew was intended to be supported with:\n\n```\n#does not work\nbrew install https://i.jpillora.com/serve\n```\n\nHowever, homebrew formulas require an SHA1 hash of each binary and currently, the only way to get is to actually download the file. It **might** be acceptable to download all assets if the resulting `.rb` file was cached for a long time.\n\n#### MIT License\n\nCopyright © 2020 Jaime Pillora \u0026lt;dev@jpillora.com\u0026gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignite-hq%2Finstaller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignite-hq%2Finstaller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignite-hq%2Finstaller/lists"}