2017 © Pedro Peláez
 

project chert

An URL minifier in 5 minutes.

image

pygillier/chert

An URL minifier in 5 minutes.

  • Thursday, December 17, 2015
  • by pygillier
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 5 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Chert

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., (*1)

SensioLabsInsight, (*2)

Requirements

Chert requires the following basics to run out-of-box. * PHP 5.3.8+ * Composer * The [PDO SQLite][4] driver (or Mysql), (*3)

Installation

Using CLI, type the following :, (*4)

$ 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., (*5)

Alternate database (MySQL, PGSQL, ...)

Chert can use any [PDO compatible][4] DBMS., (*6)

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., (*7)

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., (*8)

Settings.yml reference

Everything is documented in settings.yml-dist., (*9)

Usage

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

The Versions