Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yonicd/snapper
snap images of html objects using only JavaScript in shiny apps
https://github.com/yonicd/snapper
html2canvas r shiny
Last synced: 27 days ago
JSON representation
snap images of html objects using only JavaScript in shiny apps
- Host: GitHub
- URL: https://github.com/yonicd/snapper
- Owner: yonicd
- License: other
- Created: 2020-04-23T23:49:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T15:58:00.000Z (12 months ago)
- Last Synced: 2024-08-13T07:14:38.624Z (3 months ago)
- Topics: html2canvas, r, shiny
- Language: R
- Homepage: https://yonicd.github.io/snapper/
- Size: 1.55 MB
- Stars: 18
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - yonicd/snapper - snap images of html objects using only JavaScript in shiny apps (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# snapper
snap images of html objects in Shiny apps using `canvas2html` JavaScript library
## Installation
```r
remotes::install_github('yonicd/snapper')
```## Where it can be useful
- `selenium`-less shiny app testing
- Take a snap of any element in the page using `jQuery` strings
- offline script image sharing (a la `carbon`)
- Implemented in [carbonace](https://github.com/yonicd/carbonace)## Code of Conduct
Please note that the snapper project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.