summary refs log blame commit diff stats
path: root/draco.1
blob: 69efabc63a3903060803ba04d686b696e2cea885 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                      











                                                                      

                                 
.Dd $Mdocdate: November 19 2020 $
.Dt DRACO 1
.Os
.Sh NAME
.Nm draco
.Nd a script to convert reddit thread to Org document
.Sh SYNOPSIS
.Nm draco
.Ar <url>
.Sh DESCRIPTION
.Nm
is a script to convert reddit thread to Org document. It accepts a url
& prints the Org document to STDOUT.

It'll also print comments along with their replies. It's limited by
the reddit API.
.Pp
.Sh NOTES
Draco will add a space before every new line. Comments/Posts may
contain `*' at the start of line & that confuses Org. Org might
interpret it as a new heading so we add a space before every new line.

All text will be wrapped at 72 characters.
.Pp
.Sh WHY?
I reference things from the web in my Journal & don't want those links
to break so I save them locally. Previously I used to manually archive
the whole thread, this automates it.
.Pp
.Sh AUTHOR
.An Andinus Aq Mt andinus@nand.sh