Built something? We create video reels & spotlights for GitHub projects.Promote your project →
mirage
Home / OCaml / ocaml-cohttp

mirage/ocaml-cohttp

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

OCaml ◇ http NOASSERTION
★779STARS
⑂185FORKS
!108ISSUES
🏆#4,676GLOBAL RANK
🔥53DAYS TRENDING
🚀
Maintainer Growth Kit for ocaml-cohttp

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for mirage/ocaml-cohttp
CSV
⭐ VIRAL README KIT

Add Live Star History & Verified Badges to README.md

Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.

Open README on GitHub ↗
Option 1: Interactive Star History Chart Dynamic SVG

Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.

mirage/ocaml-cohttp Star History Preview
markdown
[![Star History Chart](https://githubrepo.cloud/api/badge/chart/mirage/ocaml-cohttp.svg?theme=dark)](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_chart)
Direct SVG Link ↗
Option 2: Verified Shields Badges Shields.io Style

Compact Shields-style badges for your README header. Shows real-time stars and global ranking.

Featured badge Stars badge Rank badge
markdown (badge trio)
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/mirage/ocaml-cohttp.svg?metric=featured)](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_badge) [![GitHubRepo Stars](https://githubrepo.cloud/badge/mirage/ocaml-cohttp.svg?metric=stars)](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_badge) [![Global Rank](https://githubrepo.cloud/badge/mirage/ocaml-cohttp.svg?metric=rank)](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_badge)

Momentum

+19

STARS · LAST 30 DAYS

1

PER DAY

#2

MOST-STARRED OCaml

Window7 days30 days90 days
Stars gained+7+19+90
Per day111
Forks gained+1+4+10

ocaml-cohttp gained 19 stars in the last 30 days, about 1 a day, and now has 779. It is about 17 years old and has averaged roughly 46 stars a year. It ranks #2 among OCaml repositories and #4,676 across all languages on GitHubRepo.

Trending Record

ocaml-cohttp has maintained a continuous presence across global trending indexes, peaking at #100. Below is the 30-day activity profile:

💡 Overview

ocaml-cohttp is an open-source project written in OCaml: An OCaml library for HTTP clients and servers using Lwt or Async.

Engineered for speed, consistency, and developer ease, it solves common hurdles in http, http-client, lwt. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in OCaml for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ git clone https://github.com/mirage/ocaml-cohttp.git
cd ocaml-cohttp

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

OCaml environment and standard tooling

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

ocaml-cohttp coordinates its core functionality through a modular OCaml pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Command-Line Automation

Execute automated build, deployment, and maintenance tasks directly from the terminal.

CI/CD Workflow Integration

Run non-interactive validation checks in GitHub Actions, GitLab CI, or local pre-commit hooks.

Developer Environment Setup

Standardize local engineering workstations with single-binary utility commands.

Scripting & Pipeline Orchestration

Chain complex multi-stage scripts with reliable error reporting and exits.

🚀 Getting Started

1

Install ocaml-cohttp using your package manager: `git clone https://github.com/mirage/ocaml-cohttp.git`

2

Initialize your project workspace or configuration file for ocaml-cohttp.

3

Import ocaml-cohttp into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `ocaml-cohttp --help` to verify successful setup.

👍 Strengths

Active community backing with 779 GitHub stars and verified adoption.
Permissive open-source distribution under the NOASSERTION license.
Built in OCaml for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with OCaml and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

I
facebook/infer ★ 15.7K OCaml

A static analyzer for Java, C, C++, and Objective-C

Compare ↗
P
matsen/pplacer ★ 95 OCaml

Phylogenetic placement and downstream analysis

Compare ↗
A
berke/aurochs ★ 48 OCaml

Aurochs is a parser generator that uses the parse expression grammar (PEG) or "packrat" approach. It takes a grammar in a BNF-like notation (a .peg file) and produces bytecode (a .nog file) for a stack automaton. This bytecode is later interpreted on the input to parse using a C library. Bindings are given for Ocaml, Java and Exascript.

Compare ↗
J
berke/jsure ★ 37 OCaml

JSure is a fast, standalone Javascript checker.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with OCaml, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

mirage/ocaml-cohttp is currently ranked #4,676 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#4,670 ReflexioAI/claude-smart Python ★ 781 Compare ↗
#4,670 Fody/MethodTimer C# ★ 781 Compare ↗
#4,673 jonathanpeppers/dotnes C# ★ 780 Compare ↗
#4,673 billimek/k8s-gitops YAML ★ 780 Compare ↗
#4,673 Consensys-Incorporated/teku Java ★ 780 Compare ↗
#4,676 mirage/ocaml-cohttp This Project OCaml ★ 779
#4,676 Ark0N/Codeman TypeScript ★ 778 Compare ↗
#4,676 civicrm/civicrm-core PHP ★ 778 Compare ↗
#4,676 actix/actix-net Rust ★ 778 Compare ↗
#4,676 IBMa/equal-access JavaScript ★ 778 Compare ↗
#4,676 SwiftyLab/MetaCodable Swift ★ 778 Compare ↗

Frequently Asked Questions

What does ocaml-cohttp do? +

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

What language is ocaml-cohttp written in? +

The primary language is OCaml. Topics include: http, http-client, lwt, ocaml, unix.

Is ocaml-cohttp actively maintained? +

Yes, the last recorded push was on Sep 8, 2026 with 108 open issues being tracked.

How many stars does ocaml-cohttp have? +

ocaml-cohttp has 779 stars and 185 forks on GitHub.

How does ocaml-cohttp rank among GitHub repositories? +

With 779 stars, mirage/ocaml-cohttp is ranked #4,676 globally across all repositories tracked on GitHubRepo and #2 among OCaml projects.

What license is ocaml-cohttp distributed under? +

The repository reports a NOASSERTION license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.