Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/recrsn/coffee-beans

Simple maven repository
https://github.com/recrsn/coffee-beans

golang gradle java maven

Last synced: 25 days ago
JSON representation

Simple maven repository

Awesome Lists containing this project

README

        

# ☕ Coffee Beans

A small file storage server that supports a simple GET/PUT based protocol

Originally created to provide a tiny private maven/pypi repository.

## Usage

1. Create a basic `coffee-beans.yaml` with
```yaml
repositories:
- libs-release
```
2. Start `coffee-beans` to start an instance with a single repo called `libs-release`
serving files from `data` and listening at http://localhost:8080/beans/libs-release

You can use Gradle or Maven publish tasks to upload to this repository.

Configure systemd to run coffee-beans as a service.

## Complete Configuration

```yaml
content_root: 'data' # File serving area

server: # Server configuration
listen_address: ''
listen_port: 8080

repositories: # Add your repositories here
- libs-release

```

## Building

Requires Go 1.13+

- Run `go build` to build the project
- Run `go test` to run the tests

## TODO

- [x] Multiple repositories
- [ ] Simple authentication
- [ ] Remote backends
- [ ] Proxying
- [ ] Virtual Repositories
- [ ] API
- [ ] UI