Preview Streamlit apps directly inside VS Code.
✨ Streamlit Preview (VS Code)Streamlit Preview lets you open and preview your Streamlit application inside a VS Code tab, similar to an embedded browser. Stop switching between your editor and browser — stay focused in one window. 🚀 Features (Free)🔁 One-click PreviewRun your current 🔄 Auto Hot-ReloadWrite → Save → Instantly see updates via Streamlit’s built-in reload. 🧭 Port 8501 (Default)Automatically waits for the Streamlit server to start — fewer errors, smoother workflow. 🪟 Clean UI LayoutSide panel for app URL & controls, main panel displays the Streamlit UI. 🧪 Streamlit Preview Pro (Coming Soon)Unlock premium features designed for professional workflows: ⚙️ Choose Python EnvironmentRun Streamlit using any virtual environment or Conda environment. 🔌 Custom Ports & Auto-RetryRun multiple Streamlit previews in parallel (8501, 8502, 8503…). 📌 Workspace ProfilesAutomatically remember:
📜 Built-In Log PanelView Streamlit stdout & stderr logs in a dedicated VS Code panel. 🌍 Share via TunnelOne-click sharing using:
🧰 Requirements
📦 InstallationFrom Marketplace
Or install via VSIX
🛠 Usage▶️ 1. Open Your Streamlit ScriptOpen ▶️ 2. Start PreviewCommand Palette →
▶️ 3. Edit & SaveEvery save triggers a reload. No restart required. ⏹ 4. Stop Preview
⚙️ Settings
🖼 Screenshots📌 Streamlit Preview inside VS Code
🧩 Commands
🧰 ContributingContributions are welcome! File issues, bugs, or feature requests here: 👉 GitHub Issues: https://github.com//streamlit-preview/issues ⭐ Feedback & ReviewsIf you enjoy this extension, please consider leaving a ⭐⭐⭐⭐⭐ review! 👉 Marketplace: https://marketplace.visualstudio.com/items?itemName=mjethwa-streamlit.streamlit-preview 🔐 Licensing (Pro Version Workflow)Here is how licensing will work when you launch Streamlit Preview Pro: 1️⃣ User Purchases a LicenseSold via:
2️⃣ License Key is GeneratedExample:
3️⃣ User Enters License in VS CodeNew command:
4️⃣ Extension Sends License to Your BackendYour server returns:
5️⃣ Pro Unlocks InstantlyYou store activation in:
6️⃣ Auto RevalidationEvery ~7 days the license is rechecked. If license becomes invalid → Pro features lock again. 📜 License
✅ Next StepsJust tell me: 👉 “Let’s update or 👉 “Let’s implement the licensing system” or 👉 “Let’s work on the Pro features UI” I’m ready to continue! If you'd like, I can also:
Just say “Make the graphics” or “Generate screenshots mockups”.
|