fetchpost

command module
v0.0.0-...-7de2dba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 15 Imported by: 0

README

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!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL