> For the complete documentation index, see [llms.txt](https://neomatrixcode.gitbook.io/merly/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neomatrixcode.gitbook.io/merly/master.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
