I'm looking for an easy way to upload files from my Android smartphone to my home server. is there a - ideally dockerized - solution for that? Some simple web GUI where I can click on "Upload" and the files will be saved to a certain directory on my home server?
EDIT: I should've added that I want to do this remotely and not in my local network. I want to be able to send files from my Android smartphone from anywhere via the internet to my home server. That's why I thought about a services hosted on my server, which frontend I could access through my smartphone. But I might've answered my question already with the following:
https://github.com/zer0tonin/Mikochi
EDIT #2: Thanks guys, I ended up creating my own Docker container running nextcloudcmd inspired by this: https://github.com/juanitomint/nextcloud-client-docker
But I built the container from scratch and it's very minimalistic. I can publish it on my Gitlab when it's somewhat ready. Here's a little preview.
Dockerfile
FROM alpine:latest
RUN apk update && apk add nextcloud-client
COPY nc.sh .
RUN chmod +x ./nc.sh
VOLUME /data
CMD ./nc.sh
nc. sh (How can I prevent automatic hyperlinking?)
#!/bin/sh
while true
do
nextcloudcmd /data https://${username}:${passwort}@${nextcloud-domain}
sleep 300
done
It's amazing how often this program can be used to solve a problem someone has with their file sharing. And in my opinion it's an elegant solution and does it's job very well
There is also FX which can do this too, additionally you can browse/download/upload files to/from the phone locally from PC through browser (the app opens up a web server).
You could technically do this with Nextcloud, but that is definitely overkill just for a file drop.
The next best thing I can think of for this would be localsend with auto accept enabled.
Being p2p is a huge bonus, it exceeds (and predates) the self-host category! If I recall correctly, I had an intro post to the system somewhere.. can't look it up ATM.
Nextcloud has to have a specific file structure in its data directory. It sounds like OP wants to serve a particular, already existing directory, so in that case, Nextcloud wouldn’t work.