Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arxdsilva/stsuru
Simple Link Shortener made with Go!
https://github.com/arxdsilva/stsuru
golang link-shortener shortener
Last synced: 5 days ago
JSON representation
Simple Link Shortener made with Go!
- Host: GitHub
- URL: https://github.com/arxdsilva/stsuru
- Owner: arxdsilva
- License: mit
- Created: 2016-07-04T19:58:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-19T17:30:28.000Z (about 8 years ago)
- Last Synced: 2024-10-12T09:20:06.165Z (about 1 month ago)
- Topics: golang, link-shortener, shortener
- Language: Go
- Homepage: https://arxdsilva.github.io/Stsuru/
- Size: 16.2 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/ArxdSilva/Stsuru.svg?branch=master)](https://travis-ci.org/ArxdSilva/Stsuru)
[![Go Report Card](https://goreportcard.com/badge/github.com/arxdsilva/Stsuru)](https://goreportcard.com/badge/github.com/arxdsilva/Stsuru)# Stsuru
- **Simple** link shortener;
- Written in [Go](http://golang.org);**Obs:** This directory contains a example server using the [Shortener package](https://github.com/ArxdSilva/Stsuru/tree/master/shortener) that is the main application. So if you want to test It locally just use the Instalation guide and run the server.
## Introduction
Implementation of a simple URL shortener in Golang. Intended to `hash` & `display` sortened URL's in a 'pure' Golang's server. It uses Gorilla's mux to handle server requests.## Instalation
### Stable
If you need the latest stable version I recomend you to get our latest [**Release**](https://github.com/ArxdSilva/Stsuru/releases).### Go Get
- _If you enjoy, dont forget to **Star** the repository! :)_The easiest way is to install with go get (**needed Golang 1.7 or later installed**):
```shell
$ go get -u github.com/arxdsilva/Stsuru
```
### Git Clone
As an alternative you can use also `git clone`:
- SSH
```shell
$ git clone [email protected]:ArxdSilva/Stsuru.git
```
- HTTPS
```shell
$ git clone https://github.com/ArxdSilva/Stsuru.git
```## Usage
```shell
$ cd (PATH)/github.com/arxdsilva/Stsuru
```
### Tests
```shell
$ go test -v ./...
```
### Start server
```shell
$ go run main.go
```
Open your **browser** and type:
[`localhost:8080`](http://localhost:8080/)
### Building packages
```shell
$ go build
```## LICENSE
Check our [MIT](https://github.com/ArxdSilva/Stsuru/blob/master/LICENSE) license file for more info.## Credits
Made by **[@arxdsilva](https://twitter.com/arxdsilva)** with great help of [Tsuru team](https://github.com/tsuru/tsuru) & contributors!## Extra
Want to implement a free PaaS & that is Open source? Check [Tsuru](https://github.com/tsuru/tsuru)!