Streamlit over Starlette is a Game-Changer
Streamlit 1.53 saw the release of experimental Starlette support replacing Tornado. But it came with an even bigger surprise: contrary to Tornado, you have ...

Fanilo Andrianasolo
1.9K views β’ Feb 2, 2026

About this video
Streamlit 1.53 saw the release of experimental Starlette support replacing Tornado.
But it came with an even bigger surprise: contrary to Tornado, you have full access to the Starlette backend in the Streamlit framework. You are free to serve custom endpoints, MCP objects and FastAPI apps directly from the Streamlit server.
In this video I share all the new use cases unlocked by this
00:00 Intro
00:19 Setup Starlette backend
02:07 Add Custom Endpoints in Streamlit
03:42 Streamlit is a Starlette App now
04:39 Serve static assets with Streamlit
06:23 Optimize Streamlit SEO
07:30 Mount FastAPI in Streamlit
09:00 Configure Starlette websockets
11:58 Mount FastMCP in Streamlit
13:52 Secure Streamlit
15:18 Send Cookies to Streamlit
16:55 Whitelist IPs to App
18:37 React to Startup / Shutdown events
20:40 Handle background events
22:17 Use error HTML pages
23:55 Install Streamlit 1.53
---
π£οΈ Stay up to date with the Data Web App Ecosystem
- π Follow my socials β‘ https://andfanilo.com
- π§ Get my latest updates in your inbox β‘ https://andfanilo.com/newsletter
- π° Buy me a coffee to stay awake while editing β‘ https://www.buymeacoffee.com/andfanilo
π Links
- Code: https://github.com/andfanilo/streamlit-starlette-demo/tree/main/apps
π§ My tools (Affiliate links to support me)
- π Streamlit Official Book - https://amzn.to/3QuRPwl
- π· Main Camera - https://amzn.to/3QvTosB
- π· Main Lens - https://amzn.to/3svYCwq
- ποΈ Microphone - https://amzn.to/47l5ewA
- π΅ Music & Sound Effects - https://www.epidemicsound.com/referral/a2p22s
---
πͺΆ It's been a long time since I last had fun with After Effects...something Remotion Agent Skills won't commoditize for me (I hope)
β οΈ Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. Thank you for supporting my channel so I can continue providing you with free content!
#streamlit #python #datascience #dataapps
But it came with an even bigger surprise: contrary to Tornado, you have full access to the Starlette backend in the Streamlit framework. You are free to serve custom endpoints, MCP objects and FastAPI apps directly from the Streamlit server.
In this video I share all the new use cases unlocked by this
00:00 Intro
00:19 Setup Starlette backend
02:07 Add Custom Endpoints in Streamlit
03:42 Streamlit is a Starlette App now
04:39 Serve static assets with Streamlit
06:23 Optimize Streamlit SEO
07:30 Mount FastAPI in Streamlit
09:00 Configure Starlette websockets
11:58 Mount FastMCP in Streamlit
13:52 Secure Streamlit
15:18 Send Cookies to Streamlit
16:55 Whitelist IPs to App
18:37 React to Startup / Shutdown events
20:40 Handle background events
22:17 Use error HTML pages
23:55 Install Streamlit 1.53
---
π£οΈ Stay up to date with the Data Web App Ecosystem
- π Follow my socials β‘ https://andfanilo.com
- π§ Get my latest updates in your inbox β‘ https://andfanilo.com/newsletter
- π° Buy me a coffee to stay awake while editing β‘ https://www.buymeacoffee.com/andfanilo
π Links
- Code: https://github.com/andfanilo/streamlit-starlette-demo/tree/main/apps
π§ My tools (Affiliate links to support me)
- π Streamlit Official Book - https://amzn.to/3QuRPwl
- π· Main Camera - https://amzn.to/3QvTosB
- π· Main Lens - https://amzn.to/3svYCwq
- ποΈ Microphone - https://amzn.to/47l5ewA
- π΅ Music & Sound Effects - https://www.epidemicsound.com/referral/a2p22s
---
πͺΆ It's been a long time since I last had fun with After Effects...something Remotion Agent Skills won't commoditize for me (I hope)
β οΈ Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. Thank you for supporting my channel so I can continue providing you with free content!
#streamlit #python #datascience #dataapps
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
1.9K
Likes
64
Duration
24:30
Published
Feb 2, 2026
User Reviews
4.5
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.