☕ 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
- Create a basic
coffee-beans.yaml
withrepositories: - libs-release
- Start
coffee-beans
to start an instance with a single repo calledlibs-release
serving files fromdata
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
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
- Multiple repositories
- Simple authentication
- Remote backends
- Proxying
- Virtual Repositories
- API
- UI