/Teapot

Teapot micro web framework for Pharo Smalltalk

Primary LanguageSmalltalkMIT LicenseMIT

Teapot

Teapot is micro web framework for Pharo Smalltalk on top of the Zinc HTTP components, that focuses on simplicity and ease of use. It's around 600 lines of code, not counting the tests.

Explore the docs

Unit Tests Coverage Status Baseline Groups Markdown Lint

GitHub release Pharo 9.0 Pharo 10 Pharo 11

Name origin: 418 I'm a teapot (RFC 2324) is an HTTP status code.

This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol. The RFC specifies this code should be returned by tea pots requested to brew coffee.

License

  • The code is licensed under MIT.
  • The documentation is licensed under CC BY-SA 4.0.

Quick Start

Metacello new
  baseline: 'Teapot';
  repository: 'github://zeroflag/Teapot/source';
  load.

Installation

To load the project in a Pharo image, or declare it as a dependency of your own project follow this instructions

Contributing

Check the Contribution Guidelines

Other

If you want to lively work with Teapot or quickly implement REST services with it, we recommend having a look at the Tealight project a thin layer on top of Teapot to quickly experiment and deliver