It opens and looks good in Vivaldi, a Chrome-based browser. In a Mozilla-based browser, the browser doesn't have permission to open files in the local file system.
![]() | |
On Mar 26, 2026, at 3:28 PM, Félix <felix...@gmail.com> wrote:
btw firefox does not support filesystem API either way - so until they decide to support it, no use trying it with firefox :)
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/leo-editor/da616bf4-413b-42ec-a744-77fa1f3a56den%40googlegroups.com.
...
📱 Install it like a real app
leo-web includes a web app manifest, which means you can install it as a standalone app on desktop (Chrome, Edge, etc.) or mobile devices with the 'install button' at the end of the adress bar.
@Viktor Not offline yet - that implies 'compiling' the app in another way. I'll have to document myself on that matter to be able to do it (if possible at all with the actual codebase)
On the other hand: I've just discovered how to make some keyboard shortcuts be 'positional' on the keyboard instead of being 'by printed character'. (didnt know I could do that in javascript lol !)
That will finally enable me to have a reliable shortcut for clone, promote and demote (pressing ctrl+the key under escape, ctrl+the key on the right of 'p', and ctrl+the key on the right of that last one!) Those are easy to trigger on an english u.s. keyboard layout, but on canadian-multilingual or french (and others) keyboard layouts they had to be remapped in some way to trigger in Leo.
So far I'll make only those 3 be positional. Please let me know if you can foresee any problems with that
...
If you do give it a spin, I’d be really interested to hear:
- what feels great
- what feels missing
- and what breaks 🙂
@viktor
> Is there a particular reason why you have not provided the 'exit-leo' command ?
Ah! good catch! I thought I'd quickly add an 'exit leo' command, so I went to document myself on how to have a web-page close itself, but here's what I learned:
Due to modern browser security restrictions, a web application cannot force the entire browser or a tab opened by the user to close programmatically.
Am Sa., 28. März 2026 um 02:00 Uhr schrieb Félix <felix...@gmail.com>:@viktor
> Is there a particular reason why you have not provided the 'exit-leo' command ?
Ah! good catch! I thought I'd quickly add an 'exit leo' command, so I went to document myself on how to have a web-page close itself, but here's what I learned:
Due to modern browser security restrictions, a web application cannot force the entire browser or a tab opened by the user to close programmatically.
I can / do understand the restriction for a web application not being able to enforce closing the entire browser - but - not being able to close your own tab feels wrong to me !
that's weird: after reading this I thought we cant have self-closing (unless some specific circumstances)
https://developer.mozilla.org/en-US/docs/Web/API/Window/close
but after trying this simple html (save it as an .html file and try it yourself) I was surprised to see the window close under chrome in windows 10.
Hi Felix,
I just tested it on Vivaldi and it went pretty smooth. I like that it supports the keyboard shortcuts of Leo desktop and seeing the discussions about the impossibility of running it offline, I wonder if some default tutorial document could be open as a way to introduce new users to this tool with a section that explains how to run it by yourself in localhost (if possible).
I'm not a fan of JavaScript/Typescript and my way of building web
app will be via Hypermedia Systems[1], so I can made them in the
languages I like (now I'm making some experiments with
Lua/YueScript[2]). Despite of that, I really like to see Leo using
the web as a spreading vector, as I think that interesting GUIs
and interactions are available there that are more difficult to
communicate in the desktop.
[1] https://hypermedia.systems
[2] https://yuescript.org/doc/getting-started/introduction.html
Thanks for this work,
Offray
Félix --
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/leo-editor/1b6a35f5-928b-4597-9c78-c34a46926158n%40googlegroups.com.
1- Does it work with recent files not named 'workbook.leo' that are in the recent file list
2- (of course if the file name is not in the list, typing it in the search field will not show it) Is there a circumstance where opening a file does not add it to the recent files list?
Maybe you were expecting the same recent files choices as your regular Leo usually running on your computer: