An OCaml library for HTTP clients and servers using Lwt or Async
Star History
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.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_badge) [](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_badge) [](https://githubrepo.cloud/repo/mirage/ocaml-cohttp?utm_source=readme_badge)
Momentum
+19
STARS · LAST 30 DAYS
1
PER DAY
#2
MOST-STARRED OCaml
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +19 | +90 |
| Per day | 1 | 1 | 1 |
| 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
53
DAYS ON TRENDING
#100
BEST RANK
Sep 30, 2009
FIRST APPEARANCE
Active
STATUS TODAY
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
Optimized execution pipeline written in OCaml for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ 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
Install ocaml-cohttp using your package manager: `git clone https://github.com/mirage/ocaml-cohttp.git`
Initialize your project workspace or configuration file for ocaml-cohttp.
Import ocaml-cohttp into your codebase or invoke it directly from your terminal.
Execute your test suite or run `ocaml-cohttp --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 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:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #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.