Awesome Open Source
Awesome Open Source

Build Status

License: Apache-2.0 Version buy me a coffee Discord


What's past is prologue.


Prologue is a powerful and flexible web framework written in Nim. It is ideal for building elegant and high performance web services.

Reduce magic. Reduce surprise.


Documentation Index Page
Core API Index Page Search Page
Full API Index Page Search Page

Welcome to write your own experience with Prologue at our wiki.


  • Core

    • [x] Configure and Settings
    • [x] Context
    • [x] Param and Query Data
    • [x] Form Data
    • [x] Static Files
    • [x] Middleware
    • [x] Powerful Routing System(based on nest)
    • [x] Cookie
    • [x] Startup and Shutdown Events
    • [x] URL Building
    • [x] Error Handler
  • Plugin

    • [x] I18n
    • [x] Basic Authentication
    • [x] Minimal OpenAPI support
    • [x] Websocket support
    • [x] Mocking test
    • [x] CORS Response
    • [x] Data Validation
    • [x] Session
    • [x] Cache
    • [x] Signing
    • [x] Command line tools
    • [x] Cross-Site Request Forgery
    • [x] Clickjacking Protection


First you should install Nim language which is an elegant and high performance language. Follow the instructions and set environment variables correctly.

Then you can use nimble command to install prologue.

nimble install prologue


Hello World

import prologue

proc hello*(ctx: Context) {.async.} =
  resp "<h1>Hello, Prologue!</h1>"

let app = newApp()
app.get("/", hello)

Run app.nim ( nim c -r app.nim ). Now the server is running at localhost:8080.

More examples


If you need more extensions, you can refer to awesome prologue and awesome nim.


Thanks for supporting me!


Stargazers over time

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Web (37,743
Full Stack (3,899
Web Development (3,644
Nim (3,145
Web Application Framework (2,259
Nim Lang (386
Nim Language (124
Http Framework (19
Jester (14
Webapp Framework (13
Prologue (11
Prologue Framework (4