📈 GH Trending Explorer 🎲 Surprise me

← all repos

mojolicious / mojo

git clone https://github.com/mojolicious/mojo.git 🔥 on GitHub Trending today

Perl web framework with a built-in non-blocking HTTP/WebSocket server and client, plus MVC, routing, templates, and JSON/HTML parsing.

Why you might care

Suited to Perl developers building anything from single-file prototypes to MVC apps, including real-time apps using WebSockets and long-running requests. Pure-Perl with no required dependencies beyond Perl 5.26.0, and it ships its own HTTP client and server, so it works as a standalone web toolkit as well.

Categories

Alternatives

CatalystDancerPlackExpressFlask
+1
stars, 24h · #13,863
+1
stars, 7 days · #32,148
+~10
stars, 30 days · #26,814
2.8k
★ total · +0% this week
589
forks · 108 open issues

Star history (as recorded here)

2026-10-20 · 2,755 ★ 2026-10-23 · 2,756 ★
LanguagePerl
LicenseArtistic-2.0
Created2008-10-21 (18y ago)
Last push1d ago
Watchers212
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-23 — #2 weekly in perl · +1 ★
  • 2026-10-22 — #1 weekly in perl · +1 ★
  • 2026-10-21 — #8 daily in perl
  • 2026-10-21 — #2 weekly in perl · +2 ★
  • 2026-10-20 — #8 daily in perl
  • 2026-10-20 — #2 weekly in perl · +2 ★

GitHub topics

Links

README excerpt
Mojolicious is a fresh take on **Perl** web development, based on years of experience developing the Catalyst
 framework, and utilizing the latest web standards and technologies. You can get started with your project quickly,
 with a framework that grows with your needs.
 The Mojo stack provides a consistent set of components that can be used in any project. The guides cover most aspects
 of using the framework and the components have comprehensive reference documentation. Mojolicious is a real-time web
 framework, which allows a new class of web applications using WebSockets and having long-running requests without
 blocking.
 Join us now, and be a part of a friendly and knowledgeable community of developers!
## Features
 * Most popular distribution on **CPAN**.
 * An amazing **real-time web framework**, allowing you to easily grow single file prototypes into well-structured MVC
 web applications.
 * Everything you need to build cloud-native web applications for state of the art container environments.
 * Powerful out of the box with RESTful routes, plugins, commands, Perl-ish templates, content negotiation, session
 management, form validation, testing framework, static file server, CGI/PSGI detection,
 first class Unicode support and much more for you to discover.
 * A powerful **web development toolkit**, that you can use for all kinds of applications, independently of the web
 framework.
 * Full stack HTTP and WebSocket client/server implementation with IPv6, TLS, SNI, IDNA, HTTP/SOCKS5 proxy, UNIX
 domain socket, Comet (long polling), Server-Sent Events (SSE), Promises/A+, async/await, keep-alive, connection
 pooling, timeout, cookie, multipart, and gzip compression support.
 * Built-in non-blocking I/O web server, supporting multiple event loops as well as optional pre-forking and hot
 deployment, perfect for building highly scalable web services.
 * JSON and HTML/XML parser with CSS selector support.
 * Very clean, portable and object-oriented pure-Perl API with no hidden magic and no requirements besides Perl 5.26.0
 (versions as old as 5.16.0 can be used too, but may require additional CPAN modules to be installed)
 * Also available for JavaScript.
 * Fresh code based upon years of experience developing Catalyst, free and open source.
 * Hundreds of 3rd party extensions and high quality spin-off
 projects like the Minion job queue.
## Installation
 All you need is a one-liner, it takes less than a minute.
 $ curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mojolicious
 We recommend the use of a Perlbrew environment.
## Getting Started
 These three lines are a whole web application.
 [code] 
 To run the example with the built-in development web server, just put the code into a file and start it with `morbo`.
 $ morbo hello.pl
 Web application available at http://127.0.0.1:3000
 Test it with any HTTP client you prefer.
 $ curl http://127.0.0.1:3000/
 I ♥ Mojolicious!
## Duct tape for the HTML5 web
 Use all the latest Pe

Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.