2017 © Pedro Peláez
 

library etherpad-lite-console

A thin console toolkit to maintain an etherpad lite instance

image

0x46616c6b/etherpad-lite-console

A thin console toolkit to maintain an etherpad lite instance

  • Sunday, April 23, 2017
  • by 0x46616c6b
  • Repository
  • 1 Watchers
  • 3 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

Etherpad Lite Console (PHP)

Continuous Integration Latest Stable Version License Scrutinizer Quality Score, (*1)

A thin console toolkit to maintain an etherpad lite instance, (*2)

Installation

git clone https://github.com/0x46616c6b/etherpad-lite-console.git

cd etherpad-lite-console

composer install

./bin/console

Sample Output, (*3)

Etherpad Lite Console version 0.1

Usage:
  [options] command [arguments]

Options:
  --help           -h Display this help message.
  --quiet          -q Do not output any message.
  --verbose        -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  --version        -V Display this application version.
  --ansi              Force ANSI output.
  --no-ansi           Disable ANSI output.
  --no-interaction -n Do not ask any interactive question.

Available commands:
  help                  Displays help for a command
  list                  Lists commands
pad
  pad:delete            Delete a pad
  pad:purge             Purge pads which older then x days
redis
  redis:import:sqlite   Imports a sqlite database to redis

Current features

  • Delete a pad
  • Purge old pads (avoid massive data retention)
    • White- or blacklist pads by suffixes to their pad IDs
  • Migration
    • From SQLite to Redis

Purging pads by suffixes

Suffixes to pad IDs can be used for variable expiry pad times. E.g. to purge pads with suffix '-1day' after 1 day, with '-1year' after 365 days and all other pads after 60 days, do the following:, (*4)

./bin/console pad:purge --days=1 --suffix=-1day
./bin/console pad:purge --days=365 --suffix=-1year
./bin/console pad:purge --days=60 --ignore-suffix=-1day --ignore-suffix=-1year

Implementation

Wishlist

  • More Migration (MySQL -> Redis, ...)
  • Stats, stats, stats

The Versions

23/04 2017

dev-master

9999999-dev

A thin console toolkit to maintain an etherpad lite instance

  Sources   Download

GPL-3.0

The Requires

 

by louis

23/04 2017

v0.1.2

0.1.2.0

A thin console toolkit to maintain an etherpad lite instance

  Sources   Download

GPL-3.0

The Requires

 

by louis

02/01 2014

v0.1.1

0.1.1.0

A thin console toolkit to maintain an etherpad lite instance

  Sources   Download

GPL-3.0

The Requires

 

by louis

24/12 2013

v0.1.0

0.1.0.0

A thin console toolkit to maintain an etherpad lite instance

  Sources   Download

GPL-3.0

The Requires

 

by louis