Link Search Menu Expand Document

Quick Start

1. Add Daikon to your project

Gradle

Add JitPack to your root build.gradle at the end of repositories:

repositories {
    ...
    maven { url 'https://jitpack.io' }
}

Add the dependency

implementation 'com.github.DaikonWeb:daikon:1.8.0'

Maven

Add the JitPack repository to your build file

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

Add the dependency

<dependency>
    <groupId>com.github.DaikonWeb</groupId>
    <artifactId>daikon</artifactId>
    <version>1.8.0</version>
</dependency>

2. Copy this to your main file:

import daikon.HttpServer

fun main() {
  HttpServer().start()
}

3. Open your browser

Go to http://localhost:4545 and see what happens


An Open Source Project