shorturl

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2017 License: MIT Imports: 19 Imported by: 0

README

shorturl

GoDoc Go Report Card

shorturl is a web app that allows you to create short urls of much longer more complex urls for easier sharing or embedding.

Installation

Source
$ go install github.com/prologic/shorturl/...

Usage

Run shorturl:

$ shorturl

Then visit: http://localhost:8000/

Configuration

By default shorturl stores urls in urls.db in the local directory. This can be configured with the -dbpath /path/to/urls.db option.

shorturl also displays an absolute url after creating and uses the value of -baseurl (default: "") for display purposes. This is useful for copying and pasting the shorturl.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL