Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/y-yagi/obt
obt is a downloader for the GitHub release page
https://github.com/y-yagi/obt
downloader github-releases golang
Last synced: 17 days ago
JSON representation
obt is a downloader for the GitHub release page
- Host: GitHub
- URL: https://github.com/y-yagi/obt
- Owner: y-yagi
- License: mit
- Created: 2020-01-05T03:00:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-05T08:48:00.000Z (2 months ago)
- Last Synced: 2024-10-10T04:02:03.135Z (about 1 month ago)
- Topics: downloader, github-releases, golang
- Language: Go
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: history.go
- License: LICENSE.txt
Awesome Lists containing this project
README
# obt
`obt` is a downloader for the GitHub release page. This tool automatically downloads the latest release file that according to OS and architecture.
## Example
```bash
$ obt https://github.com/davecheney/httpstat
Install 'httpstat' to '/home/y-yagi/.local/bin/httpstat'.
$ obt -p /usr/local/bin https://github.com/rclone/rclone
Install 'rclone' to '/usr/local/bin/rclone'.
$ obt -b staticcheck https://github.com/dominikh/go-tools
Install 'staticcheck' to '/home/y-yagi/.local/bin/staticcheck'.
```## Usage
```
$ obt --help
Usage: obt [OPTIONS] URLInstall binary file from GitHub's release page. Default install path is '/usr/local/bin/'.
OPTIONS:
-b string
binary name(default: repository name)
-p string
install path
-s string
set default install path
-v print version number
```## Default install path
`obt` uses `/usr/local/bin/` to a default install path in case of Linux or macOS. In windows, uses `.`.
You can change a default install path via `-s` option.
```bash
obt -s /home/y-yagi/.local/bin/
Change default install path to '/home/y-yagi/.local/bin/'
```## Installation
Download files from [GitHub release page](https://github.com/y-yagi/obt/releases).