1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-09-19 15:11:40 +02:00
Go to file
2016-09-17 21:22:43 -04:00
.github Rename issue template 2016-08-26 12:13:38 -07:00
app Allow CORS on API enpoints 2016-09-17 13:39:57 +10:00
bootstrap Implement core components of registration 2015-11-06 21:44:50 -05:00
database API auto key assign, anonymous API #141 #142 2016-02-19 19:13:50 -05:00
docs 2.0.0 bump 2016-09-11 16:14:38 -04:00
public Add option to redirect 404s and disabled URLs; update setup picture for 2.0.0 stable 2016-09-11 16:01:34 -04:00
resources Linkify short URLs on dashboard to allow copy/paste 2016-09-17 13:12:54 +10:00
storage 2.0 init commit 2015-11-02 23:13:32 -05:00
tests Add option to redirect 404s and disabled URLs; update setup picture for 2.0.0 stable 2016-09-11 16:01:34 -04:00
util Setup wording changes & new versioning script 2016-08-14 22:50:55 -07:00
vendor Add vendored files 2016-02-27 16:11:17 -05:00
.env.setup Bump version to 2.0.0 stable 2016-09-11 16:06:42 -04:00
.gitignore Add vendored files 2016-02-27 16:11:17 -05:00
.jshintrc delegate button actions to parent & add API active toggle logic 2015-12-12 12:47:20 -05:00
.travis.yml Install dependencies thorugh composer on CI 2016-02-27 16:11:51 -05:00
artisan 2.0 init commit 2015-11-02 23:13:32 -05:00
composer.json Add illuminate mailer 2016-02-27 15:54:40 -05:00
composer.lock Add illuminate mailer 2016-02-27 15:54:40 -05:00
LICENSE Correct bugs for LinkController 2015-11-06 20:25:48 -05:00
mkdocs.yml Add doc structure + add API docs 2015-11-14 12:58:18 -05:00
phpunit.xml Fix unit tests 2016-09-11 16:06:30 -04:00
README.md Correct typo 2016-09-11 21:17:51 -04:00
server.php 2.0 init commit 2015-11-02 23:13:32 -05:00

Logo

🚡 A modern, minimalist, and lightweight URL shortener.

GitHub license Builds status Docs

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

Quickstart

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

  • To get started with Polr on your server, check out the installation guide. You can clone this repository, or download a release.
  • To get started with the Polr API, check out the API guide.

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

Demo

To test out the demo, head to demo.polr.me and use the following credentials:

  • Username: demo-admin
  • Password: demo-admin

Upgrading Polr

Please do not attempt to upgrade directly to 2.x.

Polr 1.x currently cannot be upgraded to 2.x automatically. There are breaking changes in the API, configuration files, and database structure. It is safe to upgrade between different versions in the 1.x arch, which do not have breaking changes. Always backup your database and configuration files before upgrading Polr.

Browser Extensions

####Versioning

Polr uses Semantic Versioning

####License

Copyright (C) 2013-2016 Chaoyi Zha

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.

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
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.