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

395

Version

2.2.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

John Coene

Last Published

March 15th, 2025

Functions in ambiorix (2.2.0)

Websocket

Websocket
Ambiorix

Ambiorix
Router

Router
Response

Response
as_cookie_parser

Define a Cookie Parser
as_renderer

Create a Renderer
as_path_to_pattern

Path to pattern
Request

Request
as_cookie_preprocessor

Define a Cookie Preprocessor
Routing

Core Routing Class
forward

Forward Method
content

Content Headers
import

Import Files
new_log

Logger
default_cookie_parser

Cookie Parser
mockRequest

Mock Request
parse_form_urlencoded

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

Dockerfile
parse_json

Parse application/json data
jobj

JSON Object
stop_all

Stop
use_html_template

HTML Template
parse_multipart

Parse multipart form data
responses

Plain Responses
token_create

Token
robj

R Object
websocket_client

Websocket Client
pre_hook

Pre Hook Response
serialise

Serialise an Object to JSON
set_log

Customise logs