{"id":13428123,"url":"https://github.com/http4k/http4k","last_synced_at":"2026-02-20T22:01:14.614Z","repository":{"id":37677481,"uuid":"86003479","full_name":"http4k/http4k","owner":"http4k","description":"The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.","archived":false,"fork":false,"pushed_at":"2026-02-16T08:44:08.000Z","size":38703,"stargazers_count":2753,"open_issues_count":48,"forks_count":271,"subscribers_count":25,"default_branch":"master","last_synced_at":"2026-02-16T16:23:45.898Z","etag":null,"topics":["http","http-client","http-server","http4k","immutability","kotlin","tdd","testability","typesafe"],"latest_commit_sha":null,"homepage":"https://http4k.org","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/http4k.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"http4k"}},"created_at":"2017-03-23T22:28:13.000Z","updated_at":"2026-02-16T08:44:11.000Z","dependencies_parsed_at":"2023-10-14T14:04:45.167Z","dependency_job_id":"8d381071-b5e5-4c8b-a15a-3193e9190d9e","html_url":"https://github.com/http4k/http4k","commit_stats":{"total_commits":7580,"total_committers":175,"mean_commits":43.31428571428572,"dds":0.2477572559366754,"last_synced_commit":"a0d51cbc1c699a7a82a6aa96bcb10080accf167f"},"previous_names":["reekwest/reekwest"],"tags_count":414,"template":false,"template_full_name":null,"purl":"pkg:github/http4k/http4k","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4k%2Fhttp4k","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4k%2Fhttp4k/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4k%2Fhttp4k/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4k%2Fhttp4k/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/http4k","download_url":"https://codeload.github.com/http4k/http4k/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4k%2Fhttp4k/sbom","scorecard":{"id":369050,"data":{"date":"2025-08-11","repo":{"name":"github.com/http4k/http4k","commit":"20a8319973dfa0fe0bcbc981de17230afc5791e9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/create_github_release.yaml:11","Info: jobLevel 'actions' permission set to 'read': .github/workflows/security_codeql.yml:34","Info: jobLevel 'contents' permission set to 'read': .github/workflows/security_codeql.yml:35","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/security_dependabot.yaml:16","Warn: no topLevel permission defined: .github/workflows/broadcast_release.yaml:1","Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/create_github_release.yaml:6","Warn: no topLevel permission defined: .github/workflows/create_upgrade_branches.yaml:1","Warn: no topLevel permission defined: .github/workflows/refresh_versions.yml:1","Warn: no topLevel permission defined: .github/workflows/release_api.yaml:1","Warn: no topLevel permission defined: .github/workflows/security_codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/security_dependabot.yaml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/send_to_slack.yaml:6","Warn: no topLevel permission defined: .github/workflows/shutdown_tests.yaml:1","Warn: no topLevel permission defined: .github/workflows/upload_release.yaml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1","Warn: binary detected: tools/jq:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'master'","Warn: PRs are not required to make changes on branch 'master'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/broadcast_release.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/broadcast_release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/broadcast_release.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/broadcast_release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/broadcast_release.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/broadcast_release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/broadcast_release.yaml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/broadcast_release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/broadcast_release.yaml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/broadcast_release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/build.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create_github_release.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/create_github_release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create_github_release.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/create_github_release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create_upgrade_branches.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/create_upgrade_branches.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/refresh_versions.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/refresh_versions.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/refresh_versions.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/refresh_versions.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/refresh_versions.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/refresh_versions.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/refresh_versions.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/refresh_versions.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_api.yaml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/release_api.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_api.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/release_api.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_api.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/release_api.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_api.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/release_api.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_api.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/release_api.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_api.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/release_api.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security_codeql.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security_codeql.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security_codeql.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security_codeql.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security_codeql.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security_dependabot.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_dependabot.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security_dependabot.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_dependabot.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/security_dependabot.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/security_dependabot.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/send_to_slack.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/send_to_slack.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/shutdown_tests.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/shutdown_tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/shutdown_tests.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/shutdown_tests.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/shutdown_tests.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/shutdown_tests.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/shutdown_tests.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/shutdown_tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload_release.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/upload_release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upload_release.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/upload_release.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload_release.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/upload_release.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upload_release.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/http4k/http4k/upload_release.yaml/master?enable=pin","Warn: containerImage not pinned by hash: core/server/shutdown-integration-test/src/main/resources/Dockerfile:1: pin your Docker image by updating azul/zulu-openjdk-alpine:21-jre-headless to azul/zulu-openjdk-alpine:21-jre-headless@sha256:0fd3270364313f763f270d0b7474dd770a930012de3dd9d43c2a038838826b32","Warn: downloadThenRun not pinned by hash: bin/build_ci.sh:11","Info:   0 out of  23 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  17 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/upload_release.yaml:9"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (5) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T12:33:14.060Z","repository_id":37677481,"created_at":"2025-08-18T12:33:14.060Z","updated_at":"2025-08-18T12:33:14.060Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29666420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["http","http-client","http-server","http4k","immutability","kotlin","tdd","testability","typesafe"],"created_at":"2024-07-31T01:00:46.752Z","updated_at":"2026-02-20T22:01:14.575Z","avatar_url":"https://github.com/http4k.png","language":"Kotlin","readme":"\u003chr/\u003e\n\u003cimg src=\"https://http4k.org/images/logo-http4k.png\" alt=\"http4k logo\"\u003e\n\u003chr/\u003e\n\n\u003ca href=\"https://github.com/http4k/http4k/actions/workflows/build-http4k.yml\"\u003e\u003cimg alt=\"build\" src=\"https://github.com/http4k/http4k/actions/workflows/build-http4k.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://mvnrepository.com/artifact/org.http4k\"\u003e\u003cimg alt=\"download\" src=\"https://img.shields.io/maven-central/v/org.http4k/http4k-core\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/http4k/http4k\"\u003e\u003cimg src=\"https://codecov.io/gh/http4k/http4k/branch/master/graph/badge.svg\" /\u003e\u003c/a\u003e\n\u003ca href=\"http://www.apache.org/licenses/LICENSE-2.0\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat\"\u003e\u003c/a\u003e\n\u003ca href=\"https://plugins.jetbrains.com/plugin/25243-http4k-toolbox\"\u003e\u003cimg alt=\"intellij-badge\" src=\"https://img.shields.io/jetbrains/plugin/v/25243-http4k-toolbox?label=intellij%20plugin\"\u003e\u003c/a\u003e\n\u003ca href=\"https://kotlin.link\"\u003e\u003cimg alt=\"awesome kotlin\" src=\"https://kotlin.link/awesome-kotlin.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/http4k\"\u003e\u003cimg alt=\"Kotlin Slack\" src=\"https://img.shields.io/badge/chat-kotlin%20slack-orange.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/http4k\"\u003e\u003cimg alt=\"back us!\" src=\"https://opencollective.com/http4k/backers/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/http4k\"\u003e\u003cimg alt=\"sponsor us!\" src=\"https://opencollective.com/http4k/sponsors/badge.svg\"\u003e\u003c/a\u003e\n\n[http4k] is a lightweight but fully-featured HTTP toolkit written in pure [Kotlin](https://kotlinlang.org/) that enables the serving and consuming of HTTP\nservices in a functional and consistent way. [http4k] applications are *just* Kotlin functions. For example, here's a simple echo server:\n\n```kotlin\nval app: HttpHandler = { request: Request -\u003e Response(OK).body(request.body) }\nval server = app.asServer(SunHttp(8000)).start()\n```\n\nYou can read about the rationale and ethos of http4k [here](https://http4k.org/rationale)\n\nThe [http4k] platform consists of the following main ecosystems, all released under a single version:\n\n- [http4k-core](./core) consists of a lightweight core library providing a base HTTP implementation and Server/Client implementations based on the JDK classes. Further servers, clients, serverless, templating, websockets capabilities are then implemented in add-on modules. [http4k] apps can be simply mounted into a running Server, Serverless platform, or compiled to GraalVM and run as a super-lightweight binary.\n- [http4k-connect](./connect) is a lightweight API Client toolkit which includes libraries for connecting to popular third-party cloud\n  services and AI backends using [http4k](https://http4k.org) compatible APIs, along with Fake implementations for usage during local\n  testing.\n\n\u003ch2\u003eSounds cool! Where can I find out more?\u003c/h2\u003e\n\nYou can find out all about the project on the [http4k] site.\n\n## Installation\n```kotlin\ndependencies {\n    // install the platform...\n    implementation(platform(\"org.http4k:http4k-bom:\u003cLATEST_VERSION\u003e\"))\n\n    // ...then choose any moduless but at least the core\n    implementation(\"org.http4k:http4k-core\")\n}\n```\n\n## Acknowledgments\n\n* [Dan Bodart](https://twitter.com/DanielBodart)'s **utterlyidle**\n* Ivan Moore for pairing on the original hackday project - Barely Magical.\n* You can see the amazing people and companies who have helped us to make http4k [here](https://http4k.org/community).\n\n[http4k]: https://http4k.org \n\n\u003cimg src=\"https://static.scarf.sh/a.png?x-pxid=90ad22e8-2304-4739-a487-3be143207ba8\" alt=\"scarf\"/\u003e\n","funding_links":["https://github.com/sponsors/http4k","https://opencollective.com/http4k"],"categories":["Libraries","开源库","Development Tools MCP Servers","Kotlin","Language-Specific SDKs","网络编程"],"sub_categories":["网络","Frameworks"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp4k%2Fhttp4k","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp4k%2Fhttp4k","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp4k%2Fhttp4k/lists"}