Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
niouz 0.5 (simple NNTP server)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pierre-Charles David  
View profile  
 More options Oct 3 2004, 2:17 pm
Newsgroups: comp.lang.ruby
From: Pierre-Charles David <pierre-charles.da...@wanadoo.fr>
Date: Sun, 03 Oct 2004 20:17:37 +0200
Local: Sun, Oct 3 2004 2:17 pm
Subject: [ANN] niouz 0.5 (simple NNTP server)

Hi everybody,

I'm releasing version 0.5 of niouz, a very simple, standalone NNTP
server in pure Ruby. It does not offer all the features of standard
NNTP servers -- most notably, it can't communicate with other servers,
but only with clients -- but it is orders of magnitudes simpler to
deploy: one Ruby file, no dependencies outside Ruby 1.8, very simple
setup.

It's designed to provide a simple and easy way to quickly set up
private newsgroups for small groups of people. It generally does the
Simplest Thing That Can Possibly Work, and would probably not scale
beyond a few dozen users and a few thousands messages. On the other
hand, the resulting code is quite small (about 600 lines including
comments), easy to understand and to modify/extend.

It's stable under the very low loads it's been tested until now, but I
can't make any claim beyond that.

AVAILABILITY

- Homepage: http://pcdavid.net/software/niouz/
- Direct download: http://pcdavid.net/software/niouz/niouz.rb
- Current version and status: 0.5, beta
- License: GPL

FEATURES

- One file, no dependencies outside Ruby 1.8, very easy to setup.
- Small (less than 600 lines), simple code, easy to customize/extend.
- Generally does The Simplest Thing That Can Possibly Work.
- (Too) simple article "database" format; easy to hack if necessary.
- Implements all the basic NTTP commands, plus some extensions (some
  partially, but well enough for most clients).
- Works with all major clients.
- Never forgets/expires articles.
- Lots of room for expansion. :-)

LIMITATIONS

- Does not interact with other NNTP servers (by design).
- Needs to be root to run on standard NNTP port 119.
- No doc or configuration capabilities. If you need those, read/edit the code!
- Probably does not scale.
- Stays in memory (no inetd mode).
- Has only been tested with with very low loads, so there are probably
  multithreading issues.
- No logging.
- Only tested under Linux.
- Some relatively standard NNTP extensions are not supported, most
  importantly article cancellation and authentification.
- Yes, there are lots of these. There's a reason it called 0.5...

FUTURE PLANS

I don't have enough time to continue niouz development. Although there
are lots of things which could be improved and added, it has reached
the point where it solves my initial problem well enough.

If someone is interested in taking over the project, please contact
me. Given the simplicity of the implementation and (I hope) relative
readability of the code, I think it would be a good project for
someone new to Ruby but willing to get involved.

Happy coding.

--
Pierre-Charles David (pcdavid <at> tiscali <dot> fr)
Computer Science PhD Student, École des Mines de Nantes, France
Homepage: http://pcdavid.net/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google