i found one on fdroid but it was old and the directory selector was broken and couldn’t really work outside of it’s default for some reason, it also rendered the page i’m trying to use really weirdly, like it wasn’t sending some file over and the css got borked.
Found one that wasn’t foss, installed it, opened it, “buy premium to unlock this feature”, uninstalled it.
Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
1. All posts must be relevant to Android devices/operating system.
2. Posts cannot be illegal or NSFW material.
3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.
4. Non-whitelisted bots will be banned.
5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.
6. Memes are not allowed to be posts, but are allowed in the comments.
7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.
8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.
Community Resources:
We are Android girls*,
In our Lemmy.world.
The back is plastic,
It’s fantastic.
*Well, not just girls: people of all gender identities are welcomed here.
Our Partner Communities:
I use SimpleHttp server but it’s not open source and available only on play store. I use this to download epub from my e-reader after having downloaded them on my phone. Now I will look into foss solutions proposed in this Post, through termux or other apps, thanks.
Edit: indeed with termux + caddy + termux widget it’s just perfect
I recently wanted to do the same and came upon ShareX, it did a pretty good job.
GitHub F-Droid
Sorry I don’t have any suggestions, but I’m very curious about your use case. What led you to needing this?
Are you doing web dev with just a phone? Impressive
thankfully no, i’m just trying to run a Twine game on it
Does it have to be http? If FTP is ok too, you can try primitive ftpd, or the built-in FTP feature in Material Files or Amaze.
most enlightening
Not open source but CX File Explorer can make an FTP server for you.
Amaze and Material Files are open source and can create an ftp server
Install termux from f-droid. Then install nginx inside termux. Works great.
Just did a search on fdroid
Servdroid looks 11 years old
LWS is about 5 which might still work
If you really need a web server you can possibly run one on termux, not sure if root required though
If its just file sharing, see the other comment
I’ve been using FX File Browser for the occasional need to share stuff localy - it opens a local web server where you can browse files on the phone.
Though it’s not foss and I am afraid that functionality is behind the plus version.
I just use termux + the simple http server built into python
could try a flask webapp