-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchangelog.html
More file actions
158 lines (145 loc) · 4.89 KB
/
Copy pathchangelog.html
File metadata and controls
158 lines (145 loc) · 4.89 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Changelog | tools.eliana.lol</title>
<link rel="stylesheet" href="global.css" />
<link rel="icon" type="image/x-icon" href="favicon.svg" />
<style>
.changelog-entry {
margin-bottom: 2rem;
border-left: 2px solid var(--puny);
padding-left: 1rem;
}
.changelog-entry h4 {
margin: 0 0 0.5rem 0;
font-size: 1rem;
color: var(--accent);
}
#git-log ul {
list-style: none;
padding: 0;
}
#git-log li {
margin-bottom: 1.5rem;
}
.commit-hash {
border: none !important;
font-weight: bold;
color: var(--accent);
}
</style>
</head>
<body>
<nav>
<div class="left">
<a href="index.html">home</a> | <a href="extra.html">extra</a> |
<a href="credits.html">credits</a> |
<a href="changelog.html">logs</a>
</div>
<div class="right">
<button id="theme-toggle">[theme]</button> |
<a href="https://eliana.lol">site</a>
</div>
</nav>
<main>
<h1>Changelog</h1>
<div class="changelog-marquee">
<strong>🌱 FUTURE IDEAS & BACKLOG</strong>
<ul
style="
margin-top: 0.5rem;
font-size: 0.85rem;
list-style: none;
padding: 0;
"
>
<li>- [ ] Add OPML export to Bulk Feed Finder</li>
<li>- [ ] Create a "JSON to Obsidian Table" converter</li>
<li>- [ ] Build a minimalist CSS-only guestbook</li>
<li>- [ ] Tool to strip tracking params from URLs</li>
</ul>
</div>
<p class="puny">Manual history of major updates.</p>
<div class="changelog-entry">
<h4>2026-04-02</h4>
<p>
Switched to hardcoded navigation to eliminate fetch delays. Unified
global.css for a character-rich monospace look. Refactored HTML Viewer
and Bulk Feed Finder.
</p>
</div>
<div class="changelog-entry">
<h4>2026-03-28</h4>
<p>Initial launch of tools.eliana.lol. Monospace experiment begins.</p>
</div>
<div id="git-log" style="margin-top: 4rem">
<span class="section-title">Latest Git Pushes</span>
<p class="puny">Fetching commits...</p>
</div>
</main>
<footer style="margin-top: 4rem; text-align: center" class="puny">
© 2026 eliana.lol • <a href="credits.html">credits</a>
</footer>
<script>
// 1. Theme Logic
const html = document.documentElement;
const toggle = document.getElementById('theme-toggle');
const saved =
localStorage.getItem('theme') ||
(window.matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light');
html.setAttribute('data-theme', saved);
if (toggle) toggle.innerText = saved === 'dark' ? '[light]' : '[dark]';
if (toggle) {
toggle.onclick = () => {
const now = html.getAttribute('data-theme');
const next = now === 'dark' ? 'light' : 'dark';
html.setAttribute('data-theme', next);
localStorage.setItem('theme', next);
toggle.innerText = next === 'dark' ? '[light]' : '[dark]';
};
}
// 2. Git Log Logic (Updated to jubilancy/tools)
async function fetchGitLog() {
const repo = 'jubilancy/tools';
const container = document.getElementById('git-log');
try {
const response = await fetch(
`https://api.github.com/repos/${repo}/commits?per_page=5`
);
const commits = await response.json();
container.innerHTML =
'<span class="section-title">Latest Git Pushes</span>';
const list = document.createElement('ul');
list.style.marginTop = '1rem';
commits.forEach((commit) => {
const date = new Date(commit.commit.author.date).toLocaleString(
'en-US',
{
month: 'short',
day: 'numeric',
hour: '2-digit',
minute: '2-digit',
}
);
const hash = commit.sha.substring(0, 7);
const message = commit.commit.message.split('\n')[0];
const li = document.createElement('li');
li.innerHTML = `
<div class="puny">${date} | <a href="${commit.html_url}" class="commit-hash">#${hash}</a></div>
<div style="margin-top:2px;">- ${message}</div>
`;
list.appendChild(li);
});
container.appendChild(list);
} catch (err) {
container.innerHTML = '<p class="puny">Could not load git log.</p>';
}
}
fetchGitLog();
</script>
</body>
</html>