Kroki Notes

1. Summary

  • Full document here.

2. Local Hosting

2.1. Local Hosting

The full document can be found here
  1. Download one of the available .jar files from here

  2. Start a CMD window

  3. Run:

    Example command
    java -DKROKI_LISTEN=:1234 -DKROKI_SAFE_MODE=unsafe -jar kroki-standalone-server.jar (1)
    1 default port of 8000 overriden with port 1234
    Example result
    14:08:02.904 [main] DEBUG io.vertx.core.logging.LoggerFactory - Using io.vertx.core.logging.SLF4JLogDelegateFactory
    14:08:02.999 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
    14:08:03.001 [main] DEBUG i.n.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false
    14:08:03.001 [main] DEBUG i.n.util.internal.PlatformDependent0 - Java version: 17
    14:08:03.002 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
    14:08:03.003 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
    14:08:03.003 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available
    14:08:03.003 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
    14:08:03.004 [main] DEBUG i.n.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled
    14:08:03.004 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
  4. Configure your app, e.g. VSC, Antora,etc to connect to:

    http://localhost:8080/plantuml