Description
flaskwebgui is a Python package that turns a Flask, Flask-SocketIO, FastAPI or Django web application into a desktop-style program. It starts your app on a local server and opens it in a browser window, so the result feels like a native app without a separate desktop toolkit. The README shows a FlaskUI class that wraps your existing application, with a Waitress server for Flask, Uvicorn for FastAPI and a WSGI setup with WhiteNoise for static files in Django. You can close the program from inside the page with a close_application route, and a short script in index.html can stop users from opening the browser console. Configuration parameters control the window and server behaviour, and a distribution section explains how to package the result for other people. The project is public on GitHub. It is aimed at developers who already have a web app and want a quick local desktop wrapper for internal tools or small utilities.…
Highlights
- Wraps Flask, Flask-SocketIO, FastAPI or Django apps
- Opens the app in a browser window on a local server
- Close the program from a route in your app
- Optional console blocking script for the page
- Packaging notes for distribution
Ratings & Reviews
No ratings yet
Be the first to rate Flaskwebgui.
People also visit
Flask-MonitoringDashboard
Automatically monitor the evolving performance of Flask/Python web services
Flaskwebgui FAQ
What does flaskwebgui do?
It runs a Python web app on a local server and opens it in a browser window, giving you a desktop-like app built from your existing web code.
Which frameworks are supported?
The README covers Flask, Flask-SocketIO, FastAPI and Django. Each needs its own server, such as Waitress for Flask, Uvicorn for FastAPI and WhiteNoise for Django static files.
How do I close the app?
Call close_application from a route in your app and link to that route from a button. The README shows both parts of this pattern.
Can I stop users opening the browser console?
The README includes a small script to add to index.html that discourages the console. It is a deterrent only, since users can still reach browser developer tools through other means.
Is it free?
Yes. The package is open source and public on GitHub.
What are the best Flaskwebgui alternatives?
Popular alternatives to Flaskwebgui include Simple Webapp Flask, Web2Executable and PyWebIO. See all Flaskwebgui alternatives






