Build webserver using Julia
Latest commit 1517b2b Mar 30, 2012 @chzyer chzyer update

a framework to make building website more easily

JuliaWebServer : a webserver for julia

Base on julia

How to Start

see the sub directory "example" .

  1. open the file julia_webserver_base.jl
  2. change LIB_PATH point to the juliawebserver framework path, like /home/cheney/juliawebserver (if you copy juliawebserver to julia's directory. you can set it ./juliawebserver)
  3. cd example
  4. julia main.jl
  5. wait for a moment and it will display the port , default 4444
  6. now you can browse http://localhost:4444


All the page must use UTF-8 encoding.

Now support

  • send status: you can send the http status code like "404", "200" etc.
  • get argument: get the POST argument and auto use URLDecode,support Chinese
  • set/get cookie now support.
  • template support template(extend, for, if).


  • support asynchronous

Bind NginX

  1. cd /etc/nginx/sites-available/
  2. sudo nano default (you can choose other file)

    server {

    listen 80;
    server_name julia;
    index index.html index.htm;
    location / {
        proxy_set_header Host $host;