Paperify transforms any document, web page, or ebook into a research paper.
The text of the generated paper is the same as the text of the original
document, but figures and equations from real papers are interspersed
throughout.
A paper title and abstract are added (optionally generated by ChatGPT, if you
provide an API key), and the entire paper is compiled with the IEEE
template for added realism.
First, install the dependencies:
- curl
- Python 3
- Pandoc
- jq
- LaTeX (via TeXLive)
- ImageMagick (optional)
For example, on Debian-based systems (e.g., Debian, Ubuntu, Kali, WSL):
sudo apt update sudo apt install --no-install-recommends pandoc curl ca-certificates jq python3 imagemagick texlive texlive-publishers texlive-science lmodern texlive-latex-extra
Then, clone the repo (or directly pull the script), and execute it.
curl -L https://github.com/jstrieb/paperify/raw/master/paperify.sh
| sudo tee /usr/local/bin/paperify
sudo chmod +x /usr/local/bin/paperify
paperify -h
-
Convert Russ Cox’s transcript of Doug McIlroy’s talk on the history of Bell
Labs into a paper saved to the/tmp/
directory asarticle.pdf
.paperify --from-format html "https://research.swtch.com/bell-labs" /tmp/article.pdf
-
Download figures and equations from the 1000 latest computer science papers
onarXiv.org
. Intersperse the figures and equations into Jack London’s
Call of the Wild with a higher-than-default equation frequency. Use ChatGPT
to generate a paper title, author, abstract, and metadata for an imaginary
paper on soft body robotics. Save the file in the current directory as
london.pdf
.paperify --arxiv-category cs --num-papers 1000 --equation-frequency 18 --chatgpt-token "sk-[REDACTED]" --chatgpt-topic "soft body robotics" "https://standardebooks.org/ebooks/jack-london/the-call-of-the-wild/downloads/jack-london_the-call-of-the-wild.epub" london.pdf