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 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.
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 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.
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:
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 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 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 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 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
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 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.
Make your long links short and only uses lowercase, so you can write and spell them faster!
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: