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

https://github.com/blackieops/synonym

🥸 Go module aliasing microservice.
https://github.com/blackieops/synonym

docker golang gopkg microservice yaml

Last synced: about 1 year ago
JSON representation

🥸 Go module aliasing microservice.

Awesome Lists containing this project

README

          

# `blackieops/synonym`

This is a small Go microservice to handle returning Go module metadata and
redirect/alias the paths to Github.

## Usage

First you need a `config.yaml`. For example:

```yaml
---
hostname: "go.b8s.dev"
target_base_url: "github.com/blackieops"
default_branch_name: "main"
```

We recommend deploying synonym via Docker. Just forward the port and mount your
config file:

```
$ docker run --rm -p 6969:6969 -v `pwd`/config.yaml:/config.yaml ghcr.io/blackieops/synonym:main
```