This Engineering Notebook post discusses whether Leo could be a useful web 
app.

*Background*

I want to *consider* whether providing a web-based view of Leo would be a 
good idea. The goal: create Leo's look on the web while providing Leo's 
essential features via Leo's bridge. 

The JupyterLab <https://jupyterlab.readthedocs.io/en/stable/>system shows 
that Leo as a web app is *feasible*.  Whether making Leo a web app is a 
good idea is an open question.

JupyterLab requires jupyter on the desktop. Similarly, Leo in the browser 
will use the desktop version of Leo. 

As discussed in the previous ENB, web apps must have a substantial js/ts 
component. There are *many* front-end frameworks 
<https://www.simform.com/best-frontend-frameworks/> that we could use, 
including angular, react, vue.js, and more. So this general topic is 
appropriate for the sabbatical.

leoInteg (Leo for vs-code) is a kind of prototype for Leo as a web app. The 
biggest technical hurdle facing leoInteg is communicating with Leo's 
bridge. Recent work with descriptive (json-based) guis shows that a clean 
interface between Leo and the js/ts words is feasible.

Leo's leoflexx plugin and Joe Orr's leovue web app are useful prototypes. 
I'll mine them for ideas.

*Summary*

JupyterLab shows that a web-based interface can use python's full features. 
It's an open question whether making Leo a web app is worth doing. However, 
exploring this question is highly appropriate for this sabbatical.

Communication between the browser and Leo's bridge is the central design 
problem. leoInteg confronts the same problem; leoInteg's solutions will 
likely apply.

JupyterLab requires jupyter on the desktop. Similarly, Leo in the browser 
will use the desktop version of Leo.

Edward

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/b21485c3-021a-46d8-89a4-7ade827f2059n%40googlegroups.com.

Reply via email to