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

https://github.com/gsora/mu

Stupidly blind URL shortener
https://github.com/gsora/mu

blind do-not-use-in-production shortener stupid url

Last synced: about 2 months ago
JSON representation

Stupidly blind URL shortener

Awesome Lists containing this project

README

          

# `mu`: a stupidly blind URL shortener

You'll never find a stupider URL shortener, I guarantee you!

## Why!

Why not?

## How does it work?

Easy! This repository is `go get`-able, no external dependencies are needed.

Then, just run it!

Shortened links are saved on-disk in the `linkdb` file found in the folder where `mu` resides.

`mu` **does not** implements HTTPS support, just use a reverse proxy (nginx, Apache, or [Caddy](https://caddyserver.com/)).

## Endpoints

**Endpoint**|**Method**|**Arguments**
:-----:|:-----:|:-----:
|`/add`|**`GET`**|`url`, URL being shortened|

## Bonus, cloc!

```
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Go 2 42 23 149
-------------------------------------------------------------------------------
SUM: 2 42 23 149
-------------------------------------------------------------------------------
```