GithubHelp home page GithubHelp logo

mochi / mochiweb Goto Github PK

View Code? Open in Web Editor NEW
1.9K 121.0 474.0 1.59 MB

MochiWeb is an Erlang library for building lightweight HTTP servers.

License: Other

Makefile 0.05% Erlang 99.90% Shell 0.06%

mochiweb's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.