Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/farhaanbukhsh/shorty

A URL link shortner for the masses
https://github.com/farhaanbukhsh/shorty

golang golang-application golang-library url

Last synced: 14 days ago
JSON representation

A URL link shortner for the masses

Awesome Lists containing this project

README

        

# Shorty

![Go](https://github.com/farhaanbukhsh/shorty/workflows/Go/badge.svg?branch=master)

URL shortner for the masses. This is the most basic URL shortner written, which probably shouldn't be used in production but can be run for your small server at your `localhost`.

## Usage

``
go get github.com/farhaanbukhsh/shorty
``

If `GOPATH` is set properly and added to `PATH`, we should have a utility called `shorty` in the path.

By default it uses `sqlite` as the database.

This is still a work in progress.

## Config

``
{
"hostname": "http://localhost:8080/",
"database": "shorty.db",
"port": ":8080"
}
``

This is a config demo file that can be injected to modify the parameters.

*P.S*: Will be updating this repo with more information and features