You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Max Schmitt 760e5a822e added missing ca-certificates to the Dockerfiles 8 years ago
.vscode Fix #7 8 years ago
build - Added optional config file: fix #40 8 years ago
handlers Aded show only the maintained oAuth providers in the frontend. Fix #41 8 years ago
static Fixed typo in not showing the providers in the frontend correctly 8 years ago
store Added GitHub as oAuth Provider: #23 8 years ago
util Added GitHub as oAuth Provider: #23 8 years ago
.gitignore - Added optional config file: fix #40 8 years ago
.travis.yml fixed uploading typo 8 years ago
Dockerfile.amd64 added missing ca-certificates to the Dockerfiles 8 years ago
Dockerfile.arm added missing ca-certificates to the Dockerfiles 8 years ago
LICENSE.md - Added LICENSE.md 8 years ago
Makefile Minor dockerfile changes 8 years ago
README.md Removed waffle.io project 8 years ago
main.go - Added optional config file: fix #40 8 years ago

README.md

Golang URL Shortener (Work in Progress)

Build Status GoDoc Go Report Card Coverage Status License Download

Main Features

  • URL Shortening
  • Visitor Counting
  • Expirable Links
  • URL deletion
  • Authorization System via OAuth 2.0 from Google (more providers following)
  • High performance database with bolt
  • Easy ShareX integration
  • Dockerizable

Webinterface

Short URLs


Generate ShareX Configuration

Documenation

Clients

General

In general the POST endpoints can be called, by using one of the following techniques:

  • application/json
  • application/x-www-form-urlencoded
  • multipart/form-data

For all the endpoints which are on /api/v1/protected there is the Authorization header required.

Why did you built this

Just only because I want to extend my current self hosted URL shorter with some features and learn about new techniques like:

  • Golang unit testing
  • React
  • Makefiles
  • Travis CI
  • Key / Value databases