/streamlit-paywall-simple-example

Example of creating a streamlit app with a paywall to access it.

Primary LanguagePythonMIT LicenseMIT

streamlit-paywall-simple-example

Example of creating a streamlit app with a basic paywall to access it: https://paywall-basic-example.streamlit.app/

image

Getting Started

Step 1: Create something worth paying for

then add this under the final gated section of the app:

image

Step 2: Creating a Stripe Payment Link

  1. Create your own payment link here: https://dashboard.stripe.com/payment-links/create
  2. You can then add a product and edit the confirmation to include the password for the user:

image

Step 3: Deploy your streamlit app

https://streamlit.io/cloud

image

Step 4: set your app's environmental variables

image

Step 5: edit your app's domain

https://share.streamlit.io/

image

Related Useful Resources:

  1. Make Money Online using Python + Streamlit | Build a Sales Page to sell Digital Products 🤑