https://github.com/jaredallard/binhost
Gentoo Binhost Manager
https://github.com/jaredallard/binhost
binhost gentoo
Last synced: about 1 year ago
JSON representation
Gentoo Binhost Manager
- Host: GitHub
- URL: https://github.com/jaredallard/binhost
- Owner: jaredallard
- License: agpl-3.0
- Created: 2024-02-23T21:53:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-11T02:48:51.000Z (over 1 year ago)
- Last Synced: 2025-03-11T03:27:22.185Z (over 1 year ago)
- Topics: binhost, gentoo
- Language: Go
- Homepage:
- Size: 197 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# binhost
A Gentoo binary host platform. Enables building and tracking various
targets.
## Table of Contents
- [API](#api)
- [POST /v1/upload](#post-v1upload)
- [GET /v1/targets](#get-v1targets)
- [POST /v1/targets/:target](#post-v1targetstarget)
- [License](#license)
## Developing
We use [mise]() to manage development versions and tasks.
```bash
mise run build
```
Now you can run the server with:
```bash
ENV=development ./bin/binhost
```
## API
Loose documentation of the API provided by `binhost` is below.
### `POST /v1/upload`
Uploads the provided `gpkg`. If a `target` is not specified via URL
parameters, the `CHOST` is used as the target name. Errors if a target
doesn't exist.
### `GET /v1/targets`
Lists all of the available targets (package indexes).
### `POST /v1/targets/:target`
Creates the provided target.
## License
AGPL-3.0