Skip to content
Lightweight Dart web server. Features: request routing, filtering, template engine, WebSocket, MVC design pattern, and file-based static resources.
Dart HTML Shell CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings minor Jul 30, 2013
bin file structure Aug 23, 2018
example proxyRequest() won't copy invalid header to response Apr 30, 2019
lib Bump up 2.3.0+1 May 15, 2020
test Remove the script tag ([:script]) Nov 14, 2018
tool file structure Aug 23, 2018
.gitattributes .gitattributes added to use LF for EOL Dec 29, 2013
.gitignore Use runZonedGuarded instead May 15, 2020 Bump up 2.3.0+1 May 15, 2020
LICENSE initial Jan 10, 2013 Bump up 2.2.2 Mar 10, 2020
analysis_options.yaml minor Jul 5, 2019
pubspec.yaml Bump up 2.3.0+1 May 15, 2020


Stream is a Dart web server supporting request routing, filtering, template engine, WebSocket, MVC design pattern and file-based static resources.

Stream is distributed under an Apache 2.0 License.

Build Status


Add this to your pubspec.yaml (or create it):



Compile RSP (Rikulo Stream Page) to dart files

There are two ways to compile RSP files into dart files: automatic building with Dart Editor or manual compiling.

RSP is a template technology allowing developers to create dynamically generated web pages based on HTML, XML or other document types (such as this and this). Please refer to here for more information.

Build with Dart Editor

To compile your RSP files automatically, you just need to add a build.dart file in the root directory of your project, with the following content:

import 'package:stream/rspc.dart';
void main(List<String> arguments) {

With this build.dart script, whenever your RSP is modified, it will be re-compiled.

Compile Manually

To compile a RSP file manually, run rspc (RSP compiler) to compile it into the dart file with command line interface as follows:

dart -c lib/rspc.dart -n dir1 dir2 file1 fire2...

A dart file is generated for each RSP file you gave. Fore more options, please run:

dart -c lib/rspc.dart -h

Notes to Contributors

Fork Stream

If you'd like to contribute back to the core, you can fork this repository and send us a pull request, when it is ready.

Please be aware that one of Stream's design goals is to keep the sphere of API as neat and consistency as possible. Strong enhancement always demands greater consensus.

If you are new to Git or GitHub, please read this guide first.

Who Uses

  • Quire - a simple, collaborative, multi-level task management tool.
  • Keikai - a sophisticated spreadsheet for big data
You can’t perform that action at this time.