Repository navigation
Expand file tree
/
Copy pathseries.js
More file actions
89 lines (85 loc) · 3.78 KB
/
Copy pathseries.js
File metadata and controls
89 lines (85 loc) · 3.78 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
// Curated post series. Each entry lists existing post slugs in reading order.
// Adding to a series does NOT change any post's URL or content — it's a
// rendering-only enrichment (banner on each post + a landing page at
// /blog/series/<slug>).
//
// To start a new series:
// 1. Append an entry below
// 2. Drop slugs into `posts` in the order you want them read
// 3. (Optional) add a cover image to public/img/series/<slug>/cover.png
export const SERIES = [
{
slug: '7-days-of-docker',
name: '7 Days of Docker',
tagline: 'A week-long journey from your first docker run to production-ready containers.',
description:
"Saloni Narang's seven-day deep dive through Docker, taking you from \"what actually happens when you type docker run\" all the way to shipping hardened containers with policy guardrails. Each day stands alone, but read together they're the practical Docker reference every cloud-native engineer wishes existed.",
author: 'saloni-narang',
color: '#2496ED',
cover: null,
posts: [
'day-1-what-actually-happens-when-you-type-docker-run',
'day-2-your-images-are-a-supply-chain-and-it-s-probably-broken',
'day-3-stop-writing-dockerfiles-from-scratch',
'day-4-breaking-isolation-on-purpose-volumes-networks-and-the-real-world',
'day-5-docker-compose-how-docker-actually-gets-used',
'day-6-run-an-llm-on-your-laptop-with-docker',
'day-7-ship-it-and-what-comes-next',
],
},
{
slug: '7-days-of-dgx-spark',
name: '7 Days of Local LLM',
plannedTotal: 7,
tagline: 'Running serious local LLMs hands-on on NVIDIA DGX Spark, from unboxing to 120B-parameter models.',
description:
'A seven-day series taking the NVIDIA DGX Spark from unboxing to production AI workloads. SSH, networking, model serving, fine-tuning, and the practical infrastructure decisions you face when you actually own one of these.',
author: 'saiyam-pathak',
color: '#76B900',
cover: null,
posts: [
'day-1-the-local-llm-revolution-why-your-desk-just-became-the-new-datacenter',
'day-2-anatomy-of-an-llm-inference-request-from-prompt-to-answer-step-by-step',
'day-3-the-dgx-spark-unpacked-gb10-unified-memory-sm-121-and-the-one-reason-this-hardware-exists',
'day-4-quantization-demystified-bf16-fp8-nvfp4-mxfp4-int4-gguf-and-why-it-all-matters',
'day-5-local-llm-inference-engines-wrappers-and-what-to-pick',
],
},
{
slug: 'agentgateway-on-kubernetes',
name: 'agentgateway on Kubernetes',
tagline: 'Put your AI agents behind a gateway: lock down their tools, then see what they cost.',
description:
"A two-part, hands-on series on running AI agents safely on Kubernetes with agentgateway. Part 1 puts a Google ADK agent behind the gateway so it holds no secrets and can only call the tools you allow. Part 2 adds Prometheus and Grafana for token-cost and per-tool observability.",
author: 'shubham-katara',
color: '#C15F3C',
cover: null,
posts: [
'controlling-mcp-tools-with-agentgateway-on-kubernetes',
'llm-costs-and-observability-with-agentgateway-on-kubernetes',
],
},
];
export function getAllSeries() {
return SERIES;
}
export function getSeries(slug) {
return SERIES.find((s) => s.slug === slug) || null;
}
// Returns { series, position, total, prev, next } if the slug is part of a series,
// or null. Position is 1-indexed.
export function getSeriesForPost(slug) {
for (const series of SERIES) {
const i = series.posts.indexOf(slug);
if (i === -1) continue;
const total = series.plannedTotal || series.posts.length;
return {
series,
position: i + 1,
total,
prev: i > 0 ? series.posts[i - 1] : null,
next: i < series.posts.length - 1 ? series.posts[i + 1] : null,
};
}
return null;
}