My online Python interpreter, Pythonic (formerly Boyan’s Online Python Interpreter), has just gotten a whole load better. How?
Well, it features an all new complete rewrite in Svelte, which allows me to build more advanced features and manage the app more easily. It stopped using PyScript (I will explain later) and instead started using WebContainers, and has AI functionality – with a twist.
Firstly, what’s so special about an interpreter, of all things?
Well, it’s no longer just an interpreter. It can run Node.js too now, which means you can develop a bunch of other things outside of Python. For example, you can develop a Vite application, or clone a Git repository with G4C (automatically installed).
Why switch to WebContainers?
Because, PyScript offered some vulnerabilities which can cause XSS, and this could be especially dangerous with shared links in the old version. That’s why I am going to be remaking the share function in the new Pythonic. WebContainers is secure and you can’t escape the WebContainers sandbox, unlike in PyScript, where all it took was for someone to import document
and you would be done for.
Why didn’t you just isolate it?
I thought of that, too. However, I still chose to switch to WebContainers because achieving isolation and making it seamless in PyScript would be too complicated. WebContainers also has a native filesystem, meaning I can interact with it and allow you to use more projects in Python.
There’s some features of the old version that are missing in the new one.
I’m still working on integrating all the old features – or rather, rewriting them. It will take some time, however the rewrite will be much more polished than the previous version.
So, what’s the new domain?
It’s https://pythonicapp.online, and is installable as a PWA.
When will you release a guide / tutorial on all the features?
As soon as the project is complete, at least the core part of it.
So, you have an AI. That’s cool, what can it do?
It can code for you, like Cursor or Bolt, but on your browser. That’s right – this AI runs completely locally on your browser. It can do various things, like installing packages, writing files, etc, but it may be buggy as of now. Not that you should be relying on this AI anyway. It is more of a copilot than a lead developer in terms of intelligence. If you want to vibe code, you should just use Cursor.
What happened to your Python tutorials?
Those I am still converting over to the new version. However they are still accessible (see below)
How can I use the old version of Pythonic?
Just go to https://boyan-tabakov.xyz/oldinterpreter.
Will I ever go back to PyScript?
Probably, however it will be in a combination with PyScript and WebContainers, where PyScript can be used for visual Python apps that need to interact with a web page (like apps that render graphs with matplotlib
).
And that’s about it, for now. Try the new Svelte powered Online Python interpreter, have fun, and maybe send me an email if you want to request features.