Skip to the content.

Go Vanity Imports with Jekyll

This repository provides a simple generator for Go vanity import paths.

Point your domain, declare your modules, and let the tool generate the required go-import and go-source meta tags - keeping your import paths clean while your code stays hosted wherever you prefer (GitHub, GitLab, or any other VCS).


Features


Usage

Example: install a Go module

go get go.netkraken.com/tentacle@latest

In code:

import "go.netkraken.com/tentacle"

Other modules can be declared in _data/vanity.yml, for example:


How it works


Development

Run locally:

bundle install
bundle exec jekyll serve --trace

Add a new module:

  1. Edit _data/vanity.yml and add a new entry
  2. Commit and push → the GitHub Actions workflow will rebuild and deploy automatically

License

Licensed under the Apache License 2.0 (see LICENSE).