A minimal web framework written in Halunke
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CODE_OF_CONDUCT.md
LICENSE
README.md
tausendsassa.hal

README.md

Tausendsassa

Tausendsassa is minimal web framework in the spirit of Sinatra written in Halunke.

A very simple app would look like:

('HelloWorld = [
  ["GET /hello/:world" { |'params 'env|
    [
      200
      @["ContentType" "text/plain"]
      [
        ("Hello " + (params @ "world" else ""))
        "\n"
        ("Say what? " + (params @ "say" else "Nothing to say!"))
      ]
    ]
  }]
])

(web run (Tausendsassa with HelloWorld) on "0.0.0.0:3000")

License

The project is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Halunke project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.