Conversation

Notices

  1. overhyped for image pasting landing in Polari for @gnome 3.20. D:

    # !gnomedesktop #
    https://quitter.no/attachment/238636

    Tuesday, 22-Mar-16 21:50:09 UTC from quitter.no
    1. Image pasting, what's that?

      Wednesday, 23-Mar-16 10:13:34 UTC from social.umeahackerspace.se at 63°49'42"N 20°15'34"E
      1. @mmn Ctrl+V to upload an image from your clipboard. Then you can send a message containing the link to the image.

        Wednesday, 23-Mar-16 11:29:01 UTC from quitter.no
        1. @bastianilso Aha, that sounds cool. I assume the upload service is configurable. I'll have to see if it's easy enough for me to make a !GNUsocial image upload thing - at least in my use cases I often upload images here and then link them on # :)

          Wednesday, 23-Mar-16 11:43:53 UTC from social.umeahackerspace.se at 63°49'42"N 20°15'34"E
          1. @mmn the upload service is not directly configurable but can be patched, there's no single API out there for this kind of stuff. If you know of a free software image paste service let me know though. Currently we use Imgur.

            Wednesday, 23-Mar-16 11:45:12 UTC from quitter.no
            1. @bastianilso I generally use http://h45h.com which is a quick and dirty hack by @mikael - it uses the age-old HTTP method PUT and returns a URL with the filename directly related to the sha256 hash of upload contents. Code available here: https://github.com/mikaelfrykholm/h45h.com

              To try it out: $ curl -s -T file.jpg http://h45h.com/
              (should of course be made to use # if there's any interest in using it)

              But I guess there's also an interest in requesting a certain max hosting duration rather than keeping it indefinitely? Not that I know if imgur prunes or not...

              Wednesday, 23-Mar-16 12:15:08 UTC from social.umeahackerspace.se at 63°49'42"N 20°15'34"E
              1. @bastianilso I'd be down for setting up a donation-financed publically usable libre image hosting service if there's an interest.
                Preferrably just hosting, no publically available archive, to avoid trolls spamming inappropriate material.

                Wednesday, 23-Mar-16 12:18:27 UTC from social.umeahackerspace.se at 63°49'42"N 20°15'34"E
                1. @mmn that would be awesome. I will ask the rest of the polari team what they think and get back to you. :)

                  Wednesday, 23-Mar-16 13:00:30 UTC from quitter.no