OCaml HTTP

Open-source OCaml projects categorized as HTTP | Edit details

Top 5 OCaml HTTP Projects

  • GitHub repo dream

    Tidy, feature-complete Web framework

    Project mention: Dream – Tidy Web Framework for OCaml and ReasonML | news.ycombinator.com | 2021-04-09

    Yes. OCaml + all of the 3 OCaml-to-JS compilers support OCaml syntax.

    Dream itself demonstrates:

    - Server and client both written in Reason, using ocamlc+Melange https://github.com/aantron/dream/tree/master/example/r-fulls...

    That example could also have been written in OCaml syntax, because ocamlc (native) and Melange (JS) both support OCaml. However, Reason is nicer if you want to use React with JSX.

    - Server and client both written in OCaml, using ocamlc+Js_of_ocaml https://github.com/aantron/dream/tree/master/example/w-fulls...

    The remaining example uses Ocaml on the server and ReScript on the client, using the ReScript compiler. However, you could use OCaml on the client with the ReScript compiler. Just as with Melange, you would lose access to nice JSX syntax https://github.com/aantron/dream/tree/master/example/r-fulls...

    It's definitely a lot and not user-friendly to have to decide between all these options, but the community is experimenting greatly right now... so it's good and bad, and that's how it is :/

    As for Node.js, using ReScript syntax requires you to use Node.js on the native side, but that is the only coupling. If you write your native side in OCaml or Reason, you can compile it to native code with ocamlc (technically, ocamlopt is the internal command; nobody uses either one directly, but the build system calls them).

  • GitHub repo ocaml-cohttp

    An OCaml library for HTTP clients and servers using Lwt or Async

    Project mention: Cohttp 4.0.0 | reddit.com/r/ocaml | 2021-03-24
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo httpaf

    A high performance, memory efficient, and scalable web server written in OCaml

    Project mention: Parser Combinators in Haskell | news.ycombinator.com | 2021-12-22
  • GitHub repo ocaml-h2

    An HTTP/2 implementation written in pure OCaml

    Project mention: Parser Combinators in Haskell | news.ycombinator.com | 2021-12-22
  • GitHub repo ocaml-webmachine

    A REST toolkit for OCaml

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-12-22.

OCaml HTTP related posts

Index

What are some of the best open-source HTTP projects in OCaml? This list will help you:

Project Stars
1 dream 756
2 ocaml-cohttp 566
3 httpaf 493
4 ocaml-h2 233
5 ocaml-webmachine 216
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms