Http4kbox
Multi-platform http4k demo application
Install / Use
/learn @http4k/Http4kboxREADME
http4kbox - http4k app deployed in multiple modes
This is a simple Dropbox clone built with http4k which uses S3 as a backing store, implemented in ~50 lines of code (when imports are excluded). It is designed to demo that http4k apps run identically in the following modes:
- As a Kotlin function with SunHttp dev server for tests - see app
- In a deployed local Undertow server + Apache HTTP client - see local
- To Heroku as a cloud-based Helidon server (with Helidon client) deployed through a fully CD pipeline run on GitHubActions - see heroku
- Into a Kubernetes cluster - see k8s
- As a pure Kotlin function deployed in a Serverless environment (AWS Lambda) - see serverless
- As a native Apache server binary running in GraalVM - see native
Apart from the switchable server backen ds and clients, the core app uses the following http4k modules and features:
http4k-core<-- main HTTP libraryhttp4k-config<-- for 12-factor configuration via environmental propertieshttp4k-connect-amazon-s3<-- replaces the Java AWS SDK with a lightweight http4k clienthttp4k-template-rocker<-- for templatinghttp4k-multipart<-- multipart form uploadshttp4k-testing-hamkrest<-- for test assertions
In action:
<img src="image.png"/>Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
