A new Streamlit online editor

Hey, Streamlit community!

I’d like to show you what I’ve been working on for the past few weeks: an online Streamlit editor that allows you to develop and preview Streamlit apps in the browser using WebAssembly (via Stlite).

2024-10-30 4.35.19 p.m.

It contains a bunch of features to make development faster:

  1. Prompting a model to generate the initial code
  2. Select code and prompt a model to edit it
  3. In-app chat to ask Streamlit and Python questions

Here are a few things I’d like to add:

  1. Better integration between the chat and the editor (to add code suggestions to your project easily)
  2. Debugger: combining the source code and information about existing variables to suggest fixes when the app breaks

If you’re curious about the stack:

  1. Built on Remix (for server side-rendering)
  2. A FastAPI to handle AI requests and database operations (I could do this with JS, but I have a lot more experience with Python)
  3. A Postgres database
  4. NGINX as a reverse proxy

Check it out here: https://editor.ploomber.io

Sample apps:

Note: the app is rate-limited to prevent a huge OpenAI bill

I’d love to hear your feedback!

3 Likes

Looking Great

1 Like