HTTP mirror

I made a simple tool some time ago to extract the content of an email, and publish it to a gopher hole.

To put it simply, the subject is used as the title, and the body is put into the log entry (optionnaly passed through a command, like fmt(1) for example. The original email sender is verified, to prevent spams from cluttering your phlog. It might not be the most secure method, but that works for me tm.

You can see it in action here:

  • gopher://phlog.z3bra.org
  • gopher://g.nixers.net/7/~anon/twtxt.dcgi
    • z3bra@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Never heard about it before. It does sound similar indeed ! I’m curious to know what security mechanism they used to make sure only the author would submit new posts. I’ll check it out, thanks !

      • rickumali@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        It was cool to use, but it is no longer in service. I still have the old emails I sent! For them, they had an email address (post@posterous.com) that you would send the BLOG post. I’m guessing they checked the FROM to know whicih BLOG to update!

    • z3bra@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yeah unfortunately I never implemented that feature ^^ It would require to parse the email body and add much more logic into Scribo itself, making it very complex and subject to bugs. I like it the way it is now to be fair ^^

      What’s confusing about the mailto item ?

      • screwtape@lemmy.sdf.orgM
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        My usual phetch doesn’t have an XDG web browser set or something I think? Unless I misunderstood that error, hang on. Specifically in phetch, I tried following link 1. (phlog@z3bra.org) and I get the error, “invalid port value”.

        • z3bra@lemmy.sdf.orgOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Oh right, then it’s probably just the link format which is misinterpreted by your client. mailto links don’t include the usual “://”, which might prevent them from opening correctly on some clients.

  • plugd@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    That’s a great idea; tempted to just go and implement this outright in my hole! Would definitely lower the activation energy for posting…