Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fyralabs/subatomic
A modern package delivery system for RPMs
https://github.com/fyralabs/subatomic
fedora go golang redhat rpm rpm-packages
Last synced: 26 days ago
JSON representation
A modern package delivery system for RPMs
- Host: GitHub
- URL: https://github.com/fyralabs/subatomic
- Owner: FyraLabs
- License: mit
- Created: 2022-08-31T07:11:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T22:51:30.000Z (28 days ago)
- Last Synced: 2024-12-13T23:55:48.500Z (27 days ago)
- Topics: fedora, go, golang, redhat, rpm, rpm-packages
- Language: Go
- Homepage:
- Size: 13.3 MB
- Stars: 3
- Watchers: 6
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Subatomic
A modern package delivery system for RPMs.
> [!WARNING]
> This README and docs are under progress.## 🛠️ Dependencies
Please make sure you have these dependencies first before building.
```bash
golang
```Additionally, you might want to install air, a live reload tool for Go apps. To install the latest version:
```bash
go install github.com/air-verse/air@latest
```## 🏗️ Building
Simply clone this repo then:
```bash
go build ./(server|subatomic-cli)
```## Client Configuration
`subatomic-cli` can be configured using a config file in `~/.config/subatomic.json`, or by using CLI flags.
```json
{
"server": "https://subatomic.example.com",
"token": "super-secret-jwt-token"
}
```Currently, the JWT uses HS256. Here is an example payload:
```json
{
"scopes": ["admin"]
}
```Certain standard claims, such as `exp` are also supported.
## 🗒️ Todos
- Improve the README
- Refactor some bad (written while out of it) code
- ~~Deprecate OSTree~~ and go RPM only