How do I charge people to use an app I run myself?
Publish your app with qURL, then set a price with qurl payments setup.
Buyers pay on Stripe’s own checkout page, and the app opens in their browser only
after the payment is confirmed. The money goes to your Stripe account, and the app
stays on your machine with no public address.
A price at the door, checked by qURL.
- Your machineYour appA Streamlit app, a Gradio demo, a notebook or any web app on 127.0.0.1.
- qurl.linkYour Stripe priceA single payment or a subscription, from your own Stripe account.
- The buyer’s browserThey save a passkey and payPayment happens on Stripe’s hosted checkout. You never handle their card details.
- qurl.linkPayment confirmed, app opensqURL checks the payment before it lets them in. Returning from checkout is not enough.
Gets in
- Buyers whose payment was confirmed
- Subscribers, for each period they have paid
- Buyers who pay once get access for the life of the resource by default
Stays out
- Anyone who opens the address and doesn’t pay
- A subscriber whose renewal failed, until they fix it from Manage subscription
Publish your app. Set a price.
Set up paid access
Already have an access policy? See the paid access guide before replacing it.
-
Install the qurl CLI.
On a Mac, use Homebrew. On Linux and Windows, download the .deb, .rpm or archive from the CLI releases and put
qurlon yourPATH.Install (macOS)$ brew install layervai/tap/qurl -
Publish your app.
Use your app’s address and give it a name. Copy the resource ID (CRID) from the output. If you already published the app, use its CRID.
Publish$ qurl publish \ http://127.0.0.1:8501 --name "Forecast explorer" -
Set a price.
Use qurl 4.1.0 or later. Replace
PASTE_YOUR_CRID_HEREwith the full CRID. Pick one example. If prompted, connect your Stripe account in your browser and return to the CLI. You can start from the device that published the app without a LayerV account. Stripe may ask you to complete its setup before you can accept live payments.$5 USD once$ qurl payments setup \ PASTE_YOUR_CRID_HERE --price 5.00$9 USD per month instead$ qurl payments setup \ PASTE_YOUR_CRID_HERE --price 9.00 --interval month -
Share the payment link.
Copy the
https://qurl.link/address the command prints. Keep your app and connector running. These examples use production. A buyer who checks out pays real money.
Prefer to use an agent? Copy this prompt and change the price and app details.
Read https://layerv.ai/skills/qurl/SKILL.md and its access policy reference.
Help me charge $5 USD once for my Streamlit app on port 8501.
Use qurl payments setup. Let me approve the Stripe connection and
confirm the price before enabling payments. Show me the link to share.
What buyers need, and what you agree to.
- Run the app on a machine that stays on. Buyers can’t reach it while it is off or asleep.
- LayerV collects 3% of each charge, renewals included, and you pay Stripe’s fees. The guide has the details.
- Changing the price or its terms can end access you already granted. Access already delivered is not refunded automatically: your own refund policy covers it.
- Buyers need a passkey. Paid access doesn’t offer the email-link sign-in.
- Checkout runs on Stripe’s hosted pages. Custom checkout domains are not supported.
When to use something else.
- Free for a few testers instead?Invite them by email
- Selling to many buyers around the clock?Run it on a server
- Your team, your AI agents or your services need private access at work?Explore LayerV for apps and teams
Keep reading.
More answers on qurl.link
In depth on layerv.ai
Set a price.
Share the address.
Connect your own Stripe account when prompted. Payment fees