Skip to content
This repository has been archived by the owner on May 13, 2019. It is now read-only.

rixx/abbr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abbr

abbr is a self-hosted URL shortener written in Python/flask.

Current state

Expiry, authentication and a bookmarklet still need to be done. Install information, and packaging, too.

Features

  • shorten a URL in the web interface, optionally give a custom short name

  • use ?info to show a URL's redirect URL instead of going there

  • use the API to generate short URLs:

    curl -X POST -d 'http://google.com' $ABBR_DOMAIN
    $ABBR_DOMAIN/sdfasdfs
    curl -X POST -d '{"url": "https://ooogle.com", "expiry": "2016-10-14 13:30:00", "name": "myshortname"}' $ABBR_DOMAIN
    $ABBR_DOMAIN/myshortname
    
  • a simple config file for self hosting

Features (tbd)

  • set an expiry time
  • a bookmarklet
  • optional support for login tokens/let only authenticated users a) see or b) create shortened URLs

Non-Features (ntbd)

  • no tracking of clicks
  • no stats on anything
  • no plugins

Installation

Either choose to install with docker, or try the ansible role.

Docker

build:

docker-compose build --pull

initialize:

docker-compose run web initdb

start developing:

docker-compose up

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •