Installer¶
Installer is used to quickly install pre-compiled binaries from Github releases.
For setup apps that have are not supported by apt package manager, such as task, this method is used to install and update them. It makes it easier to install and update the apps without having to manually download them or install a another package system in the container, such as npm, pip, or homebrew.
Installation¶
Default Port: 3000
Config¶
/etc/systemd/system/installer.service
Usage¶
Or you can use curl -sL url | bash
Path API
userGithub user (defaults to @jpillora, customisable if you host your own, searches the web to pick most relevantuserwhenreponot found)repoGithub repository belonging touser(required)releaseGithub release name (defaults to the latest release)!When provided, downloads binary directly into/usr/local/bin/(defaults to working directory)
Query Params
?type=Force the return type to be one of:scriptorhomebrewtypeis normally detected viaUser-Agentheadertype=homebrewis not working at the moment
?insecure=1Forcecurl/wgetto skip certificate checks?as=Force the binary to be named as this parameter value
Examples¶
- https://i.jpillora.com/serve
- https://i.jpillora.com/cloud-torrent
- https://i.jpillora.com/yudai/[email protected]
- https://i.jpillora.com/mholt/caddy
- https://i.jpillora.com/caddy
- https://i.jpillora.com/rclone
-
https://i.jpillora.com/ripgrep?as=rg
$ curl -s i.jpillora.com/mholt/caddy! | bash Downloading mholt/caddy v0.8.2 (https://github.com/mholt/caddy/releases/download/v0.8.2/caddy_darwin_amd64.zip) ######################################################################## 100.0% Downloaded to /usr/local/bin/caddy $ caddy --version Caddy 0.8.2