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 ?
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
Hi there, how did you get it to work with localhost? Did you have to put any code in the main app to get it working? I just get a white screen like the user above mentioned.
Hi, I realized that my app only work in my machine, and the ‘app.exe’ need the exact ‘file.py’ that you use to run your streamlit app, so if you delete or move the file.py to other folder, or computer, the app.exe will not work…
The streamlit application acts as a frontend and backend, where the backend contains all the logic you put into the app. The Nativefier application grabs the generated frontend code (html, js, css) and puts it into Electron app. So it still depends on the backend to be running for all input and output to be processed. So the streamlit app will indeed need to be deployed somewhere in order for the nativefier application to work correctly.
My explanation might be a bit off here and there, but this is my understanding of it .
You’re spot on; I researched the Nativefier application a bit right after, and it just extracts the frontend as an exe as you mentioned, not really extracting the full application - so I can’t use it anyways (not really a solution for offline use).
I’ll have to continue my research on making it fully usable offline as a deployed application .
I dockerized a couple of streamlit application for offline usage (I work quite remote sometimes). Pulling the image will of course require internet, but there after should be no problem. If you don’t want to put the image on dockerhub there’s some pretty affordable private repo options or you can package the image as a tarball (I believe). For the less tech-savy users you can make a small batch script they can run once to get the container up for the first time, there after they can use the Docker desktop GUI to restart containers which is quite user friendly.
I will give this a try tonight, that sounds interesting - it could work for me. I just saw that docker hub costs a small monthly fee to host private repos. I will test with some dummy code and if it works, it might be the best option for now.
My users are not tech-savy at all, so the batch file is probably the best way to go to launch the app. I’ll test this out as I’m not too familiar with docker yet. I’ll report back my results
Thanks its worked only with the final command i used
nativefier URL, however takes time to connect to streamlit server and every operation take more time
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.