url shorteners

yourls

23 May 2020Last Commit6099 (787/yr)Github Stars64Issues

Your Own URL Shortener

YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener. You'll have full control over your data, detailed stats, analytics, plugins, and more. It's free and open-source.

Before opening any issue, please search for existing issues and read the Issue Guidelines.

Have a new bug to report? Please open a new issue.

Do you use and enjoy YOURLS? Become a backer and show your support to our open source project.

Does your company use YOURLS? Ask your manager or marketing team if your company would be interested in supporting our project. Your company logo will show here. Help support our open-source development efforts by becoming a sponsor.

kutt

20 May 2020Last Commit3763 (1652/yr)Github Stars69Issues

Kutt is a modern URL shortener with support for custom domains. Shorten URLs, manage your links and view the click rate statistics.

Contributions and bug reports are welcome.

https://kutt.it

The new version of Kutt is here. In version 2, we used TypeScript and we moved from Neo4j to PostgreSQL database in favor of performance and we're working on adding new features.

If you're coming from v1, refer to MIGRATION.md to migrate data from Neo4j to PostgreSQL.

You need to have Node.js, PostgreSQL and Redis installed.

polr

01 May 2020Last Commit3211 (489/yr)Github Stars152Issues

🚡 A modern, minimalist, and lightweight URL shortener.

Polr is an intrepid, self-hostable open-source link shortening web application with a robust API. It allows you to host your own URL shortener, to brand your URLs, and to gain control over your data. Polr is especially easy to use, and provides a modern, themable feel.

Getting Started - API Documentation - Contributing - Bugs - IRC

Polr is written in PHP and Lumen, using MySQL as its primary database.

Installation TL;DR: clone or download this repository, set document root to public/, create MySQL database, go to yoursite.com/setup and follow instructions.

shlink

17 May 2020Last Commit425 (103/yr)Github Stars29Issues

A PHP-based self-hosted URL shortener that can be used to serve shortened URLs under your own custom domain.

This document references Shlink 2.x. If you are using an older version and want to upgrade, follow the UPGRADE doc.

These are the steps needed to install Shlink if you plan to manually host it.

Alternatively, you can use the official docker image. If that's your intention, jump directly to Using a docker image

First, make sure the host where you are going to run shlink fulfills these requirements:

lstu

18 May 2020Last Commit146 (22/yr)Github Stars0Issues

It means Let's Shorten That Url.

Lstu is licensed under the terms of the WTFPL. See the LICENSE file.

Please, see the wiki.

Or you can see usage with Docker.

By default, there are 8 361 453 672 available combinations.

I think the sqlite db will explode before you reach this limit, but you can use PostgreSQL or MySQL as database instead of SQLite.

If you want more shortened URLs than that, open lstu.conf and change the length setting.

Every time somebody uses Lstu, it will create 'waiting' shortened URLs codes in order to be quick to shorten the URLs.

linkr

28 May 2019Last Commit110 (32/yr)Github Stars1Issues

Linkr is a self-hosted URL shortener built on modern web technologies that is fast, minimalistic, and developer-friendly.

Get the code

Install dependencies

Set up the MySQL database

Configuration options and secrets

Build the app.

Run the linkr_setup.py script to walk you through setting up the database and creating an admin user.

Almost there! An Apache virtual host config sample using WSGI:

The service is now live at t.example.com!

Building the application from source is highly recommended. This is because the application's configuration options are specific to your installation, and must be configured before the application can run. Also, client-side secrets are bundled directly into the application as part of the build process, so it's not possible to distribute a pre-built frontend.

shorturl

20 Nov 2019Last Commit65 (22/yr)Github Stars9Issues

shorturl is a web app that allows you to create short urls of much longer more complex urls for easier sharing or embedding.

Due to the necessity of the way assets are handled if you are building/installing from source and intend to run outside of the source tree you need to do something like this:

Run shorturl:

Then visit: http://localhost:8000/

By default shorturl stores urls in urls.db in the local directory. This can be configured with the -dbpath /path/to/urls.db option.

shorturl also displays an absolute url after creating and uses the value of -baseurl (default: "") for display purposes. This is useful for copying and pasting the shorturl.

liteshort

23 May 2020Last Commit29 (23/yr)Github Stars3Issues

liteshort is a link shortener designed with lightweightness, user and sysadmin-friendliness, privacy, and configurability in mind.

Click here for a live demo.

Why liteshort over other URL shorteners?

liteshort is designed with the main goal of being lightweight. It does away with all the frills of other link shorteners and allows the best of the basics at a small resource price. liteshort uses under 20 MB of memory idle, per worker. liteshort has an easy-to-use API and web interface. liteshort doesn't store any more information than necessary: just the long and short URLs. It does not log the date of creation, the remote IP, or any other information.

gshort

04 Feb 2020Last Commit28 (57/yr)Github Stars0Issues

gShort is a URL shortener that you can selfhost or easily deploy to a PaaS. (Demo Site on Heroku)

gShort requires a json configuration file, you can check the one that demo site uses here.

Deployment to Heroku should be pretty straightforward:

TODO

schort

29 Dec 2018Last Commit24 (6/yr)Github Stars2Issues

The schort.wsgi file can be set as UWSGI_PROGRAM if you use uWSGI. Keep in mind, that the UWSGI_DIR needs to be set to the path where schort.py resists. This is because schort is not installed in a global scope. Since schort.wsgi imports schort.py it needs his workspace in the same folder.

simple-url-shortener

18 May 2020Last Commit14 (3/yr)Github Stars0Issues

Simple shortener working with MySQL or SQLite database in PHP. The goal is to create a simple and KISS shortener without dependencies. The user can add comments for the link to find it faster into its history.

Nice shortcut added. The shortcut will create a new short url of your current page when you click on it. Writed to work into subfolder. (don't need to be at the root)

For security reasons, the cookies are set on https only (cookie_secure mode) Authentification will not for if your website isn't on HTTPS. For testing purpose, you need an browser addons to disable this security like this one on Firefox.

url-shortener

09 Jul 2019Last Commit3 (1/yr)Github Stars0Issues

Make your long links short and only uses lowercase, so you can write and spell them faster!

link-shortener-front-end

29 Sep 2017Last Commit2 (1/yr)Github Stars0Issues

Host your own link shortener that works with a bot. Just send the link to a bot and it'll take care of the rest for you. Demo: @GiveMeShortLinkBot

This is the backend (nevermind the repo name) for the link shortener. You need a bot to add links to this link shortener. For source code of the bot see tommyku/link-shortener-bot

After cloning the repo, you should create two environmental variables FIREBASE_BASE_URI and FIREBASE_SECRET_KEY referring to your to the Firebase realtime database.

To run locally: