Python terminal app as Android Phone app
5 points
11 hours ago
| 4 comments
| HN
I put together a small water consumption app (how much water you drink in a day) in SQLite and Python.

Then I wanted to use it on my phone so I made a Kotlin app as a UI for the simple database.

Then I wondered, how far could I get if I just ran a Python terminal app on my phone?

Well, I got surprisingly far...

https://youtu.be/sTj1FalZMVw?si=yZShqGdDBewV8dob

Happy to release the code at some point. Just need to organize the repo a bit.

I'm surprised I haven't seen more terminal apps intended to be run as phone apps like this. Let's me know if you know of any others.

dasboth
1 hour ago
[-]
Textual apps powered by sqlite running on a phone sounds like a superpower for filling your phone with useful tools, thanks for sharing! Does it access a local sqlite file or are you hosting that somewhere? Either way, this is really neat.
reply
Stevemiller07
10 hours ago
[-]
Nice experiment. Running a Python terminal app on a phone is more practical than people expect for small tools like this. The demo looks smooth. Looking forward to the code when you release it.
reply
dharmatech
9 hours ago
[-]
Thanks for checking it out!
reply
McNulty2
8 hours ago
[-]
I've used JuiceSSH client for ages, and it has a localhost option. I've played with it but never had a use for it
reply
dharmatech
7 hours ago
[-]
If you have Android, check out the UserLand app.
reply
dharmatech
10 hours ago
[-]
reply