Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (37 sloc) 1.98 KB

Scorpion Logo

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

You can’t perform that action at this time.