# Cowboy

> Small, fast HTTP server for Erlang/OTP with HTTP/2, WebSocket and REST

Source: https://talira.ai/catalog/cowboy-edtr4jzc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [web servers / application servers](https://talira.ai/categories/web-servers/application-servers)
- Licence: ISC[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Loïc Hoguin](https://talira.ai/orgs/loic-hoguin.md)

Cowboy is an HTTP server library for [Erlang](https://talira.ai/catalog/erlang-xsdkv450.md)/OTP that you embed in your application. It serves HTTP/1.1 and HTTP/2, WebSocket and REST resources, routes requests to handlers written in Erlang, and aims at low latency and low memory use in a small code base. It manages connections with Ranch, its maker's socket acceptor pool.

## Links

- Website: https://ninenines.eu/
- GitHub: https://github.com/ninenines/cowboy
- Docs: https://ninenines.eu/docs/en/cowboy/2.21/guide/

## Problems it solves

- serve HTTP and WebSockets from my Erlang application
- an HTTP/2 web server I can embed in an Erlang/OTP release
- build a REST API in Erlang

## Features

- embedded HTTP server for Erlang apps
- HTTP/1.1, HTTP/2 and WebSocket
- request routing to Erlang handlers
- REST resource handlers

## Trust

Overall: 0.67 out of 1.
Signals: maintenance 0.95, adoption 0.78, momentum 0.49, community 0.88, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 53 commits in the last 90 days
- 7.5k GitHub stars
- 155 contributors
- accepts sponsorship (Github, Custom)
- backed by Loïc Hoguin

## Alternatives

- [Bandit](https://talira.ai/catalog/bandit-pgbfc2ka.md): A pure-Elixir HTTP server built for Plug and WebSock apps

## Sources

[^1]: https://github.com/ninenines/cowboy/blob/master/LICENSE (checked 26 Nov 2026)
