Skip to content

h10y/faithful

Repository files navigation

Hello Shiny App

Shiny app displaying the histogram of the Old Faithful geyser waiting times.

Flavour Link Image
R Shiny r-shiny ghcr.io/h10y/faithful/r-shiny
Python Shiny py-shiny ghcr.io/h10y/faithful/py-shiny
R Shiny as a Rhino app r-rhino ghcr.io/h10y/faithful/r-rhino

Shiny in an R package

Flavour Link Image
R package r-package ghcr.io/h10y/faithful/r-package
Golem r-golem ghcr.io/h10y/faithful/r-golem
Leprechaun r-leprechaun ghcr.io/h10y/faithful/r-leprechaun

Dynamic documents

Flavour Link Image
R Markdown with Shiny rmd-shiny ghcr.io/h10y/faithful/rmd-shiny
Prerendered R Markdown rmd-prerendered ghcr.io/h10y/faithful/rmd-prerendered
Quarto with R Shiny (single file) quarto-r-shiny ghcr.io/h10y/faithful/quarto-r-shiny
Quarto with R Shiny (multiple files) quarto-r-shiny-multifile ghcr.io/h10y/faithful/quarto-r-shiny-multifile
Quarto with Python Shiny quarto-py-shiny ghcr.io/h10y/faithful/quarto-py-shiny

Shinylive

Flavour Link Deployment
Python Shinylive py-shinylive https://h10y.github.io/faithful/py-shinylive
R Shinylive r-shinylive https://h10y.github.io/faithful/r-shinylive
Quarto with Shinylive (Python) quarto-py-shinylive https://h10y.github.io/faithful/quarto-py-shinylive
Quarto with Shinylive (R) quarto-r-shinylive https://h10y.github.io/faithful/quarto-r-shinylive

Serving Shinylive on GitHub Pages

Serving Shinylive apps on GitHub Pages (from docs folder on the main branch).

# Cleanup
rm -rf docs/py-shinylive docs/r-shinylive
rm -rf docs/quarto-py-shinylive docs/quarto-r-shinylive

# Copy files
cp -r r-shinylive/app docs/r-shinylive
cp -r py-shinylive/app docs/py-shinylive
cp -r quarto-r-shinylive/app docs/quarto-r-shinylive
cp -r quarto-py-shinylive/app docs/quarto-py-shinylive

# Render HTML from markdown
pandoc -s -f markdown -t html5 -o "docs/index.html" "index.md"

See deployed Shinylive results at https://h10y.github.io/faithful/.