-
-
Notifications
You must be signed in to change notification settings - Fork 341
Expand file tree
/
Copy pathchangelog.html
More file actions
277 lines (244 loc) · 9.4 KB
/
changelog.html
File metadata and controls
277 lines (244 loc) · 9.4 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Codex Monitor - Changelog</title>
<meta
name="description"
content="Release notes for Codex Monitor. See what's new in every version."
/>
<meta property="og:title" content="Codex Monitor — Changelog" />
<meta
property="og:description"
content="Release notes for Codex Monitor. See what's new in every version."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dimillian.github.io/CodexMonitor/changelog.html" />
<meta property="og:image" content="https://www.codexmonitor.app/assets/main.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Codex Monitor — Changelog" />
<meta
name="twitter:description"
content="Release notes for Codex Monitor. See what's new in every version."
/>
<meta name="twitter:image" content="https://www.codexmonitor.app/assets/main.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="bg-orb orb-1"></div>
<div class="bg-orb orb-2"></div>
<div class="bg-orb orb-3"></div>
<header class="site-header">
<div class="container nav">
<div class="logo">
<img class="logo-mark" src="assets/app-icon.png" alt="Codex Monitor app icon" />
Codex Monitor
</div>
<nav class="nav-links">
<a href="index.html#features">Features</a>
<a href="index.html#screens">Screens</a>
<a href="index.html#workflow">Workflow</a>
<a href="changelog.html">Changelog</a>
<a href="index.html#cta">Get started</a>
</nav>
<div class="nav-actions">
<a class="btn ghost" href="https://github.com/Dimillian/CodexMonitor" target="_blank" rel="noreferrer">GitHub</a>
<a class="btn primary" href="https://github.com/Dimillian/CodexMonitor/releases" target="_blank" rel="noreferrer">Download</a>
</div>
</div>
</header>
<main>
<section class="hero changelog-hero">
<div class="container">
<div class="hero-copy">
<div class="eyebrow">Release notes</div>
<h1>Changelog</h1>
</div>
</div>
</section>
<section class="section section-tight">
<div class="container">
<div id="release-status" class="release-status">Loading releases...</div>
<div id="release-list" class="changelog-list" aria-live="polite"></div>
</div>
</section>
</main>
<footer class="site-footer">
<div class="container footer-grid">
<div>
<div class="logo">
<img class="logo-mark" src="assets/app-icon.png" alt="Codex Monitor app icon" />
Codex Monitor
</div>
<p>Desktop Codex agent orchestration, built by and for individuals who ship fast.</p>
</div>
<div class="footer-links">
<a href="index.html#features">Features</a>
<a href="index.html#screens">Screenshots</a>
<a href="index.html#workflow">Workflow</a>
<a href="changelog.html">Changelog</a>
<a href="https://github.com/Dimillian/CodexMonitor" target="_blank" rel="noreferrer">GitHub</a>
</div>
</div>
<div class="container footer-meta">
<span>© 2026 Codex Monitor. Made with ❤️ by Codex & <a href="https://x.com/dimillian" target="_blank" rel="noreferrer">Dimillian</a>.</span>
</div>
</footer>
<script>
const releaseStatus = document.getElementById("release-status");
const releaseList = document.getElementById("release-list");
const apiUrl = "https://api.github.com/repos/Dimillian/CodexMonitor/releases?per_page=50";
const formatDate = (dateString) => {
if (!dateString) return "Draft";
return new Date(dateString).toLocaleDateString("en-US", {
year: "numeric",
month: "short",
day: "numeric"
});
};
const parseInline = (text) => {
const fragment = document.createDocumentFragment();
let remaining = text;
while (remaining.length > 0) {
const linkMatch = remaining.match(/\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)/);
const codeMatch = remaining.match(/`([^`]+)`/);
const nextMatch = [linkMatch, codeMatch]
.filter(Boolean)
.sort((a, b) => a.index - b.index)[0];
if (!nextMatch) {
fragment.appendChild(document.createTextNode(remaining));
break;
}
if (nextMatch.index > 0) {
fragment.appendChild(document.createTextNode(remaining.slice(0, nextMatch.index)));
}
if (nextMatch === linkMatch) {
const link = document.createElement("a");
link.href = nextMatch[2];
link.target = "_blank";
link.rel = "noreferrer";
link.textContent = nextMatch[1];
fragment.appendChild(link);
remaining = remaining.slice(nextMatch.index + nextMatch[0].length);
} else {
const code = document.createElement("code");
code.textContent = nextMatch[1];
fragment.appendChild(code);
remaining = remaining.slice(nextMatch.index + nextMatch[0].length);
}
}
return fragment;
};
const renderReleaseBody = (container, body) => {
if (!body) {
const empty = document.createElement("p");
empty.className = "release-empty";
empty.textContent = "No release notes provided.";
container.appendChild(empty);
return;
}
const lines = body.split(/\r?\n/);
let list = null;
lines.forEach((line) => {
const trimmed = line.trim();
if (!trimmed) {
if (list) {
container.appendChild(list);
list = null;
}
return;
}
const headingMatch = trimmed.match(/^(#{2,3})\s+(.*)/);
if (headingMatch) {
if (list) {
container.appendChild(list);
list = null;
}
const heading = document.createElement("h4");
heading.textContent = headingMatch[2];
container.appendChild(heading);
return;
}
const listMatch = trimmed.match(/^[-*]\s+(.*)/);
if (listMatch) {
if (!list) {
list = document.createElement("ul");
list.className = "release-list";
}
const item = document.createElement("li");
item.appendChild(parseInline(listMatch[1]));
list.appendChild(item);
return;
}
if (list) {
container.appendChild(list);
list = null;
}
const paragraph = document.createElement("p");
paragraph.appendChild(parseInline(trimmed));
container.appendChild(paragraph);
});
if (list) {
container.appendChild(list);
}
};
const renderRelease = (release) => {
const card = document.createElement("article");
card.className = "glass release-card";
const header = document.createElement("div");
header.className = "release-header";
const title = document.createElement("h3");
title.className = "release-title";
title.textContent = release.name || release.tag_name;
const meta = document.createElement("div");
meta.className = "release-meta";
const tag = document.createElement("span");
tag.className = "release-tag";
tag.textContent = release.tag_name;
const date = document.createElement("span");
date.className = "release-date";
date.textContent = formatDate(release.published_at);
meta.appendChild(tag);
meta.appendChild(date);
header.appendChild(title);
header.appendChild(meta);
const body = document.createElement("div");
body.className = "release-body";
renderReleaseBody(body, release.body || "");
card.appendChild(header);
card.appendChild(body);
releaseList.appendChild(card);
};
const showError = (message) => {
releaseStatus.textContent = message;
releaseStatus.classList.add("release-error");
};
fetch(apiUrl)
.then((response) => {
if (!response.ok) {
throw new Error(`GitHub API error: ${response.status}`);
}
return response.json();
})
.then((releases) => {
const filtered = releases.filter((release) => !release.draft);
if (!filtered.length) {
showError("No releases found yet.");
return;
}
releaseStatus.remove();
filtered.forEach(renderRelease);
})
.catch(() => {
showError("Unable to load releases right now. Please check again soon.");
});
</script>
</body>
</html>