asciidoclive icon indicating copy to clipboard operation
asciidoclive copied to clipboard

Full-featured free online AsciiDoc editor https://asciidoclive.com/

AsciiDocLIVE

AsciiDocLIVE (https://asciidoclive.com[asciidoclive.com]) is a full-featured online http://www.methods.co.nz/asciidoc/[AsciiDoc] editor.

Main features:

  • Instant live preview (based on https://github.com/asciidoctor/asciidoctor.js[asciidoctor.js]);
  • Sync with Dropbox and Google Drive;
  • Customizable editor (based on https://ace.c9.io/[ACE]), with themes and Vim / Emacs keybindings;
  • Runs in any modern browser; no installation required.

Try it out at https://asciidoclive.com[asciidoclive.com]!

Demo


Click for demo:

https://youtu.be/th_H1gixMEE[image:http://img.youtube.com/vi/th_H1gixMEE/0.jpg["AsciiDocLIVE Demo"]]


Running Locally

AsciiDocLIVE uses the http://ember-cli.com/[Ember CLI] build system. To build:

[source,bash]

git clone [email protected]:jichu4n/asciidoclive.git cd asciidoclive/client npm install bower install

npm install -g ember-cli

To run local development server on port 8001:

ember serve

For Dropbox integration, https://www.dropbox.com/developers/apps/create[create an app] on Dropbox and copy the generated App Key into the DROPBOX_APP_KEY field in https://github.com/jichu4n/asciidoclive/blob/master/client/config/environment.js[/client/config/environment.js], and set ENABLE_DROPBOX to true.

For Google Drive integration, https://developers.google.com/identity/sign-in/web/devconsole-project[create a new project] in the Google Developers Console and https://support.google.com/cloud/answer/6158862?hl=en&ref_topic=6262490[create a Browser API Key and OAuth Client ID]. Then populate the following fields in https://github.com/jichu4n/asciidoclive/blob/master/client/config/environment.js[/client/config/environment.js] accordingly:

  • ENABLE_GOOGLE_DRIVE: true
  • GOOGLE_CLIENT_ID: The OAuth Client ID (e.g., 12345678-abcdefg.apps.googleusercontent.com);
  • GOOGLE_APP_ID: The leading digits of the OAuth Client ID preceding the hyphen (e.g., 12345678);
  • GOOGLE_API_KEY: The Browser API Key (e.g., AbCdEfGh_1IjK)

Deployment


To build for production:

[source,bash]
----
cd asciidoclive/client
ember build --environment=production
----

The
https://github.com/jichu4n/asciidoclive/tree/master/production[`/production/`]
directory contains an example Dockerized NGINX server setup for the app. You
can use it as a template to build a Docker container for deployment.


License
~~~~~~~

The source code is distributed under the Apache License 2.0.