You could use apache to create a webdav share. I bet there's a pre built container for it.
Webdav is really underrated, imo.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil.
No spam.
Posts are to be related to self-hosting.
Don't duplicate the full text of your blog or readme if you're providing a link.
Submission headline should match the article title.
No trolling.
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
You could use apache to create a webdav share. I bet there's a pre built container for it.
Webdav is really underrated, imo.
There is also copyparty. Spin up the docker container, upload your images, copy/paste the links, boom.
Just curious, what about scp-ing to your server is less than ideal for you? I would think a static server with nginx or similar would be an easy one time setup and then you do a single command to scp to it whenever you want to add images. No redeploy necessary. I would almost consider that easier than other bespoke solutions that you would have to learn
I would like the option to be able to upload images from a multitude of devices like my phone or even a university PC if necessary. I don't want to have to worry about setting up public key access on every device I might reasonably want to use.
I'm a developer and have daily driven Linux for nearly 3 years, so I'm beyond familiar with terminal usage, but scp isn't exactly what I'd call a pleasent or convenient command. Every time I have to use it my immediate mood is ugh >:( not yippee :)
I have a similar relationship with iptables. Like, I can do it, but it's the boring stuff I gotta get out of the way to make the interesting stuff work.
edit: thought of another one. Any time I've ever opened xorg.conf, I was having a bad time.
You can make a new user on the server with password login, and just access it with SFTP. Most graphical file explorers can do SFTP.
Yep, you could also put any portable SFTP program on a thumb drive and SFTP it to your box from any computer you are at.
Yep) My program for that purpose: https://codeberg.org/nykula/imgie - resurrected three months ago because another person on PieFed reminded me of it. Should just work. Ping me if it doesn't.
Doood. npm in production is a bad pattern in this age of supply-chain sploits. Best vendor that into the artifact when ya ship .... Nevermind.
I personally do ShareX, with an SFTP destination for an nginx webserver. It has an image editor built in as part of the workflow if you enable it, and it can automatically copy the clipboard URL.
You could certainly go the extra mile and setup an image sharing manager or a more complicated solution if you wanted to though, if that makes overall administration easier.
https://github.com/andrii-kryvoviaz/slink from https://selfh.st/apps/?tag=Image+Sharing
https://github.com/mtlynch/picoshare from https://selfh.st/apps/?tag=File+Sharing
Seems like these could fit the bill.
Thanks, I decided to go with Slink. It looks lightweight enough, easy to set up and while not quite as minimal as I was imagining, that image resize ability when generating shared links could come in useful
You could throw Garage or Minio in a container and upload the images to a public bucket.