Skip to content

Use the etherpad-lite HTTP API to import a bunch of files

Notifications You must be signed in to change notification settings

reality/epimport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

epimport

Import files to an etherpad-lite instance.

Basically, just open config.json, set the keys as detailed below and node epimport.js.

Annoyingly, the API seems to replace spaces with underscores for pad names (even thoughspaces are actually allowed). I am partial to changing the view to parse out underscores.

Config

instance

The path to your etherpad-lite instance, without a trailing slash.

api_key

This will be in your etherpad-lite install directory in APIKEY.TXT.

file_dir

The location of the files to import. Probably easiest to use the default and stick everything you want to upload in import/.

user_group

The group ID to create your pads under. This can be a little difficult to get normally, I recommend using the ep_adminpads plugin to figure them out from the admin interface.

convert_html

Convert what HTML is possible to markdown, strip the rest. Results vary.

About

Use the etherpad-lite HTTP API to import a bunch of files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published