April 17, 2024, 3:05 a.m. | ColtonIdle

DEV Community dev.to

1 Clone this repo https://github.com/tom-delalande/html-to-kotlin-converter and open in intellij

2 In the root of that project folder, create input.txt and add the component/html that you want to convert (feel free to pick a component from tailwind), run main in that project and it'll be converted to kotlin ktor html DSL in output.txt (basically, that's the readme of that project lol)

3 in your ktor project (make sure you already added ktor-html from kotlin team), respond to a route like …

create free html kotlin ktor project readme

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York