# Plug.Cowboy

> Run Plug and Phoenix apps on the Cowboy web server

Source: https://talira.ai/catalog/plug-cowboy-cenn7jrk
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), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [elixir-plug](https://talira.ai/orgs/elixir-plug.md)

Plug.Cowboy (the Hex package `plug_cowboy`) is the adapter that runs an Elixir [Plug](https://talira.ai/catalog/plug-em53kn6h.md) application on the Erlang [Cowboy](https://talira.ai/catalog/cowboy-edtr4jzc.md) web server. Add it to a project's dependencies and start it with `Plug.Cowboy.http MyPlug, []`, or put it in an application's supervision tree as a child spec. It's maintained in the elixir-plug organization alongside Plug itself, under the Apache 2.0 licence.

## Links

- GitHub: https://github.com/elixir-plug/plug_cowboy
- Docs: https://plug-cowboy.hexdocs.pm/

## Problems it solves

- run my Elixir Plug app on an HTTP server
- serve a Phoenix application with Cowboy
- start an HTTP server inside my Elixir application's supervision tree

## Features

- serve a Plug or Phoenix application with the Cowboy web server
- start it directly with Plug.Cowboy.http or under a supervision tree
- Hex package plug_cowboy

## Trust

Overall: 0.39 out of 1.
Signals: maintenance 0.48, adoption 0.48, momentum 0.17, community 0.67, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 4 commits in the last 90 days
- 264 GitHub stars
- 45 contributors
- backed by elixir-plug

## Related

- Works with [Plug](https://talira.ai/catalog/plug-em53kn6h.md)
- Based on [Cowboy](https://talira.ai/catalog/cowboy-edtr4jzc.md)

## 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/elixir-plug/plug_cowboy/blob/master/LICENSE (checked 26 Nov 2026)
