This repository has been moved to https://gitlab.science.ru.nl/cloogle/cloo-gl.
You should read soon as: not implemented yet. You should read yet as: to be discussed.
- Install 
apache2phpandphp-sqlite - Enable the 
mod_rewriteapache module - Configure 
apacheto serve this directory - Run the 
init.phpscript to initialize the database. This also serves as an update script for older versions. 
If you also want paste support:
- Install 
fiche(https://github.com/solusipse/fiche) - Make sure 
ficheruns and open port 9999 
Just run(soon):
docker build -t cloo.gl .
docker run -v "$PWD":/var/www/html -p 80:80 cloo.gl
The contrib directory contains some helper scripts to use cloo.gl
functionality from different programs.
The user will be redirected to https://cloogle.org
- 
/e/####Will redirect to
/?type=cloogle&key=#### - 
/p/####Will redirect to
/?type=paste&key=#### - 
/####Will redirect to
/?type=regular&key=#### 
- 
type=cloogleThe user will be redirected to the address associated with
key. This is always acloogle.orglink. - 
type=pasteThe pasted file (using
fiche) will be shown to the user. - 
type=regularThe user will be redirected to the address associated with
key. This is can be any link. Note that not everyone can create such links it requires an authentication token(at least soon). 
All requests will print the url. When an error occurs a different HTTP code
will be returned.
Creates a shortened url for the url POST variable which is a  cloogle
query. This should only be called from the cloogle frontend and is available
for everyone
Creates a shortened url for the url POST variable if and only when the
token POST variable is accepted(soon). Not everyone can create cloo.gl
shortened urls(yet).
- 0.4: Added 
fichesupport. - 0.3: Added dates for the keys.
 - 0.2: Added logging for urls.
 - 0.1: Initial version.