Create simple, beautiful personal websites and landing pages using only R Markdown.
You can install Postcards with the following command:
install.packages("postcards")
Or you can install the latest development version:
remotes::install_github("seankross/postcards@main")
Postcards includes four templates: Jolla, Jolla Blue, Trestles, and Onofre. Each site is optimized for being displayed on desktop and mobile. The goal of the package is to make it easy for anyone to create a single page personal website with one R Markdown document. I hope this package can quickly demonstrate the power and possibilities of the R and R Markdown ecosystem to newcomers.
To get started customizing one of these templates you should use RStudio. Once you open RStudio: select File, New File, R Markdown, then select From Template to choose which template you want to start with. Select OK after you choose a name for the folder that will contain your site. This folder will contain two files: an R Markdown document with your site's content, and a sample photo that you should replace.
If you are not using RStudio, you can create the corresponding template files using the following commands:
rmarkdown::draft("index.Rmd", "jolla", package = "postcards")
rmarkdown::draft("index.Rmd", "jolla-blue", package = "postcards")
rmarkdown::draft("index.Rmd", "trestles", package = "postcards")
rmarkdown::draft("index.Rmd", "onofre", package = "postcards")
To compile the self contained HTML file for your site, you can use the Knit
button in RStudio or you can use rmarkdown::render("index.Rmd")
.
The HTML file can then be easily deployed to
GitHub Pages or
Netlify Drop.
---
title: "Tobi Burns"
image: "tobi.jpg"
links:
- label: LinkedIn
url: "https://linkedin.com/"
- label: Twitter
url: "https://twitter.com/"
- label: GitHub
url: "https://github.com/"
- label: Email
url: "mailto:email@email.com"
output:
postcards::jolla
---
I am a classically trained data scientist living in the San Francisco Bay Area.
Currently I work on the Oculus team at Facebook. I love talking about baseball,
true crime podcasts, and causal inference.
---
title: "Xiang Guo"
image: "xiang.jpg"
links:
- label: LinkedIn
url: "https://linkedin.com/"
- label: Twitter
url: "https://twitter.com/"
- label: GitHub
url: "https://github.com/"
- label: Email
url: "mailto:email@email.com"
output:
postcards::jolla_blue
---
Raised in New Jersey by two lawyers, I am now an aspiring data artist and
competitive rock climber. I moved to Seattle to fly floatplanes, but I got
caught up in the startup world. Send me a WhatsApp message if you have good
turnip prices.
---
---
title: "Frank Hermosillo"
image: "frank.jpg"
links:
- label: LinkedIn
url: "https://linkedin.com/"
- label: Twitter
url: "https://twitter.com/"
- label: GitHub
url: "https://github.com/"
- label: Email
url: "mailto:email@email.com"
output:
postcards::trestles
---
## Bio
Frank Hermosillo studies neural networks and their applications at Google
Brain. His research focuses on differentiable network pruning approximation and
decentralized gradient inversion mechanics. He frequently collaborates with
researchers who study machine learning, computer vision, and cognitive science.
His work has been featured in WIRED, The Atlantic, Newsweek, and The New York
Times Magazine.
## Education
**Massachusetts Institute of Technology** | Cambridge, MA
Ph.D. in Computer Science | September 2009 - May 2014
**The University of California, Berkeley** | Berkeley, CA
B.S. in Computer Science | September 2005 - May 2009
## Experience
**Google Brain** | Principal Investigator | January 2018 - Present
**Netflix** | Research Scientist | June 2014 - December 2017
---
title: "Willkommen!"
image: "herzl.jpg"
color1: "#5A59A3"
color2: "#C66060"
angle: 130
links:
- label: YouTube
url: "https://youtube.com/"
- label: Vimeo
url: "https://vimeo.com/"
- label: Twitter
url: "https://twitter.com/"
- label: Email
url: "mailto:email@email.com"
output:
postcards::onofre
---
György Herzl is a filmmaker and computational storyteller based in Leipzig,
Germany. Their work has been featured at the Festival do Rio, Internationale
Filmfestspiele Berlin, Kunsthalle Basel, and the New Museum of Contemporary Art
in New York City. "ГУМ" is their latest project which examines the rise of
consumerism in post-Soviet republics.
Most issues that people have using this package are related their installation Pandoc, software that R Markdown relies on. Currently Postcards works best with Pandoc version 2.8 or greater, although we are working on better functionality for earlier versions of Pandoc. You can check which version of Pandoc you have installed with the following command:
rmarkdown::pandoc_version()
If you have an earlier version of Pandoc installed we recommend you install the latest version of Pandoc and then run the command:
rmarkdown::find_pandoc(cache = FALSE)
If you do not see that the new Pandoc version has been installed, you may need to use RStudio and install the latest preview release of RStudio. If you are still encountering error messages after trying the above please open an issue.
Please note that the postcards project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.