Learn R Programming

ambiorix

Website | CLI | Generator | Docker | Load Balancer

Web framework for R based on httpuv and inspired by express.js.

Example

library(ambiorix)

app <- Ambiorix$new()

app$get("/", function(req, res){
  res$send("Hello!")
})

app$get("/about", function(req, res){
  res$send("About page")
})

app$start()

Middlewares

Tools & Extensions

Install

The stable version is available on CRAN with:

install.packages("ambiorix")

You can also install the development version from Github:

remotes::install_github("ambiorix-web/ambiorix")

Contributing

Please note that the ambiorix project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('ambiorix')

Monthly Downloads

422

Version

2.2.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

John Coene

Last Published

July 30th, 2025

Functions in ambiorix (2.2.1)

Request

Request
Routing

Core Routing Class
as_path_to_pattern

Path to pattern
Websocket

Websocket
as_renderer

Create a Renderer
as_cookie_preprocessor

Define a Cookie Preprocessor
Ambiorix

Ambiorix
jobj

JSON Object
Router

Router
Response

Response
default_cookie_parser

Cookie Parser
parse_json

Parse application/json data
as_cookie_parser

Define a Cookie Parser
stop_all

Stop
forward

Forward Method
content

Content Headers
set_log

Customise logs
create_dockerfile

Dockerfile
mockRequest

Mock Request
import

Import Files
new_log

Logger
parse_form_urlencoded

Parse application/x-www-form-urlencoded data
token_create

Token
responses

Plain Responses
serialise

Serialise an Object to JSON
robj

R Object
parse_multipart

Parse multipart form data
use_html_template

HTML Template
websocket_client

Websocket Client
pre_hook

Pre Hook Response