thealamu / trim

Open source URL shortening service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trim - URL Shortener

Build Status codecov Go Report Card

Trim is a URL shortener built with golang using a redis backing database(WIP!...stores data in memory for now). An instance is deployed at trim.ly.

Features

  • Fast API response and redirect
  • Statistics for your URLs - See how frequently users access your website
  • Private deploys, it's free and open source
  • Extendability, you can hot swap backing services such as the database

API 🚀

  • GET /
  • POST /trim

Development

Requirements

Build

Isolated dependencies, it's easy to build from source.

go get github.com/thealamu/trim

Testing

cd trim
go test ./...

Contributing

Start by forking this project, we would love to receive your pull requests.

About

Open source URL shortening service

License:GNU Lesser General Public License v3.0


Languages

Language:Go 40.4%Language:CSS 30.6%Language:HTML 15.6%Language:JavaScript 13.4%