This repository was archived by the owner on Jan 23, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
386 lines (353 loc) · 22.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta charset="utf-8">
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta itemprop="name" content="http4k Connect is a lightweight API client toolkit which includes libraries for connecting to popular third-party cloud services and AI backends">
<meta property="og:title" content="http4k Connect is a lightweight API client toolkit which includes libraries for connecting to popular third-party cloud services and AI backends" />
<meta property="og:image" content="https://connect.http4k.org/img/logo-intro.png">
<meta name="twitter:title" content="http4k Connect is a lightweight API client toolkit which includes libraries for connecting to popular third-party cloud services and AI backends">
<meta property="twitter:image" content="https://connect.http4k.org/img/logo-intro.png">
<meta name="description" content="http4k Connect is a lightweight API client toolkit which includes libraries for connecting to popular third-party cloud services and AI backends">
<meta property="og:description" content="http4k Connect is a lightweight API client toolkit which includes libraries for connecting to popular third-party cloud services and AI backends" />
<meta name="twitter:description" content="http4k Connect is a lightweight API client toolkit which includes libraries for connecting to popular third-party cloud services and AI backends">
<meta name="author" content="David Denton (@daviddenton), Ivan Sanchez (@s4nchez)">
<meta name="twitter:creator" content="David Denton (@daviddenton), Ivan Sanchez (@s4nchez)">
<meta name="lang:clipboard.copy" content="en">
<meta name="lang:clipboard.copied" content="en">
<meta name="lang:search.language" content="en">
<meta name="lang:search.pipeline.stopwords" content="en">
<meta name="lang:search.pipeline.trimmer" content="en">
<meta name="lang:search.result.none" content="en">
<meta name="lang:search.result.one" content="en">
<meta name="lang:search.result.other" content="en">
<meta name="lang:search.tokenizer" content="en">
<!-- ****** faviconit.com favicons ****** -->
<link rel="shortcut icon" href="/img/favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="/img/favicon.ico">
<link rel="icon" type="image/png" sizes="196x196" href="/img/favicon-192.png">
<link rel="icon" type="image/png" sizes="160x160" href="/img/favicon-160.png">
<link rel="icon" type="image/png" sizes="96x96" href="/img/favicon-96.png">
<link rel="icon" type="image/png" sizes="64x64" href="/img/favicon-64.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16.png">
<link rel="apple-touch-icon" href="/img/favicon-57.png">
<link rel="apple-touch-icon" sizes="114x114" href="/img/favicon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/img/favicon-72.png">
<link rel="apple-touch-icon" sizes="144x144" href="/img/favicon-144.png">
<link rel="apple-touch-icon" sizes="60x60" href="/img/favicon-60.png">
<link rel="apple-touch-icon" sizes="120x120" href="/img/favicon-120.png">
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon-76.png">
<link rel="apple-touch-icon" sizes="152x152" href="/img/favicon-152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon-180.png">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="/img/favicon-144.png">
<meta name="msapplication-config" content="/img/browserconfig.xml">
<!-- ****** faviconit.com favicons ****** -->
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-3.0.4">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap" rel="stylesheet"/>
<link rel="stylesheet" href="/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/css/main.css"/>
<link rel="stylesheet" href="/css/site.css"/>
<meta property="og:url" content="https://http4k.org">
<meta property="twitter:url" content="https://http4k.org">
<title>http4k Connect</title>
</head>
<body>
<header class="landing">
<div class="overlay"></div>
<div class="container h-80">
<div class="row align-items-center h-100">
<div class="col-md-7 col-lg-5 col-xl-4">
<h2 class="header mb-4">Functional, modular and testable API Clients</h2>
<p class="mb-5">http4k Connect is a lightweight API Client toolkit which includes libraries for
connecting to popular third-party cloud services and AI
backends</p>
<a class="btn btn-warning" href="https://www.http4k.org/ecosystem/connect/">See the docs</a>
</div>
</div>
</div>
<img class="mt-5 img-fluid d-lg-none" src="/img/pipes-hero.png"/>
</header>
<div class=".first-block">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-11">
<div class="api">
<div class="row align-items-center">
<div class="col-lg-5 col-xl-4">
<h2>More than 35 integrations</h2>
<p>http4k Connect integrates with many popular Cloud and AI HTTP APIs.</p>
</div>
<div class="col-lg-7 offset-xl-1">
<div class="row justify-content-center align-items-center">
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/openai.svg"
alt="openai"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/dynamodb.png"
alt="dynamodb"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/google-analytics.svg"
alt="google analytics"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/kms.png"
alt="kms"/></div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/sqs.png"
alt="sqs"/></div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/anthropic.png"
alt="anthropic"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/eventbridge.png"
alt="eventbridge"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/kafka.svg"
alt="kafka"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/gitlab.svg"
alt="gitlab"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/cloudwatch.png"
alt="cloudwatch"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/langchain.svg"
alt="langchain"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/firehose.svg"
alt="firehose"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/s3.png"
alt="s3"/></div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/mattermost.svg"
alt="mattermost"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/lambda.png"
alt="lambda"/>
</div>
<div class="col-6 col-md-3 col-lg-3 text-center integrationLogo"><img class="img-fluid"
src="/img/ollama.svg"
alt="ollama"/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="features">
<div class="container">
<h2>Highlights</h2>
<div class="row">
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/supportive.svg" alt="icon"/>
<h4>Tiny <br/> footprint</h4>
<div class="dash pink-color"></div>
<p>In true http4k-style, Connect clients rely on minimal dependencies and zero reflection,
perfect for lightweight and security-conscious applications.</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/footprint.svg" alt="icon"/>
<h4>Total <br/> modularisation</h4>
<div class="dash violet-color"></div>
<p>Extension of the clients is as simple as combining function calls or implementing a single
data class with just 2 simple methods.</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/support.svg" alt="icon"/>
<h4>Kotlin-<br/> centric</h4>
<div class="dash indigo-color"></div>
<p>Every API Client leverages Result types and is exception-safe, so you can finally code like
it's Kotlin that you're writing!</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/testability.svg" alt="icon"/>
<h4>Battle-tested <br/> in the wild</h4>
<div class="dash blue-color"></div>
<p>Connect API Clients have been used to build high volume applications in Banking, Publishing,
eCommerce & Government projects.</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/support.svg" alt="icon"/>
<h4>First class<br/> testability</h4>
<div class="dash green-color"></div>
<p>Most API Clients come with an in-memory cloud-service fake which can be used for lightning
fast test suites or spun up as a server.<br><br>
All fakes are chaos-enabled, so you can test what happens to your code in failure scenarios.
</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/testability.svg" alt="icon"/>
<h4>Total <br/> control</h4>
<div class="dash yellow-color"></div>
<p>Most API Client libraries hide their HTTP client from you, stopping you from implementing
observability or customisation.<br/><br/>
Connect allows any http4k client module to be plugged in, so you can leverage the full power
of http4k</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/supportive.svg" alt="icon"/>
<h4>Ultimate<br/> type safety</h4>
<div class="dash orange-color"></div>
<p>API Clients leverage TinyTypes to provide typesafe coding and automatic
serialisation.<br/><br/>
Stop relying on unsafe, stringly-typed APIs.</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="card-custom">
<img src="/img/footprint.svg" alt="icon"/>
<h4>Simple Key/value<br/> storage</h4>
<div class="dash red-color"></div>
<p>Ships with a storage abstraction for simple key-value storage, and adapters for popular
backends.<br/><br/>
Plugin in-memory, S3, JDBC or Redis with a single line of code!</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="our-document">
<div class="developers-custom">
<div class="container-fluid">
<h2>It's simple to use and extend the built-in API Clients...</h2>
<div class="row">
<div class="col-lg-1"></div>
<div class="col-lg-5 text-center">
<p>1. Instantiate your API Client and use, injecting your own HTTP client for observability.</p>
<img class="img-fluid" style="border-radius: 8px" src="/img/using-client.png"
alt="Using a Connect API Client"/>
</div>
<div class="col-lg-5 text-center">
<p>2. Is your API action not supported? No problem - simply create your own by extension!</p>
<img class="img-fluid" style="border-radius: 8px" src="/img/extending-client.png"
alt="Extending a Connect API Client"/>
</div>
<div class="col-lg-1"></div>
</div>
</div>
</div>
<div class="developers-custom">
<div class="container-fluid">
<h2>... or modularise your own API Clients in 4 easy steps ...</h2>
<div class="row">
<div class="col-lg-1"></div>
<div class="col-lg-5 text-center">
<p>1. An <b>API Action</b> is just an interface with methods for marshalling the contents of HTTP
messages.</p>
<img class="img-fluid" style="border-radius: 8px" src="/img/action.png" alt="Defining our Actions"/>
</div>
<div class="col-lg-5 text-center">
<p>2. An <b>API Client</b> is just a class with a single function and handles with the
transport
for the remote API.</p>
<img class="img-fluid" style="border-radius: 8px" src="/img/api.png" alt="Defining an API action"/>
</div>
<div class="col-lg-1"></div>
<div class="col-lg-1"></div>
<div class="col-lg-5 text-center">
<p>3. Implement any individual Action for your API with <b>a single class</b> and a <b>extension
method</b>. Compose multiple calls together without bloating your API Client!
</p>
<img class="img-fluid" style="border-radius: 8px" src="/img/operation.png"
alt="Defining a custom Operation"/>
</div>
<div class="col-lg-5 text-center">
<p>4. <b>Instantiate the API Client</b> by passing in the HTTP client and other transport
requirements, and call it as normal. Exceptions are trapped in the returned Result.</p>
<img class="img-fluid" style="border-radius: 8px" src="/img/usage.png"
alt="Defining an API action"/>
</div>
<div class="col-lg-1"></div>
</div>
</div>
</div>
<div class="container">
<div class="learn">
<div class="row justify-content-center">
<div class="col-xs-10 col-md-8 col-lg-8 text-center">
<h2>Learn from our examples</h2>
<p class="lead">See how to harness the http4k Connect toolkit in your projects</p>
<a class="btn btn-primary" href="https://www.http4k.org/ecosystem/connect/">Check it out</a>
</div>
</div>
</div>
</div>
</div>
<div class="sponsors">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-lg-8 text-center">
<h2>Corporate sponsors</h2>
<p>http4k partners with selected organisations to fund and explore continued innovation around our
projects.
If your company is using http4k and would like to take advantage of this program,
please <a href="mailto:[email protected]?subject=Corporate Sponsorship">get in touch</a>.
</p>
<a href="https://springernature.com"><img class="img-fluid"
src="/img/SN_Technology_simple_black_resized.png"
alt="Springer Nature Technology"/></a>
<a href="https://kotlinfoundation.org/"><img class="img-fluid" src="/img/kotlin-foundation.png"
alt="Kotlin Foundation"/></a>
</div>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row align-items-baseline">
<div class="col-md-6 col-lg-3">
<a class="p-0" href="https://http4k.org"><img class="logo-footer" src="/img/logo.svg" alt="logo"/></a>
Copyright © 2024<br/><br/>
</div>
<div class="col-md-6 col-lg-3">
<h4>Developers</h4>
<a href="https://http4k.org/ecosystem/connect/">Documentation</a>
<a href="https://github.com/http4k/http4k-connect/blob/master/LICENSE">Licensing</a>
</div>
<div class="col-md-6 col-lg-3">
<h4>Community</h4>
<a href="https://github.com/http4k/http4-connect">GitHub</a>
<a href="https://kotlinlang.slack.com/archives/C5AL3AKUY">Slack</a>
<a href="https://twitter.com/http4k">Twitter</a>
</div>
</div>
</div>
</footer>
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.bundle.min.js"></script>
<script src="/js/index-min.js"></script>
</body>
</html>