Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Pascal
  3. Brook framework

Brook framework

LGPL-2.1Pascalv5.7.2

A cross-platform microframework for building fast, compact web applications in Pascal using Delphi or Lazarus/Free Pascal.

Visit WebsiteGitHubGitHub
273 stars59 forks0 contributors

What is Brook framework?

Brook is a cross-platform microframework for building web applications in Pascal, specifically with Delphi or Lazarus/Free Pascal. It is built on the Sagui library, emphasizing speed, compactness, and suitability for embedded systems, making it a practical choice for lightweight web development.

Target Audience

Pascal developers using Delphi or Lazarus/Free Pascal who need a fast, lightweight framework for creating web applications, especially for embedded systems or resource-constrained environments.

Value Proposition

Developers choose Brook for its performance and minimal footprint, leveraging Sagui for speed, and its flexibility with multiple threading modes and efficient routing. It stands out as a specialized, cross-platform solution tailored for Pascal ecosystems where alternatives are limited.

Overview

Microframework which helps to develop web Pascal applications.

Use Cases

Best For

  • Building lightweight web servers for embedded systems like Raspberry Pi or Android devices.
  • Developing cross-platform web applications in Pascal that require IPv4 and IPv6 dual-stack support.
  • Creating real-time applications with content streaming and efficient request handling using event-driven or threaded modes.
  • Implementing secure web services with HTTPS encryption via GnuTLS and basic authentication.
  • Handling file uploads and downloads of any size with HTTP compression (Deflate/Gzip) for optimized transfers.
  • Evaluating mathematical expressions within web applications using built-in arithmetic, bitwise, and logical operators.

Not Ideal For

  • Projects requiring extensive third-party integrations or plugins, as the Pascal ecosystem has limited options compared to mainstream languages like JavaScript or Python.
  • Teams building large-scale enterprise applications that need built-in ORM, advanced authentication (e.g., OAuth), or comprehensive middleware support out of the box.
  • Developers working in non-Pascal environments or those who prioritize languages with larger communities and more modern tooling.

Pros & Cons

Pros

Efficient Path Routing

Uses JIT-optimized regular expressions and binary search for fast endpoint matching, as highlighted in the features for performance-critical applications.

Flexible Threading Modes

Supports event-driven, threaded, polling, and isolated request processing, allowing adaptable concurrency handling for different workloads, per the README.

Cross-Platform Compatibility

Successfully tested on Windows, Linux, and embedded systems like Raspbian/Android, making it versatile for deployment across diverse environments.

Lightweight and Embedded-Friendly

Built on the Sagui library for speed and compactness, ideal for resource-constrained embedded systems, as emphasized in the overview.

Cons

Niche Language Dependency

Tied to Delphi or Free Pascal, which have a smaller developer base and fewer modern tools compared to popular languages, limiting adoption and support.

Basic Security Features

Only supports basic authentication, lacking advanced security mechanisms like OAuth or JWT, which might require additional implementation for secure applications.

Sparse Ecosystem and Community

With few listed projects using Brook and reliance on donations for support, the community and third-party resources are minimal, hindering quick problem-solving.

Frequently Asked Questions

Quick Stats

Stars273
Forks59
Contributors0
Open Issues5
Last commit4 months ago
CreatedSince 2019

Tags

#iot#http-server#embedded-systems#free-pascal#rest#http#embedded#pascal#microframework#tls#lazarus#gzip#web-framework#delphi#cross-platform#pcre#freepascal

Built With

L
Lazarus
F
Free Pascal
D
Delphi
G
GnuTLS
P
Pascal

Links & Resources

Website

Included in

Pascal2.0k
Auto-fetched 1 day ago

Related Projects

Thrift Delphi Software LibraryThrift Delphi Software Library

Apache Thrift

Stars10,929
Forks4,110
Last commit1 day ago
DMVCFrameworkDMVCFramework

DMVCFramework (for short) is a popular and powerful framework for Web API and Web Applications in Delphi. Supports RESTful and JSON-RPC WEB APIs development.

Stars1,378
Forks379
Last commit3 days ago
HorseHorse

Fast, opinionated, minimalist web framework for Delphi

Stars1,340
Forks240
Last commit5 days ago
RESTRequest4DelphiRESTRequest4Delphi

API to consume REST services written in any programming language with support to Lazarus and Delphi

Stars613
Forks177
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub