/fetchpost

Save HN post and comments as mails in maildir format

Primary LanguageGoMIT LicenseMIT

About

fetchpost - Save HN post and comments as mails in maildir format

asciicast

How to Use

  1. Install:
    $ go get github.com/holygeek/fetchpost
  2. Fetch the posts as mails:
    $ fetchpost 'https://news.ycombinator.com/item?id=10041477'
    ...
    Ask_HN_Any_movies_that_changed_your_life_
  3. Read it with, say, mutt:
    $ cat <<EOF >muttrc
    set sort = threads
    ignore subject to date
    unignore x-date
    set wrap=72
    set markers=no # no '+' at wrapped lines
    set collapse_unread=yes
    set uncollapse_jump=yes
    set pager_index_lines=12
    EOF
    
    $ mutt -F muttrc -f Ask_HN_Any_movies_that_changed_your_life_
  4. To fetch new posts:
    $ fetchpost Ask_HN_Any_movies_that_changed_your_life_

Bugs

Definitely!