3 ms·
We started httpie/desktop as a separate codebase but are working on unifying it with httpie/cli and our cloud to avoid multiple implementations by extracting a
by jkbr 3y ago
We started httpie/desktop as a separate codebase but are working on unifying it with httpie/cli and our cloud to avoid multiple implementations by extracting a shared runtime that will be used everywhere. One of the interesting challenges here is that HTTPie Desktop is written in TypeScript while the rest is in Python.
- da39a3ee 3y agoThanks, of course, that makes sense. How are you planning on doing it -- use a language like Rust that can easily be called from both and packaged? Or rewrite the CLI in Typescript?
- jkbr 3y agoWe have a PoC where the runtime is implemented in Python and the Electron and web apps use it through https://pyodide.org/ https://pyodide.org/. Still exploring but looks surprisingly viable.