A browser-based version of the Leo Editor, available at https://boltex.github.io/leo-web/
Leo is a fundamentally different way of using and organizing data, programs and scripts. 📺 Introduction Video
See Leo, the Literate Editor with Outline, at leo-editor.github.io/leo-editor or on github.
This project is a TypeScript implementation that brings the Leo Editor experience to the web. (Scriptable in either Javascript or Typescript) It uses the browser's File System API for local file access.
- System Directories: C:\Windows, C:\Program Files, C:\Program Files (x86).
- Root Directories: The root of the C: drive or other fixed drives.
- User Profiles: Often directly, Documents, Downloads, Desktop.
- System Files: Any folder containing crucial system data or "sensitive" locations.
- Subdirectories: The API usually allows access to subdirectories within user folders (e.g., Documents/MyProject), just not the top-level restricted folders themselves.
For other usage scenarios, see other Leo implementations for versions that support online repositories, or integrated as VSCode extensions.
- Unlike LeoInteg & LeoJS, Leo-Web cannot access your ~/.leo folder nor its 'myLeoSettings.leo' file. It can only access your chosen workspace.
- A myLeoSettings file can still be used if it is located at the root of your chosen workspace. (Leo-Web will generate one for you if absent with the 'open myLeoSettings' command)
- U.I. related settings are accessed in a tab from the log pane instead of the usual 'LeoSettings/myLeoSettings' files.
- To keep Leo-Web light and fast, it does not support .db files.
- Running in the browser, Leo scripts cannot launch OS shell commands.
- Absolute paths are not supported with the browser's file API. Use relative paths exclusively for external files.
Ctrl+TAB,Ctrl+NandCtrl+Tare reserved by the browser for opening new windows or tabs.- There is a single log pane, shared across opened Leo documents.
- Leo-Web shares the same core implementation as LeoJS for the web, so the original Leo docutils features are missing.
- Nav pane
- @button pane
- Undo history pane
- Abbreviations
If you would like to modify or build this project yourself, see CONTRIBUTING.md for how to get started.
To instead work with files directly inside online repositories, such as on GitHub and Azure-Repos, use the LeoJS VSCode extension within VSCode for the web. (It also can run in the desktop version of VSCode for local file editing)
To work with the original Python implementation of Leo integrated into VSCode, use the LeoInteg VSCode extension.
See Leo, the Literate Editor with Outline, at leo-editor.github.io/leo-editor or on github.
Edward K. Ream, and to all who have participated, no matter how small or big the contribution, to the creation of the original Leo Editor!