pygillier/chert

This package is abandoned and no longer maintained. No replacement package was suggested.

An URL minifier in 5 minutes.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 5

Type:project

0.5.2 2015-12-16 20:01 UTC

This package is not auto-updated.

Last update: 2020-01-24 14:53:15 UTC


README

Chert is your own URL minifier in less than 5 minutes. Built with Silex, you only need one command for setup and have you personal bit.ly or goo.gl.

SensioLabsInsight

Requirements

Chert requires the following basics to run out-of-box.

Installation

Using CLI, type the following :

$ composer install pygillier/chert

Configuration

Installation process will create the file app/settings.yml. This default setup uses a SQLite database located at app/chert.db. If you encounter SQLite error, please make sure the file and the containing directory are writable by the webserver.

Alternate database (MySQL, PGSQL, ...)

Chert can use any PDO compatible DBMS.

As Chert is based on Doctrine DBAL, database configurations options in Chert are the same as the one used in DBAL configuration. An SQL script is provided for MySQL, it can be easily converted to others RDBMS.

Web-access

Chert's entry point is web/index.php. In order to have shorter URLs and protect your configuration file, you need to redefine vhost document root to web/ directory. For more details, see the Silex webserver configuration page.

Settings.yml reference

Everything is documented in settings.yml-dist.

Usage

Open your favorite browser and go to Chert URL. Enter an URL in input field then save. You're done!