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.
- Host: GitHub
- URL: https://github.com/blackieops/synonym
- Owner: blackieops
- License: bsd-3-clause
- Created: 2022-02-23T06:25:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T20:29:49.000Z (almost 3 years ago)
- Last Synced: 2025-01-02T06:16:56.816Z (about 1 year ago)
- Topics: docker, golang, gopkg, microservice, yaml
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```