{"id":43786045,"url":"https://github.com/coditory/kttp","last_synced_at":"2026-02-05T19:03:59.109Z","repository":{"id":294740016,"uuid":"975340893","full_name":"coditory/kttp","owner":"coditory","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-01T05:44:03.000Z","size":142,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-20T17:54:04.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coditory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["coditory"]}},"created_at":"2025-04-30T06:51:25.000Z","updated_at":"2025-05-22T06:33:06.000Z","dependencies_parsed_at":"2025-05-21T20:50:49.498Z","dependency_job_id":"f6e2871f-4d3f-4e2e-90a0-7eae3905acf1","html_url":"https://github.com/coditory/kttp","commit_stats":null,"previous_names":["coditory/kttp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/coditory/kttp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fkttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fkttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fkttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fkttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coditory","download_url":"https://codeload.github.com/coditory/kttp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coditory%2Fkttp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29130113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T18:55:47.139Z","status":"ssl_error","status_checked_at":"2026-02-05T18:55:04.010Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-05T19:03:59.025Z","updated_at":"2026-02-05T19:03:59.101Z","avatar_url":"https://github.com/coditory.png","language":"Kotlin","readme":"# kttp - Kotlin HTTP\n\n[![Build](https://github.com/coditory/kttp/actions/workflows/build.yml/badge.svg)](https://github.com/coditory/kttp/actions/workflows/build.yml)\n[![Coverage](https://codecov.io/gh/coditory/kttp/graph/badge.svg?token=FlAX0WyFod)](https://codecov.io/gh/coditory/kttp)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.coditory.kttp/kttp/badge.svg)](https://mvnrepository.com/artifact/com.coditory.kttp/kttp)\n\n**🚧 This library as under heavy development until release of version `1.x.x` 🚧**\n\n\u003e Thin kotlin HTTP layer with multiple server/client implementations.\n\u003e Provides coroutine friendly API without NO extension functions.\n\n## Sample usage\n\nAdd dependency to `build.gradle.kts`:\n\nThin wrapper around [`com.sun.net.httpserver.HttpServer`](https://docs.oracle.com/en/java/javase/22/docs/api/jdk.httpserver/com/sun/net/httpserver/HttpServer.html).\n- Coroutine friendly API for HttpServer\n- Routing, filters, handlers\n- Minimal dependencies - perfect to use in tests using http server mock\n\n```kts\ndependencies {\n  implementation(\"com.coditory.kttp:kttp-server-jdk:0.0.2\")\n}\n```\n\n## TBD\n\n- Improve request matching\n  - smarter way to sort path matchers with '*'\n  - use accept and language to pick the best handler\n- Upload file\n- Serve files\n- Websocket\n- kttp client\n- more tests\n- add netty implementation for production usage\n","funding_links":["https://github.com/sponsors/coditory"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoditory%2Fkttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoditory%2Fkttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoditory%2Fkttp/lists"}