# Quick start

Merly is a **micro framework** for declaring routes and handling requests.                                                                       Quickly creating web applications in Julia with minimal effort.

{% hint style="danger" %}
These docs are for **Merly v1.0.x**
{% endhint %}

## Installation

First [download](https://julialang.org/downloads/#current_stable_release) and install Julia. `1.5` or higher.                                                                                                                        To do the installation use any of the following commands:

```julia
using Pkg
Pkg.add("Merly")
```

```julia
(@v1.5) pkg> add Merly
```

## Hello, World!

This is the simplest application you can do with Merly:

{% code title="server.jl" %}

```julia
using Merly

@page "/" HTTP.Response(200,"Hello World!")

start(host = "127.0.0.1", port = 8086, verbose = true)
```

{% endcode %}

```julia
julia server.jl
```

Browse to `http://127.0.0.1:8086` and you should see `Hello World!` on the page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://neomatrixcode.gitbook.io/merly/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
