What’s the simplest way to turn a Python script (text input, text output) into a single-page web app?
Ideally without standing up a server and web framework and crap?
And super-ideally, image in output and stripe payment to see output.
No notebooks like Jupiter/Collab.
Conversation
I’m alittle confused by everyone saying replit. Isn’t it just a browser based ide? How does it solve deployment?
2
1
6
Show replies
Replying to
Got to hello world but I don’t see how you’d integrate script logic?
Lambda function on aws?
Replying to
A free-backend way of doing this is to
write html on github pages
send text input into G-Form --> G-Sheet
embed G-Sheet in web-page
This repo pulled it off nicely
2
7
Show replies
Replying to
if it is a web app, you need a web server that will, upon getting a URL, run your script and return a response. i use pythonanywhere for that. once you have a webserver running, you can add more one page apps to it. in JS, you can just run the page locally.
1
Replying to
I think I’ll need some minimal state maintenance so either cookies, database, or blockchain. I don’t like cookies so it’s b or c. Replit seems to have a simple db piece for flask sites.
1
Show replies
Replying to
feels like a Glitch or Replit app might satisfy your needs? They're super easy to get started with and play around with
3






