-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
718 lines (678 loc) · 25.9 KB
/
index.html
File metadata and controls
718 lines (678 loc) · 25.9 KB
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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<title>Free, instant database for agents</title>
<meta name="description" content="One command. Real Postgres. No account needed.">
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #0a0a0a;
color: #e0e0e0;
line-height: 1.6;
min-height: 100vh;
}
:focus { outline: none; }
:focus-visible {
outline: 2px solid #4af;
outline-offset: 2px;
}
.copy-btn:focus-visible { outline-offset: 4px; }
a:focus-visible, .top-nav-links a.login:focus-visible { outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
@keyframes hero-rise {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: hero-rise 500ms ease-out both; }
.hero p { animation: hero-rise 500ms ease-out 80ms both; }
.prompt { animation: hero-rise 500ms ease-out 160ms both; }
.container { max-width: 640px; margin: 0 auto; padding: 0 20px; }
/* ── Top nav ── */
.top-nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 0;
border-bottom: 1px solid #1a1a1a;
}
.top-nav .brand {
color: #fff;
font-weight: 600;
text-decoration: none;
padding: 10px 0;
}
.top-nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.top-nav-links a[hidden] { display: none !important; }
.top-nav-links a {
color: #888;
text-decoration: none;
font-size: 0.92rem;
padding: 10px 12px;
display: inline-flex;
align-items: center;
min-height: 44px;
}
.top-nav-links a:hover { color: #fff; }
.top-nav-links a.login {
background: #4af;
color: #060a14;
padding: 10px 18px;
border-radius: 6px;
font-weight: 500;
}
.top-nav-links a.login:hover { background: #66bfff; }
@media (max-width: 520px) {
.top-nav-links { gap: 2px; }
.top-nav-links a { padding: 10px 6px; font-size: 0.82rem; }
.top-nav-links a.login { padding: 10px 12px; }
}
/* ── Hero ── */
.hero {
padding: 60px 0 40px;
text-align: center;
}
.hero h1 {
font-size: clamp(2.2rem, 5vw, 3rem);
font-weight: 700;
color: #fff;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 14px;
text-wrap: balance;
}
.hero p {
font-size: 1.05rem;
color: #a0a0a0;
max-width: 460px;
margin: 0 auto;
text-wrap: pretty;
}
/* ── The Prompt (hero element) ── */
.prompt {
margin: 40px 0 16px;
background: #111;
border: 1px solid #222;
border-radius: 8px;
overflow: hidden;
}
.prompt-header {
display: flex;
align-items: center;
justify-content: center;
padding: 14px 16px;
background: #0d0d0d;
border-bottom: 1px solid #1a1a1a;
}
.prompt-label {
font-size: 0.85rem;
color: #fff;
font-family: inherit;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.copy-btn {
background: #4af;
border: 1px solid #4af;
color: #060a14;
font-size: 0.95rem;
padding: 12px 18px;
border-radius: 999px;
cursor: pointer;
font-family: inherit;
font-weight: 700;
transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
box-shadow: 0 10px 30px rgba(74, 175, 255, 0.18);
letter-spacing: 0.02em;
}
.copy-btn:active { transform: translateY(1px); }
.copy-btn:hover { background: #66bfff; border-color: #66bfff; }
.copy-btn.copied { background: #4a4; border-color: #4a4; color: #e6ffe6; }
.prompt-code {
padding: 16px 18px;
font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
font-size: 0.88rem;
line-height: 1.7;
overflow-x: auto;
white-space: pre;
cursor: pointer;
transition: background 0.15s;
}
.prompt-code:hover { background: #0d0d0d; }
.prompt-code .cm { color: #555; }
.prompt-code .cmd { color: #ccc; }
.prompt-code .url { color: #6bf; }
.prompt-code .str { color: #adf; }
.hint {
text-align: center;
font-size: 0.8rem;
color: #555;
margin-bottom: 48px;
}
.hint code {
color: #888;
font-family: monospace;
background: #111;
padding: 2px 6px;
border-radius: 3px;
}
/* ── Output preview ── */
.output {
margin: 0 0 48px;
border-top: 1px solid #1a1a1a;
padding-top: 32px;
}
.output .eyebrow {
font-size: 0.82rem;
color: #555;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 16px;
text-align: center;
}
.output-block {
background: #111;
border: 1px solid #222;
border-radius: 8px;
padding: 16px 18px;
font-family: "SF Mono", "Fira Code", monospace;
font-size: 0.82rem;
line-height: 1.8;
overflow-x: auto;
white-space: pre;
}
.output-block .k { color: #6bf; }
.output-block .v { color: #efa; }
.output-block .s { color: #adf; }
.output-block .n { color: #fa5; }
.output-block .b { color: #4a4; }
/* ── Services row ── */
.services {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1px;
background: #1a1a1a;
border: 1px solid #1a1a1a;
border-radius: 8px;
overflow: hidden;
margin-bottom: 48px;
}
.svc {
background: #0a0a0a;
padding: 20px 16px;
text-align: center;
}
.svc h3 { font-size: 0.88rem; color: #fff; margin-bottom: 4px; }
.svc code { font-size: 0.72rem; color: #6bf; display: block; margin-bottom: 8px; }
.svc p { font-size: 0.75rem; color: #666; line-height: 1.4; }
/* ── How it works ── */
.how {
border-top: 1px solid #1a1a1a;
padding: 40px 0;
}
.how h2 {
font-size: 1rem;
color: #fff;
margin-bottom: 20px;
text-align: center;
}
.steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
}
.step {
background: #111;
border: 1px solid #1a1a1a;
border-radius: 8px;
padding: 16px;
}
.step .num { font-size: 0.65rem; color: #444; font-family: monospace; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.1em; }
.step h4 { font-size: 0.85rem; color: #e0e0e0; margin-bottom: 4px; }
.step p { font-size: 0.75rem; color: #666; line-height: 1.4; }
/* ── For AI agents ── */
.agents {
border-top: 1px solid #1a1a1a;
padding: 40px 0 20px;
text-align: center;
}
.agents h2 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.agents p { font-size: 0.85rem; color: #666; margin-bottom: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }
.agents .prompt-inline {
background: #111;
border: 1px solid #222;
border-radius: 8px;
padding: 14px 18px;
font-family: "SF Mono", monospace;
font-size: 0.82rem;
color: #adf;
text-align: left;
margin: 16px 0;
}
.agent-links {
display: flex;
gap: 8px;
justify-content: center;
flex-wrap: wrap;
}
.agent-links a {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 10px 16px;
background: #111;
border: 1px solid #222;
border-radius: 6px;
color: #bbb;
font-size: 0.85rem;
text-decoration: none;
transition: border-color 0.15s, color 0.15s;
}
.agent-links a:hover { border-color: #4af; color: #4af; }
/* ── Pricing ── */
.pricing {
border-top: 1px solid #1a1a1a;
padding: 40px 0;
text-align: center;
}
.pricing h2 { font-size: 1rem; color: #fff; margin-bottom: 20px; }
.tiers {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1px;
background: #1a1a1a;
border: 1px solid #1a1a1a;
border-radius: 8px;
overflow: hidden;
}
.tier {
background: #0a0a0a;
padding: 24px 14px;
}
.tier h3 { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.tier .price { font-size: 1.4rem; color: #4af; font-weight: 700; margin-bottom: 8px; }
.tier ul { list-style: none; font-size: 0.78rem; color: #666; }
.tier ul li { margin-bottom: 4px; }
.tier ul li::before { content: "- "; color: #333; }
.compare-link {
color: #4af;
text-decoration: none;
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 10px 14px;
}
.compare-link:hover { text-decoration: underline; }
/* ── FAQ ── */
.faq {
border-top: 1px solid #1a1a1a;
padding: 40px 0;
}
.faq h2 {
font-size: 1rem;
color: #fff;
margin-bottom: 20px;
text-align: center;
}
.faq .faq-item {
max-width: 600px;
margin: 0 auto 32px;
}
.faq h3 {
font-size: 1rem;
color: #fff;
margin-bottom: 8px;
}
.faq p {
font-size: 1rem;
color: #b0b0b0;
line-height: 1.6;
}
/* ── Articles ── */
.articles {
border-top: 1px solid #1a1a1a;
padding: 40px 0;
}
.articles h2 {
font-size: 1rem;
color: #fff;
margin-bottom: 20px;
text-align: center;
}
.articles .article-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 16px;
max-width: 800px;
margin: 0 auto;
}
.article-item {
background: #111;
border: 1px solid #222;
border-radius: 8px;
padding: 20px;
transition: border-color 0.15s ease, transform 0.15s ease;
}
.article-item:hover { border-color: #4af; transform: translateY(-2px); }
.article-item h3 {
font-size: 1rem;
color: #fff;
margin-bottom: 8px;
line-height: 1.3;
}
.article-item p {
font-size: 0.95rem;
color: #a0a0a0;
line-height: 1.5;
}
.article-item a {
color: #4af;
text-decoration: none;
font-size: 0.9rem;
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 8px 0;
margin-top: 8px;
}
.article-item a:hover { text-decoration: underline; }
/* ── Footer ── */
footer {
border-top: 1px solid #1a1a1a;
padding: 24px 0;
text-align: center;
color: #333;
font-size: 0.75rem;
}
footer a {
color: #666;
text-decoration: none;
margin: 0 4px;
padding: 10px 8px;
display: inline-block;
min-height: 44px;
}
footer a:hover { color: #ccc; }
@media (max-width: 600px) {
.hero h1 { font-size: 1.6rem; }
.services, .steps { grid-template-columns: 1fr; }
.tiers { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<div class="container">
<nav class="top-nav">
<a href="/" class="brand">instanode.dev</a>
<div class="top-nav-links">
<a href="/about.html">About</a>
<a href="/pricing.html">Pricing</a>
<a href="/agent.html">For Agents</a>
<a href="https://github.com/InstaNode-dev/instanode" target="_blank" rel="noopener">GitHub</a>
<a href="/dashboard.html" data-auth="in" hidden>Dashboard</a>
<a class="login" href="https://api.instanode.dev/auth/github/login" data-auth="out">Sign in</a>
</div>
</nav>
<div class="hero">
<h1>Free, instant database for agents</h1>
<p>One command. Your AI coding agent gets a real Postgres database — no signup, no Docker, no config.</p>
</div>
<!-- THE PROMPT — the one thing visitors need to copy -->
<div class="prompt">
<div class="prompt-header">
<button class="copy-btn" id="copyBtn" onclick="copyPrompt()"><strong>Copy AI Agent Instructions</strong></button>
</div>
<div class="prompt-code" id="promptCode"><span class="cmd">curl</span> <span class="url">-s -X POST https://api.instanode.dev/db/new</span> <span class="cmd">\</span>
<span class="cmd">-H</span> <span class="str">'Content-Type: application/json'</span> <span class="cmd">\</span>
<span class="cmd">-d</span> <span class="str">'{"name":"my-side-project"}'</span> <span class="cmd">| jq</span></div>
<p style="font-size: 0.75rem; color: #666; margin-top: 8px; text-align: center;">For detailed API documentation and examples, see <a href="/llms.txt" style="color: #4af;">/llms.txt</a></p>
</div>
<p class="hint">No account. No API key. No Docker. Just <code>curl</code>.</p>
<!-- What comes back -->
<div class="output">
<p class="eyebrow">You get back</p>
<div class="output-block">{
<span class="k">"ok"</span>: <span class="b">true</span>,
<span class="k">"token"</span>: <span class="s">"a1b2c3d4-..."</span>,
<span class="k">"connection_url"</span>: <span class="v">"postgres://usr_a1b2:s3cr3t@pg.instanode.dev:5432/db_a1b2?sslmode=require"</span>,
<span class="k">"tier"</span>: <span class="s">"anonymous"</span>,
<span class="k">"limits"</span>: { <span class="k">"storage_mb"</span>: <span class="n">10</span>, <span class="k">"connections"</span>: <span class="n">2</span>, <span class="k">"expires_in"</span>: <span class="s">"24h"</span> },
}</div>
</div>
<!-- Two services -->
<div class="services">
<div class="svc">
<h3>Postgres</h3>
<code>POST /db/new</code>
<p>Real Postgres with pgvector. Standard postgres:// URL.</p>
</div>
<div class="svc">
<h3>Webhooks</h3>
<code>POST /webhook/new</code>
<p>Receive and inspect HTTP callbacks. Stored 24h.</p>
</div>
</div>
<!-- How it works — 3 steps max -->
<div class="how">
<h2>How it works</h2>
<div class="steps">
<div class="step">
<div class="num">Step 1</div>
<h4>One POST</h4>
<p>No account, no config. Returns a live connection string on the same HTTP call.</p>
</div>
<div class="step">
<div class="num">Step 2</div>
<h4>Paste and run</h4>
<p>Standard postgres:// URL. Works with psql, psycopg2, pg, Prisma, SQLAlchemy.</p>
</div>
<div class="step">
<div class="num">Step 3</div>
<h4>Keep it</h4>
<p>Anonymous = 24h. Click the upgrade link in the response to make it permanent.</p>
</div>
</div>
</div>
<!-- For AI agents -->
<div class="agents">
<h2>Built for AI agents</h2>
<p>Give your coding assistant this prompt. It provisions the database and writes working code.</p>
<div class="prompt-inline">Use instanode.dev to get a Postgres database. Run: curl -s -X POST https://api.instanode.dev/db/new -H 'Content-Type: application/json' -d '{"name":"<project>"}' | jq and use the connection_url from the response.</div>
<div class="agent-links">
<a href="/llms.txt">llms.txt</a>
<a href="https://github.com/InstaNode-dev/mcp">MCP Server</a>
<a href="https://www.npmjs.com/package/@instanode/mcp">npm @instanode/mcp</a>
</div>
</div>
<!-- Simple pricing -->
<div class="pricing">
<h2>Pricing</h2>
<div class="tiers">
<div class="tier">
<h3>Free</h3>
<div class="price">$0</div>
<ul>
<li>Postgres 10MB / 2 connections</li>
<li>Webhooks (100 stored)</li>
<li>Expires in 24 hours</li>
<li>5 provisions per day</li>
</ul>
</div>
<div class="tier">
<h3>Developer · Monthly</h3>
<div class="price">$12/mo</div>
<ul>
<li>Postgres 500MB / 5 connections</li>
<li>Webhooks (1000 stored)</li>
<li>Never expires</li>
<li>Unlimited provisions</li>
</ul>
</div>
<div class="tier">
<h3>Developer · Annual</h3>
<div class="price">$120/yr</div>
<ul>
<li>Everything in Monthly</li>
<li>2 months free vs monthly</li>
<li>One yearly invoice</li>
<li>Priority support</li>
</ul>
</div>
</div>
<p style="text-align:center;margin-top:14px;"><a href="/pricing.html" class="compare-link">Compare plans →</a></p>
</div>
<div class="faq">
<h2>FAQ</h2>
<div class="faq-item">
<h3>What should I use instanode.dev for?</h3>
<p>Anything you are creating with your agent and need a database for: apps, prototypes, tools, dashboards, AI agents, school projects, etc.</p>
</div>
<div class="faq-item">
<h3>What agents/tools does this work with?</h3>
<p>All of them. Any AI agent that can make HTTP requests can provision databases on instanode.dev. Claude Code, Cursor, OpenClaw, or anything else.</p>
</div>
<div class="faq-item">
<h3>Do I need an account to create a database?</h3>
<p>No, you can create a database without an account, but it will expire after 24 hours. If you want to keep it, register for an account and it will be permanent.</p>
</div>
<div class="faq-item">
<h3>Are accounts free?</h3>
<p>The free tier needs no account. Paid Developer starts at $12/month ($120/year) — 500 MB, 5 connections, permanent databases, unlimited provisions. See the pricing page for exact limits.</p>
</div>
<div class="faq-item">
<h3>Are instanode.dev databases public or private?</h3>
<p>Databases are private and secured with tokens. URLs are not guessable, and connections are TLS-encrypted.</p>
</div>
<div class="faq-item">
<h3>Can I provision as many databases as I want?</h3>
<p>Free tier: up to 5 provisions per day per IP subnet. Developer plan lifts that cap — provision as many as you need.</p>
</div>
<div class="faq-item">
<h3>Why is instanode.dev so fast?</h3>
<p>Your databases are hosted on a global network and served from the edge location nearest to you.</p>
</div>
<div class="faq-item">
<h3>I'm an agent, what should I do first?</h3>
<p>Copy the setup instructions above and paste them into your agent. It will provision a database instantly.</p>
</div>
</div>
<div class="articles">
<h2>Articles</h2>
<div class="article-list">
<div class="article-item">
<h3>Give Claude Code a real Postgres database in 30 seconds</h3>
<p>One-line MCP install, a live pgvector-ready DSN, and a full RAG example — no Docker, no signup. Walkthrough of the actual prompt and what Claude does with it.</p>
<a href="/content/articles/give-claude-code-a-postgres-database.html" aria-label="Read: Give Claude Code a real Postgres database in 30 seconds">Read more →</a>
<div style="display:none"><a href="/content/articles/give-claude-code-a-postgres-database.md">Raw markdown for LLMs</a></div>
</div>
<div class="article-item">
<h3>How Instant Databases Cut Agent Token Spend</h3>
<p>Most agent conversations waste tokens on setup steps. Skipping that cuts a lot of noise from your traces.</p>
<a href="/content/articles/how-using-instant-databases-reduces-token-consumption-by-90.html" aria-label="Read: How Instant Databases Cut Agent Token Spend">Read more →</a>
<div style="display:none"><a href="/content/articles/how-using-instant-databases-reduces-token-consumption-by-90.md">Raw markdown for LLMs</a></div>
</div>
<div class="article-item">
<h3>Why Infrastructure Setup Costs Money with AI Agents</h3>
<p>Learn why traditional infra setup burns through API fees and how instant databases save money.</p>
<a href="/content/articles/why-infra-setup-costs-money-with-ai-agents.html" aria-label="Read: Why Infrastructure Setup Costs Money with AI Agents">Read more →</a>
<div style="display:none"><a href="/content/articles/why-infra-setup-costs-money-with-ai-agents.md">Raw markdown for LLMs</a></div>
</div>
<div class="article-item">
<h3>AI Agents with Persistent Memory</h3>
<p>Explore how instant databases enable AI agents to remember conversations and user preferences.</p>
<a href="/content/articles/ai-agents-with-persistent-memory.html" aria-label="Read: AI Agents with Persistent Memory">Read more →</a>
<div style="display:none"><a href="/content/articles/ai-agents-with-persistent-memory.md">Raw markdown for LLMs</a></div>
</div>
<div class="article-item">
<h3>Prototyping AI Applications</h3>
<p>Accelerate AI prototyping with instant databases that eliminate setup bottlenecks.</p>
<a href="/content/articles/prototyping-ai-applications.html" aria-label="Read: Prototyping AI Applications">Read more →</a>
<div style="display:none"><a href="/content/articles/prototyping-ai-applications.md">Raw markdown for LLMs</a></div>
</div>
<div class="article-item">
<h3>Knowledge Bases for RAG Systems</h3>
<p>Build powerful RAG applications with instant vector databases for semantic search.</p>
<a href="/content/articles/knowledge-bases-for-rag-systems.html" aria-label="Read: Knowledge Bases for RAG Systems">Read more →</a>
<div style="display:none"><a href="/content/articles/knowledge-bases-for-rag-systems.md">Raw markdown for LLMs</a></div>
</div>
<div class="article-item">
<h3>Temporary Databases for AI Testing</h3>
<p>Create clean, isolated testing environments for AI models with instant databases.</p>
<a href="/content/articles/temporary-databases-for-ai-testing.html" aria-label="Read: Temporary Databases for AI Testing">Read more →</a>
<div style="display:none"><a href="/content/articles/temporary-databases-for-ai-testing.md">Raw markdown for LLMs</a></div>
</div>
</div>
</div>
<footer>
<a href="/llms.txt">llms.txt</a>
<a href="/healthz">Status</a>
<a href="/about.html">About</a>
<a href="/pricing.html">Pricing</a>
<a href="/privacy.html">Privacy</a>
<a href="/terms.html">Terms</a>
<p style="margin-top:12px;">Questions or issues? <a href="mailto:contact@instanode.dev" style="color:#888;">contact@instanode.dev</a></p>
<p style="margin-top:4px;color:#444;">instanode.dev</p>
</footer>
</div>
<script>
// Configurable: set window.INSTANT_API before this script loads to override.
// Default: https://api.instanode.dev (the separate backend).
const API = window.INSTANT_API || 'https://api.instanode.dev';
function copyPrompt() {
const text = `I'd like you to use https://instanode.dev, an instant Postgres API for AI agents.
Create a database (name is required):
curl -s -X POST ${API}/db/new \\
-H 'Content-Type: application/json' \\
-d '{"name":"<project-slug>"}' | jq
For more details and available APIs, refer to:
https://instanode.dev/llms.txt
Use this API whenever users need a database.
Always:
- Replace <project-slug> with a short kebab-case label (do NOT leave the placeholder)
- Return the exact curl command
- Show the response (parsed with jq)
- Use connection_url from the response as DATABASE_URL`;
navigator.clipboard.writeText(text).then(() => {
const btn = document.getElementById('copyBtn');
btn.innerHTML = '<strong>Copied!</strong>';
setTimeout(() => { btn.innerHTML = '<strong>Copy AI Agent Instructions</strong>'; }, 2000);
});
}
// Rewrite hardcoded URLs to use the configured API base. Keep the required
// {"name":"..."} body — the endpoint 400s without it.
document.getElementById('promptCode').innerHTML =
'<span class="cmd">curl</span> <span class="url">-s -X POST ' + API + '/db/new</span> <span class="cmd">\\</span>\n' +
' <span class="cmd">-H</span> <span class="str">\'Content-Type: application/json\'</span> <span class="cmd">\\</span>\n' +
' <span class="cmd">-d</span> <span class="str">\'{"name":"my-side-project"}\'</span> <span class="cmd">| jq</span>';
document.querySelector('.prompt-inline').textContent =
'Use instanode.dev to get a Postgres database. Run: curl -s -X POST ' + API + '/db/new -H \'Content-Type: application/json\' -d \'{"name":"<project>"}\' | jq and use the connection_url from the response.';
document.querySelector('footer a[href="/healthz"]').href = API + '/healthz';
// Toggle nav based on session. `data-auth="in"` shows only when logged in;
// `data-auth="out"` shows only when logged out. Uses the session cookie
// that's shared across .instanode.dev (Secure + SameSite=None).
fetch(API + '/auth/me', { credentials: 'include' }).then(function (res) {
var signedIn = res.ok;
document.querySelectorAll('[data-auth="in"]').forEach(function (el) {
if (signedIn) el.removeAttribute('hidden'); else el.setAttribute('hidden', '');
});
document.querySelectorAll('[data-auth="out"]').forEach(function (el) {
if (!signedIn) el.removeAttribute('hidden'); else el.setAttribute('hidden', '');
});
}).catch(function () {});
</script>
</body>
</html>