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.
Get the most out of app indexability
Here are some tips to help you get the most out of app indexability:
- Make sure your app is public
- Choose a custom subdomain early
- Choose a descriptive app title
- Customize your app's meta description
Make sure your app is public
All public apps hosted on Community Cloud are indexed by search engines. If your app is private, it will not be indexed by search engines. To make your private app public, read Share your app.
Choose a custom subdomain early
Community Cloud automatically generates a random subdomain for your app based on the structure of the app's GitHub repo. To learn more about app URLs, see Your app URL. However, subdomains are customizable! Custom subdomains modify your app URLs to reflect your app content, personal branding, or whatever you’d like. Read more about custom subdomains in Custom subdomains.
By choosing a custom subdomain, you can use it to help people find your app. For example, if you're deploying an app that generates training data, you might choose a subdomain like
traingenerator.streamlit.app. This makes it easy for people to find your app by searching for "training generator" or "train generator streamlit app"
We recommend choosing a custom subdomain early, right after you deploy your app. This ensures that your app is indexed by search engines using your custom subdomain, rather than the automatically generated one. If you choose a custom subdomain later, your app may first be indexed by search engines using the default subdomain. This means that your app will be indexed multiple times, once using the default subdomain (which will lead to a 404) and once using your custom subdomain. This can confuse users who are searching for your app.
Choose a descriptive app title
The meta title of your app is the text that appears in search engine results. It is also the text that appears in the browser tab when your app is open. By default, the meta title of your app is the same as the title of your app. However, you can customize the meta title of your app by setting the
page_title to a custom string. For example:
This will change the meta title of your app to "Traingenerator." This makes it easier for people to find your app by searching for "Traingenerator" or "train generator streamlit app":
Google search results for "train generator streamlit app"
Customize your app's meta description
Meta descriptions are the short descriptions that appear in search engine results. Search engines use the meta description to help users understand what your app is about.
From our observations, search engines seem to favor the content in both
st.title. If you put a description at the top of your app under
st.text, there’s a good chance search engines will use this for the meta description.
What does my indexed app look like?
If you're curious about what your app looks like in search engine results, you can type the following into Google Search:
Google search results for "site:traingenerator.streamlit.app"
What if I don't want my app to be indexed?
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. Note: each workspace can only have one private app. If you want to make your app private, you must first delete any other private apps in your workspace.
That said, Community Cloud is an open and free platform for the community to deploy, discover, and share Streamlit apps and code with each other. As such, we encourage you to make your app public so that it can be indexed by search engines and discovered by other Streamlit users and community members.
Have questions or feedback?
If you run into issues with app indexability or have any questions or feedback about it, we’d love to hear from you! Please post on our Community forum so that our team and community members can help you. 🤗