3 ms·
> I'm using nntp for some things it wasn't designed for (mailing lists, RSS/Atom-feeds), but which fits nicely. Do you have any recommendations for server-side
by shabble 8y ago
> I'm using nntp for some things it wasn't designed for (mailing lists, RSS/Atom-feeds), but which fits nicely.
Do you have any recommendations for server-side software/libraries, or docs beyond the original RFCs? I've idly contemplated various uses in the past, but never really fully understood how the various bits would go together.
- asjo 8y agoAs I see it, there are two ways to go: * Run an existing news server (INN2 https://www.eyrie.org/~eagle/software/inn/ https://www.eyrie.org/~eagle/software/inn/), and add scripts around it, or: * Make a small server that talks NNTP and does exactly what you need I've been doing the latter a number of times (most recently on Feedbase https://feedbase.org/ https://feedbase.org/ where the NNTP-part is written in Perl, and I am working on and off on a server (in Haskell) to run a blog where NNTP is the primary interface for the author; not quite finished yet), Gmane/Gwene http://gwene.org/ http://gwene.org/ does the former. NNTP is a pretty simple protocol - an easy way to get going is to create a server that reads lines from a socket and replies when it recognizes something, connect an nntp-client and see what it sends and check the RFC for what is expected back, and then just go from there.
- shabble 8y agoSorry about the really late reply, just wanted to ack and say thanks for the reply. I did have a look at INN and wondered if that might be the way to go, but seemed potentially quite hacky. I'll have to poke around with feedbase and see what you're up to. My (probably badly though-out) idea was a somewhat generic server / API adapter that could be hooked up to make less terrible interfaces for something like HN or reddit, similar to how bitlbee does IM <-> IRC.