servr
Simple HTTP server in R for serving static files and live-reloading previews
servr keeps growing from a static file server into a general-purpose R web server.
◆Recent moves
- 1mo ago
servr 0.33 moves directory-listing helpers into xfun
Adds a documentation site and moves `fileinfo_table()` and `html_doc()` into xfun so directory listings are shared with `xfun::serve_dir()`. Consolidation that shrinks servr to its server-specific core.
View source ↗ - 1y ago
servr 0.31 adds a fallback favicon
Serves a fallback favicon.ico when none exists. Removes a console error; changes nothing about what the server can do.
View source ↗ - 2y ago
servr 0.30 fixes WebSockets on hashed URLs
Fixes WebSocket failures when the URL contains a hash — the same bug xaringan reported in its own 0.30, since its live preview rides on servr.
View source ↗ - 2y ago
servr 0.29 runs R scripts as served HTML pages
Adds `httr()` to run R scripts and render output as HTML while serving a directory, plus a `response` argument on `httd()` for post-processing. A step from serving files toward serving computed pages.
View source ↗ - 2y ago
servr 0.28 adds HTTP authentication to all servers
HTTP authentication lands as an `auth` argument on every server function. It makes servr usable for anything beyond a trusted local preview.
View source ↗ - 3y ago
servr 0.27 fixes vign() error handling and encoding
Stops `vign()` from looping on a vignette error and fixes a character-encoding issue. Corrective work on the vignette preview path.
View source ↗