For my Masters thesis project, I’m required to keep a blog documenting my progress, and being the open source/self hosting guy that I am, I decided to host my own WriteFreely instance on my VPS.

The problem is, WriteFreely doesn’t support direct image uploads, only embeds. I’d of course like to self host my images for the blog too, so I’m in need of a really lightweight image hosting solution. Things like Immich or Nextcloud are far too much for what I need, I basically just need a password-protected upload interface and the ability to grab the direct links to the images to embed them. I don’t need analytics or account management or anything like that.

I know I could transfer images to my server directly via scp or rsync or ftp and host them behind nginx directly, but that’s a faff and I’d rather just deploy a container once and be done with it.

Does anyone have any recommendations?

  • mkwarman@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 day ago

    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

    • SpatchyIsOnline@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 day ago

      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 :)

      • queerlilhayseed@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        7
        ·
        24 hours ago

        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.

      • PlexSheep@infosec.pub
        link
        fedilink
        English
        arrow-up
        3
        ·
        24 hours ago

        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.

        • RamRabbit@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          23 hours ago

          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.