2018-01-11 02:33:32 +01:00
< img src = "https://i.imgur.com/ckI6GTu.png" width = "350px" alt = "Polr Logo" / >
2018-01-10 23:49:36 +01:00
2015-11-04 03:25:30 +01:00
:aerial_tramway: A modern, minimalist, and lightweight URL shortener.
2017-02-04 06:10:10 +01:00
[![GitHub license ](https://img.shields.io/badge/license-GPLv2%2B-blue.svg )]()
[![GitHub release ](https://img.shields.io/github/release/cydrobolt/polr.svg )](https://github.com/cydrobolt/polr/releases)
2018-01-11 00:13:04 +01:00
[![Builds status ](https://travis-ci.org/cydrobolt/polr.svg )](https://travis-ci.org/cydrobolt/polr)
2016-03-02 02:45:21 +01:00
[![Docs ](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat )](http://polr.readthedocs.org/en/latest/)
2015-11-15 16:51:02 +01:00
2017-02-04 06:10:10 +01:00
2016-09-12 01:20:45 +02:00
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.
2016-02-12 17:41:42 +01:00
2017-05-13 19:24:52 +02:00
[Getting Started ](http://docs.polrproject.org/en/latest/user-guide/installation/ ) - [API Documentation ](http://docs.polrproject.org/en/latest/developer-guide/api/ ) - [Contributing ](https://github.com/cydrobolt/polr/blob/master/.github/CONTRIBUTING.md ) - [Bugs ](https://github.com/cydrobolt/polr/issues ) - [IRC ](http://webchat.freenode.net/?channels=#polr )
2016-02-12 17:41:42 +01:00
2016-09-12 01:20:45 +02:00
### Quickstart
2016-02-12 17:41:42 +01:00
2016-09-12 03:17:51 +02:00
Polr is written in PHP and Lumen, using MySQL as its primary database.
2016-02-12 17:41:42 +01:00
2018-01-11 00:13:04 +01:00
- To get started with Polr on your server, check out the [installation guide ](http://docs.polrproject.org/en/latest/user-guide/installation/ ). You can clone this repository, or download a [release ](https://github.com/cydrobolt/polr/releases ).
2017-05-13 19:24:52 +02:00
- To get started with the Polr API, check out the [API guide ](http://docs.polrproject.org/en/latest/developer-guide/api/ ).
2015-11-04 03:25:30 +01:00
2016-02-29 05:06:17 +01:00
2016-09-12 03:17:51 +02:00
Installation TL;DR: clone or download this repository, set document root to `public/` , create MySQL database, go to `yoursite.com/setup` and follow instructions.
2016-05-22 17:04:56 +02:00
2016-09-12 01:20:45 +02:00
### Demo
2016-05-22 17:04:56 +02:00
2016-09-12 03:09:18 +02:00
To test out the demo, head to [demo.polr.me ](http://demo.polr.me ) and use the following credentials:
2016-05-22 17:04:56 +02:00
2016-09-12 03:09:18 +02:00
- Username: `demo-admin`
- Password: `demo-admin`
2016-05-22 17:04:56 +02:00
2016-09-12 01:20:45 +02:00
### Upgrading Polr
2016-12-07 02:13:56 +01:00
*Upgrading from 1.x:*
2016-09-12 01:20:45 +02:00
2016-12-07 02:13:56 +01:00
There are breaking changes between 2.x and 1.x; it is not yet possible to automatically upgrade to 2.x.
2016-09-12 01:20:45 +02:00
2016-12-07 02:14:28 +01:00
*Upgrading from 2.x:*
2016-12-07 02:13:56 +01:00
- Back up your database and files
- Update by using `git pull` or downloading a release
2017-01-27 00:46:56 +01:00
- Run `composer install --no-dev -o` to ensure dependencies are up to date
2017-01-05 21:03:37 +01:00
- Migrate with `php artisan migrate` to ensure database structure is up to date
2016-09-12 01:20:45 +02:00
2016-06-07 22:51:05 +02:00
#### Browser Extensions
2017-01-27 00:11:53 +01:00
* Safari - [Polr.safariextension ](https://github.com/cleverdevil/Polr.safariextension )
2016-05-22 17:04:56 +02:00
2018-01-11 00:13:04 +01:00
#### Libraries
* Python - [mypolr ](https://github.com/fauskanger/mypolr )
#### Acknowledgements
2017-05-23 04:29:12 +02:00
We would like to thank Oregon State University's Open Source Lab for providing resources for our infrastructure. The Polr website and demo are hosted on their infrastructure.
< a href = "//osuosl.org" > < img height = "100em" src = "http://i.imgur.com/1VtLxyX.png" / > < / a >
2018-01-11 00:13:04 +01:00
Thank you to [lastspark ](https://thenounproject.com/lastspark/ ) for providing our logo's icon.
2017-03-23 21:35:45 +01:00
#### Versioning
2015-11-04 03:25:30 +01:00
2016-02-12 17:41:42 +01:00
Polr uses [Semantic Versioning ](http://semver.org/ )
2015-11-15 16:51:02 +01:00
2016-05-22 17:04:56 +02:00
2017-03-23 21:35:45 +01:00
#### License
2015-11-04 03:25:30 +01:00
2018-01-11 00:13:04 +01:00
Copyright (C) 2013-2018 Chaoyi Zha
2015-11-04 03:25:30 +01:00
2015-11-07 02:27:11 +01:00
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
2015-11-04 03:25:30 +01:00
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
2015-11-07 02:27:11 +01:00
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.