diff options
author | Teddy Wing | 2019-11-02 18:03:57 +0100 |
---|---|---|
committer | Teddy Wing | 2019-11-02 18:03:57 +0100 |
commit | 7395b7f6ebb5b18df8b410c8ded1af094019dd6e (patch) | |
tree | e3b9e1b1cb83a0fc0391e283f0e3c14626c36c97 | |
parent | f9d7818487c589fffc32cb9ab1f1185e22ec016b (diff) | |
download | pdf-urls-7395b7f6ebb5b18df8b410c8ded1af094019dd6e.tar.bz2 |
Add README
-rw-r--r-- | README.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..652977c --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +PDF-URLs +======== + +Extract all URLs from a PDF file. Facilitates mouseless navigation. + + +## Examples +Hyperlinks are printed to standard output, one per line: + + $ pdf-urls ./testdata/Alice\'s\ Adventures\ in\ Wonderland.pdf + http://www.gutenberg.org/ebooks/11 + https://science.nasa.gov/news-article/black-hole-image-makes-history + https://ia800908.us.archive.org/6/items/alicesadventures19033gut/19033-h/images/i002.jpg + +This allows them to be easily piped to other programs, like [urlview] or +[extract_url]: + + $ pdf-urls ./testdata/Alice\'s\ Adventures\ in\ Wonderland.pdf | urlview + + +## Install +On Mac OS X, PDF-URLs can be installed with Homebrew: + + $ brew install teddywing/formulae/pdf-urls + +To compile from source or install on other platforms: + + $ cargo install --git https://github.com/teddywing/pdf-urls.git --root /usr/local + + +## Uninstall + + $ cargo uninstall --root /usr/local pdf-urls + + +## License +Copyright © 2019 Teddy Wing. Licensed under the GNU GPLv3+ (see the included +COPYING file). + + +[urlview]: https://github.com/sigpipe/urlview +[extract_url]: http://www.memoryhole.net/~kyle/extract_url/ |