iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🐍

[Web] Streamlit applications are now searchable: Testing out the new indexability feature

に公開

Background

I'm Shun. Are you familiar with the Python framework called Streamlit? With Streamlit, you can easily build applications that utilize beautiful tables and graphs. I also use it as a user. If you're interested, please be sure to check the official documentation.

Streamlit

On November 18, 2022, the following announcement was made by the official Streamlit account. They mentioned, "Check the link below for more information!", so I decided to check it out.

What is now possible

Community Cloud applications are now searchable

It was clearly described at the very beginning of the references, so I will quote it.

Quote)
App indexability
When you deploy a public app to Community Cloud, it is automatically indexed by search engines like Google and Bing on a weekly basis. 🎈 This means that anyone can find your app by searching for its custom subdomain (e.g. https://traingenerator.streamlit.app) or by searching for the app's title.

Translation)
App indexability
When you deploy a public app to Community Cloud, it is automatically indexed by search engines like Google and Bing on a weekly basis. 🎈 This means anyone can find your application by searching for its custom subdomain (e.g. https://traingenerator.streamlit.app) or the app's title.

In other words, applications deployed to Community Cloud are now searchable. Consequently, I was curious if subdomains and indexability settings are configurable. Information regarding that was found in the following section.

Can subdomains be configured?

Yes, they can. It is possible to change them from the application's settings screen.
edit subdomain of streamlit cloud application

Can indexability be changed?

This was mentioned in the "What if I don't want my app to be indexed?" section of the references.

Quote)
If you don't want your app to be indexed by search engines, you can make it private. Read Share your app to learn more about making your app private.

Translation)
If you don't want your application to be indexed by search engines, you can make the application private. Please read Share your app to learn more about making your app private.

Regarding private applications, for free accounts, there is apparently a limit of one private app per workspace.

Trying it out

Log in to Streamlit io. Once logged in, the following screen will appear; click on the three-dot icon of the application for which you want to set a subdomain.
streamlit login page

The following screen will appear, allowing you to set the subdomain. Since I am creating a Mahjong score calculation application, I set it to "mahjong.streamlit.app".
edit subdomain of streamlit cloud application

After some time has passed since the configuration, it will become accessible, so check it.
application

Conclusion

I hope that by making it searchable, more people will discover and use my application through channels other than just acquaintances, articles, or Twitter.

References

Discussion