Hi Everyone My First Post Here. So I recently Discovered A Way To Make A Streamlit App as A Windows or Mac OS Executable File, So Here Are the Steps:
Deploy Yout Streamlit App Using Streamlit Sharing And Make A Note of that url for example:
Then Install Nativefier
npm install -g nativefier
nativefier --name '<you .exe name>' '<your streamlit sharing website url>' --platform <'windows' or 'mac' or 'linux'>
Then In your current Directory You should see
<AppName>-32-x64 folder or similar if you have chosen windows run the .exe file and you have you software.
If you have any problems or queries comment below I’ll try my best to answer them if I have time. Thanks!
PS: Check Out My Software Page
https://the-ml-hero.itch.io/dental-diagnosis I Deployed It to Mac , Windows And Even Android
This is soooo amazing
@Super-MAN, now we can create a web app and desktop app in one go. I tried it and it was super easy. Thanks.
The command I used to create the app:
C:\Users\sree3\Downloads>nativefier --name Audiofy https://share.streamlit.io/sree369nidhi/audiobook/main/pdf_to_audiobook.py --platform windows
Thanks! I’m Glad That I Could Help and
By The Way Do You Also Want To Know How To Run Streamlit Apps Natively On Android?
As a Standalone Application Like The One On Your PC But in a Mobile Android Device?
Let Me Know And I’ll Share the Steps
wow that would be amazing, please do share.
Deploy To Android
1. Deploy Yout Streamlit App Using Streamlit Sharing And Make A Note of that url for example:
Then Go to
Then Type In your url for your web app
It should Ask for some configuration Just Change the App Icon And Leave Everything Else Default
It should Also Ask For you email address this is for sending the apk file of your app
6.After a while (1-2 mins) you should see an email from gonative click on that management link
Download Your APK and test it on your device
NOTE: It also gives you an IOS Version but you will have to build it yourself which required
XCODE which is only on MAC-OS
@Super-MAN, so cool.
Did you manage to get it working or do you have any issues?
Yes, It was super easy, It worked & No issues.
Worked perfectly, thanks! Have you tried this out on Heroku by any chance?
No I haven’t But it should work 'cause both platforms deploy your app as an website and nativefier requires a website url not specifically an streamlit sharing url.
So in the end it doesn’t matter where to deploy just get the url and paste it in the nativefier url
Sorry to reopen the subject. I am currently working on a Data Science project which necessit to store files (using seafile cloud solution). I would like to know if with those executables we can access to local file from our computer ?
Great job!!! I’m wondering is there any possibility to share executive file in offline environment?
Same problem here for windows.
The instructions are a bit convoluted at the moment, but our approach was to use pyinstaller to creat streamlit executables:
I took a different approach to this. I used pyinstaller to create the single file exe, but the resulting Python used was actually a separate install, not the one made by pyinstaller. That’s so that my users can create new streamlit apps and use new sections of the dependencies that I wasn’t using. (Given pyinstaller would have stripped those out).
To see a demo of the exe see:
When first clicking it, it will unpack the distro. Subsequent clicks should be much quicker to boot. I need to make …
Thanks a lot! And I’ll have a try!
Simon Biggs via Streamlit <
I did it and it worked perfectly
This you just did is so amazing. My respect for you.
Hello for your solution to work is it required to have the model deployed on streamlit since I tried it with a private github repo the app had been built but when I opened it, it shows a blank white screen