Description
goredirects enables the use of a vanity redirect domain in your go package
imports. For example, instead of using import "github.com/example/package" you
could use a vanity domain, and import "example.com/package", yet still host the
source code on GitHub.
Specifically, this tool creates a set of HTML files containing the go-imports
meta tags, for each of your projects. This uses the remote import
paths feature of go get
command to redirect from your vanity domain to GitHub.com.
goredirects alternatives and similar packages
Based on the "Command Line" category.
Alternatively, view goredirects alternatives based on common mentions on social networks and blogs.
-
urfave/cli
A simple, fast, and fun package for building command line apps in Go -
Rich Interactive Widgets for Terminal UIs
Terminal UI library with rich, interactive widgets — written in Golang -
go-prompt
Building powerful interactive prompts in Go, inspired by python-prompt-toolkit. -
elvish
Elvish = Expressive Programming Language + Versatile Interactive Shell -
tcell
Tcell is an alternate terminal package, similar in some ways to termbox, but better in others. -
survey
A golang library for building interactive and accessible prompts with full support for windows and posix terminals. -
pterm
✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible. -
cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀 -
kingpin
CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser -
progressbar
A really basic thread-safe progress bar for Golang applications -
The Platinum Searcher
A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings. -
pflag
Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. -
readline
Readline is a pure go(golang) implementation for GNU-Readline kind library -
asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. -
uiprogress
A go library to render progress bars in terminal applications -
Git Town
Git workflow automation to keep branches in sync and reduce merge conflicts. -
dotenv-linter
⚡️Lightning-fast linter for .env files. Written in Rust 🦀 -
mitchellh/cli
A Go library for implementing command-line interfaces. -
docopt.go
A command-line arguments parser that will make you smile. -
uilive
uilive is a go library for updating terminal output in realtime -
termenv
Advanced ANSI style & color support for your terminal applications -
CLI Color
🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库,支持16色,256色,RGB色彩渲染输出,使用类似于 Print/Sprintf,兼容并支持 Windows 环境的色彩渲染 -
aurora
Golang ultimate ANSI-colors that supports Printf/Sprintf methods -
ov
🎑Feature-rich terminal-based text viewer. It is a so-called terminal pager. -
complete
bash completion written in go + bash completion for go command -
flaggy
Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies. -
uitable
A go library to improve readability in terminal apps using tabular data
Collect and Analyze Billions of Data Points in Real Time
Do you think we are missing an alternative of goredirects or a related project?
README
goredirects

by Andrew Brampton (bramp.net)
goredirects enables the use of a vanity redirect domain in your go package
imports. For example, instead of using import "github.com/example/package"
you
could use a vanity domain, and import "example.com/package"
, yet still host the
source code on GitHub.
Specifically, this tool creates a set of HTML files containing the go-imports
meta tags, for each of your projects. This uses the remote import
paths feature of go get
command to redirect from your vanity domain to GitHub.com.
Example
To create a set of static HTML redirects:
$ go install bramp.net/goredirects
$ goredirects
Usage: goredirects <domain> <output dir>
$ goredirects bramp.net outputdir
# Looking under $GOROOT/src/bramp.net for all packages
...
This will search your $GOROOT/src/ for all packages, and create static HTML into the outputdir for each package.
To read more about how this tool works, checkout my blog article on the topic.
Licence (Apache 2)
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the goredirects README section above
are relevant to that project's source code only.