Discover Packages
github.com/holygeek/fetchpost
command
module
Version:
v0.0.0-...-7de2dba
Opens a new window with list of versions in this module.
Published: Feb 5, 2022
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
About
fetchpost - Save HN post and comments as mails in maildir format
How to Use
Install:
$ go get github.com/holygeek/fetchpost
Fetch the posts as mails:
$ fetchpost 'https://news.ycombinator.com/item?id=10041477'
...
Ask_HN_Any_movies_that_changed_your_life_
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_
To fetch new posts:
$ fetchpost Ask_HN_Any_movies_that_changed_your_life_
Bugs
Definitely!
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.