scorpion ~master

A simple-to-use web framework

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Scorpion <img align="right" alt="Logo" width="100" src="">

DUB Package Build Status Chat

Scorpion is a web framework written in D built on top of lighttp that allows you to create websites and other web applications in a very simple way.

Getting started

To create a new Scorpion project you'll need a D compiler and DUB installed on your machine.

After creating a new project add scorpion as a dependency to your dub.sdl or dub.json and create a controller.


name "example"
dependency "scorpion" version="..."


module example.controller;

import scorpion;

class ExampleController {

	getIndex(Response response) {
		response.body = "Hello, world!";


You can add scorpion-boot as a dependency to your application to automatically generate an executable file instead of a library.

Note that scorpion-boot will use the .scorpion folder to store build scipts, you may want to add /.scoprion to your .gitignore.

Also, note that scoprion-boot does not work with single-file packages.

Learn the basics

In depth