From c36f1575854950b40e6c84cdbb10f7e4c95a8f17 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 25 Sep 2019 18:59:04 +0200 Subject: [PATCH] Take a cleaning pass on the README Also note that we're migrating to Python 3. --- README.md | 91 +++++++++++++++++++------------------------------------ 1 file changed, 32 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index fa82adc..0991c5a 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,9 @@ A command-line utility that extends the multi writing and publishing functionali Many pads, many networks ------------------------ -*Etherpump* is a fork of [*etherdump*](https://gitlab.constantvzw.org/aa/etherdump), a command line tool written by [Michael Murtaugh](http://automatist.org/) that converts etherpad pages to files. This fork is made out of curiosities in the tool, a wish to study it and shared sparks of enthusiasm to use it in different situations within Varia. - -Etherpump is a stretched version of etherdump. It is a playground in which we would like to add features to the initial tool that diffuse actions of *dumping* into *pumping*. So most of all, etherpump is a work-in-progress, exploring potential uses of etherpads to edit, structure and publish various types of content. +*Etherpump* is a fork of [*etherpump*](https://gitlab.constantvzw.org/aa/etherpump), a command line tool written by [Michael Murtaugh](http://automatist.org/) that converts etherpad pages to files. This fork is made out of curiosities in the tool, a wish to study it and shared sparks of enthusiasm to use it in different situations within Varia. +Etherpump is a stretched version of etherpump. It is a playground in which we would like to add features to the initial tool that diffuse actions of *dumping* into *pumping*. So most of all, etherpump is a work-in-progress, exploring potential uses of etherpads to edit, structure and publish various types of content. Added features are: * opt-in publishing with the `__PUBLISH__` magic word @@ -19,27 +18,28 @@ Added features are: See the [Change log / notes ](#change-log--notes) section for further changes. -Etherdump is a tool that is used from the command line. It dumps all pads of one etherpad installation to a folder, saving them as different text files, such as plain text and HTML. It also creates an index file, that allows one to easily navigate through the list of pads. Etherdump follows a document-driven idea of publishing, which means that it converts pads as database entries into pads as files. This seems to be a redundant act of copying, but is actually an important in-between step that allows for many different publishing projects and experiments. - -We started to get to know etherdump through various editions of Relearn and/or the worksessions organized by Constant. Collaborative writing on an etherpad has been an important ingredient for these situations. The habit of using pads branched into the day-to-day practice of Varia, where we use etherpads for all sorts of things, ranging from organising remote-meetings with 10+ people, to writing and designing PDF documents collaboratively. +etherpump is a tool that is used from the command line. It dumps all pads of one etherpad installation to a folder, saving them as different text files, such as plain text and HTML. It also creates an index file, that allows one to easily navigate through the list of pads. etherpump follows a document-driven idea of publishing, which means that it converts pads as database entries into pads as files. This seems to be a redundant act of copying, but is actually an important in-between step that allows for many different publishing projects and experiments. -After installing etherdump on the Varia server, we collectively decided to not want to publish pads by default. Discussions in the group around the use of etherpads, privacy and ideas of what publishing means, led to a need to have etherdump only start the indexing work after it recognizes a `__PUBLISH__` marker on a pad. We decided to work on a `__PUBLISH__ vs. __NOPUBLISH__` branch of etherdump, which we now fork into **etherpump**. +We started to get to know etherpump through various editions of Relearn and/or the worksessions organized by Constant. Collaborative writing on an etherpad has been an important ingredient for these situations. The habit of using pads branched into the day-to-day practice of Varia, where we use etherpads for all sorts of things, ranging from organising remote-meetings with 10+ people, to writing and designing PDF documents collaboratively. +After installing etherpump on the Varia server, we collectively decided to not want to publish pads by default. Discussions in the group around the use of etherpads, privacy and ideas of what publishing means, led to a need to have etherpump only start the indexing work after it recognizes a `__PUBLISH__` marker on a pad. We decided to work on a `__PUBLISH__ vs. __NOPUBLISH__` branch of etherpump, which we now fork into **etherpump**. Change log / notes ================== **September 2019** -Forking *etherdump* into *etherpump*. (Work in progress!) +Forking *etherpump* into *etherpump*. (Work in progress!) +Migrating the source code to Python 3. + ----- **May - September 2019** -Etherdump is used to produce the *Ruminating Relearn* section of the Network Of One's Own 2 (NOOO2) publication. +etherpump is used to produce the *Ruminating Relearn* section of the Network Of One's Own 2 (NOOO2) publication. A new command is added to make a web publication, based on the custom magic word `__RELEARN__`. @@ -47,7 +47,7 @@ A new command is added to make a web publication, based on the custom magic word **June 2019** -Multiple conversations around etherdump emerged during Relearn Curved in Varia, Rotterdam. +Multiple conversations around etherpump emerged during Relearn Curved in Varia, Rotterdam. Including the idea of executable pads (*etherhooks*), custom magic words, a federated snippet protocol (*etherstekje*) and more. @@ -57,94 +57,67 @@ Including the idea of executable pads (*etherhooks*), custom magic words, a fede **April 2019** -Installation of etherdump on the Varia server. +Installation of etherpump on the Varia server. - + ----- **March 2019** -The `__PUBLISH__ vs. __NOPUBLISH__` was added to the etherdump repository by *decentral1se*. +The `__PUBLISH__ vs. __NOPUBLISH__` was added to the etherpump repository by *decentral1se*. - + ----- -Originally designed for use at: [Constant](http://etherdump.constantvzw.org/). +Originally designed for use at: [Constant](http://etherpump.constantvzw.org/). -More notes can be found in the [git repository of etherdump](https://gitlab.constantvzw.org/aa/etherdump). +More notes can be found in the [git repository of etherpump](https://gitlab.constantvzw.org/aa/etherpump). Install etherpump ================= -Requirements -------------- - -* python3 -* html5lib -* requests (settext) -* python-dateutil, jinja2 (used by the index subcommand) +`$ pip install etherpump` -Installation -------------- - -`$ pip install python-dateutil jinja2 html5lib` - -`$ python setup.py install` +Etherpump only supports Python 3. Example ---------------- +------- + ``` $ mkdir mydump $ cd myddump -$ etherdump init - +$ etherpump init ``` The program then interactively asks some questions: -``` - Please type the URL of the etherpad: - - https://pad.vvvvvvaria.org/ -``` +> Please type the URL of the etherpad: +> https://pad.vvvvvvaria.org/ The APIKEY is the contents of the file APIKEY.txt in the etherpad folder. -``` - Please paste the APIKEY: - - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -``` +> Please paste the APIKEY: +> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -The settings are placed in a file called `.etherdump/settings.json` and are used (by default) by future commands. +The settings are placed in a file called `.etherpump/settings.json` and are used (by default) by future commands. Subcommands ---------- -* init -* pull -* list -* listauthors -* gettext -* settext -* gethtml -* creatediffhtml -* revisionscount -* index -* deletepad -* publication (*etherpump*) +To see all available subcommands, run: -To get help on a subcommand: +`$ etherpump --help` -`$ etherdump revisionscount --help` +For help on each individual subcommand, run: +`$ etherpump revisionscount --help` License ======= -GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 +GNU AFFERO GENERAL PUBLIC LICENSE, Version 3. -See `License.txt` +See [LICENSE.txt](./LICENSE.txt).