A simple ES6 notepad web app powered by Mithril.js and LiteStore.
- Create, edit, view, delete notes.
- Markdown support.
- Fulltext search.
- Keyboard shortcuts.
- Two-file setup (LiteStore executable and LiteStore database).
- Run on localhost via LiteStore web server.
To start using LitePad, simply:
- Download the LiteStore executable file for your system and place it in a folder or in your $PATH.
- Do either of the following:
- Run from a pre-loaded LiteStore datastore:
- Download a LiteStore datastore (
data.db
) pre-loaded with the LitePad web app. - Run
litestore
in the directory containing thedata.db
file. - Navigate to http:https://localhost:9500/docs/litepad/index.html.
- Download a LiteStore datastore (
- Run from a source directory:
- Clone the LitePad repository or download and unpack a source release.
- Run
litestore -d:<path-to-LitePad-source-folder>
. - Navigate to http:https://localhost:9500/dir/index.html.
- Run from a pre-loaded LiteStore datastore:
LitePad makes extensive use of ES2015 (ES6) features such as:
- ES modules.
- Classes.
- Constant/local variable definition via
const
andlet
. - Arrow functions.
- Template literals.
Because of this, LitePad is currently only supported by the following browsers:
- Google Chrome 60 or higher (with the Experimental Web Platform features flag enabled).
- Apple Safari 10.1 or higher.
- CTRL+h — Go back to the home page/reload the home page.
- CTRL+f — Show search bar.
- CTRL+a — Add new note.
- Arrow Up — Select the next note.
- Arrow Down — Select the previous note.
- Space — View selected note.
- Arrow Up — Select the next note.
- Arrow Down — Select the previous note.
- Space — View selected note.
- Arrow Left — Go back to home page/search results.
- CTRL+e — Edit note.
- CTRL+d — Display delete note modal dialog.
- Esc — (when delete note modal dialog is displayed) cancel delete.
- Enter — (when delete note modal dialog is displayed) confirm delete.
- CTRL+s — Save current note and keep editing.
- CTRL+o — Save current note and view it.
LitePad exists thanks to:
- The LiteStore lightweight document store.
- The Mithril.js Javascript micro framework.
- The Spectre.css CSS framework.
- The marked Javascript markdown parser and compiler.
- The CodeMirror Javascript code editor.
- The timeago.js Javascript date format library.
- The keymage.js Javascript key binding library.
LitePad is licensed under the MIT License.