An NNTP client implemented in Google's go. The client should download articles, thread them (see threading.txt) and present them as a local HTTP server, such that they can be read without network connectivity.
Downloading, parsing and saving articles works. Threading seems to work, but is not tested thoroughly.
The configuration resides in a file config.txt that might look like
server: reader80.eternal-september.org
port: 80
login: some-user-name
pass: top-secret
groups: comp.lang.lisp, rec.alt.coolstuff
fetch-maximum: 10000
verbose: yes
Comments or anything other than this formatting (including omitting or adding spaces) is not allowed, although adding other keys is not a problem.
- server: URL
- port: NNTP port, usually 119
- login: login name
- pass: password, sent when requested without encryption
- groups: subscribed groups (comma-and-space separated)
- fetch-maximum: for the initial loading, how many articles should we fetch?
- verbose: should we print the transcript of client/server communication
The local server listens on port 8080 (this currently can't be changed).
TODO:
- mark links
- show emoticons (e. g. as animated (?) GIFs)
- mark links as links
- deal with double spacing in posts written by Google Groups