1. 32
  1.  

  2. 3

    Looks pretty good in Gnus: https://koldfront.dk/misc/gnus/lobstersnntp.png

    Nice job!

    Would be even better if it was read/write :-) But since the API doesn’t allow that, it would be nice with a link to the comments on the website, and perhaps also make the story link clickable?

    How often does it update? I’ve posted this comment and another one on the website, but they don’t seem to have shown up in the nntp-gateway yet…

    1. 4

      The link to the object on the site itself in an X-Lobsters header. (There’s some additional X-Lobsters-* headers. Working on adding some more, but it does require schema changes, which probably cause a reset for article numbering if I mess it up.)

      It updates every hour… or it should, anyways. (Oops, there’s a bug in that. Let me fix it.)

    2. 3

      I’ll try to get a public instance up soon Public instance is nntp.scrollwheel.ca, just wanted to show off my weekend hacking project. As of now, it doesn’t have i.e background jobs, so it is a little rickety. I’m still not fully used to Elixir yet either, so the code is probably ugly.

      If you’re curious about what it looks like

      1. 1

        I was able to connect with neomutt :) pretty cool!

        1. 1

          About Elixir - you probably should run mix format on your codebase to clean it up a little to conform to community styleguide.

          1. 1

            Will you be able to leave this up? I love the idea but would prefer to use it as a hosted service.

            1. 1

              Sure, I’ll keep it up.

          2. 3

            For me, the most surprising thing about this project was the Windows ME screenshots :^)

            1. 1

              Uhm, so I did a bit of digging but found nothing quite useful. What is an NNTP gateway?

              1. 5

                NNTP is the basis for Usenet!

                https://en.wikipedia.org/wiki/Network_News_Transfer_Protocol

                This is basically a shim to translate the data on this site to the NNTP protocol.

                From IRC I get the impression that stuff like edited and removed comments aren’t handled correctly right now.

                1. 3

                  Lobsters is a news site, but it does not implement NNTP, the standard protocol for news. This lets you read Lobsters using NNTP clients.

                2. 1

                  I tried this with my old fav slrn but I do need something that handles HTML format

                  https://imgur.com/a/OQXE42V

                  1. 2

                    You can configure slrn to run articles through html2text and a little s-lang, description at the bottom of the page here: https://feedbase.org/documentation/#slrn

                    It isn’t super fast, but it looks pretty good: https://koldfront.dk/misc/lobstersslrn.png

                    1. 1

                      From the README, there are two groups:

                      • lobsters - “Multipart HTML/Plain UTF-8 QP”, and
                      • lobsters.plain - that is “Plain UTF-8 QP”

                      Try out lobsters.plain I guess?

                      1. 2

                        I had recently added that. I’m tempted to turn .plain into ISO-8859-1 for the nasty legacy clients.

                    2. 1

                      I’ve made changes to the gateway to enable multipart messages with a plain text portion, as well as using quoted-printable. The plain text portion is just from stripping tags; a better rendering is possible but requires effort. If multipart isn’t worth it, I could go for perhaps adding different views without any HTML/multipart going on. And if you use it - please tell me!