mochiweb

MochiWeb is an Erlang library for building lightweight HTTP servers.

Latest version: 3.2.2 registry icon
Maintenance score
27
Safety score
100
Popularity score
89
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
3.2.2 0 0 0 0 0
3.2.1 0 0 0 0 0
3.2.0 0 0 0 0 0
3.1.2 0 0 0 0 0
3.1.1 0 0 0 0 0
3.1.0 0 0 0 0 0
3.0.0 0 0 0 0 0
2.22.0 0 0 0 0 0
2.21.0 0 0 0 0 0
2.20.1 0 0 0 0 0
2.20.0 0 0 0 0 0
2.18.0 0 0 0 0 0
2.15.0 0 0 0 0 0
2.12.2 0 0 0 0 0

Stability
Latest release:

3.2.2 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



MochiWeb

MochiWeb is an Erlang library for building lightweight HTTP servers.

Overview

MochiWeb provides a lightweight and fast solution for building HTTP servers in Erlang. The library provides features for building robust and scalable HTTP servers.

Getting Started

Before you can use MochiWeb, you'll need to have Erlang OTP installed. Once you have Erlang OTP installed, you can download the latest version of MochiWeb from the GitHub repository.

For a MochiWeb project, first obtain a copy of MochiWeb using Git by running the command.

$ git clone git://github.com/mochi/mochiweb.git.

To create a project.

$ cd mochiweb
$ make app PROJECT=exampleName

You can now start the project with.

$ cd ../exampleName/
$ make
$ ./start-dev.sh

You can access the app by navigating to http://localhost:8080 in your browser.

For an example, view the example_project in the examples/ folder.

Benefits

  • Lightweight: MochiWeb is designed to be lightweight and fast, making it ideal for use in resource-constrained environments.

  • Easy to use: MochiWeb provides a simple and intuitive API that makes it easy to get started with building HTTP servers.

  • Robust: MochiWeb provides a comprehensive set of features for building robust and scalable HTTP servers.

Documentations and Resources

Information about Rebar (Erlang build tool)

Mailing list

OTP 21.2, 21.2.1, 21.2.2 warning

OTP 21.2 (up to and including 21.2.2) introduced an SSL regression that makes these releases unsafe to use. See ERL-830. This issue was resolved in OTP 21.2.3.

Contributing

MochiWeb is an open-source project and welcomes contributions from the community.