Compare commits

...
14 Commits
Author SHA1 Message Date
miles 33bedb6dfb small change 2026-12-02 08:54:59 -06:00
miles bdfce14635 updated robots.txt 2026-12-02 08:49:47 -06:00
miles cedc3e8e9c update Spy x Family review to include thoughts on recent season and romance elements 2026-11-28 23:31:59 -06:00
miles 16b526f80e update top shows page to include Spy x Family and adjust rankings 2026-11-28 23:31:03 -06:00
miles 4175ad5be6 fixed the server 2026-11-25 00:32:16 -06:00
miles 559d3ef89c update dashboard and navigation links for home lab maintenance 2026-11-24 23:57:50 -06:00
miles 21ff87a966 yesy 2026-11-24 20:36:45 -06:00
miles 535558ebc7 updae 2026-11-21 21:28:34 -06:00
miles d10ee371b6 added fastfech 2026-11-21 21:20:23 -06:00
miles 2528ced8e7 update 2026-11-21 20:06:13 -06:00
miles 980f95b6b9 added stuff 2026-11-20 21:57:23 -06:00
miles bbad86e74d updateto clophon.html 2026-11-11 08:41:45 -06:00
miles 032bbc7638 small update 2026-11-10 19:22:02 -06:00
miles 8e2f033090 updayt 2026-11-09 22:23:35 -06:00
24 changed files with 715 additions and 47 deletions

No files matched your search

Vendored
BIN
View File
Binary file not shown.
+13 -1
View File
@@ -184,7 +184,11 @@
body.paper footer{font-family:var(--font-body)!important;font-size:12px!important;color:var(--muted)!important;text-transform:none!important;letter-spacing:0!important;position:static!important;}
body.paper footer .footer-links a{color:var(--muted)!important;font-size:12px!important;}
body.paper footer .footer-links a:hover{color:var(--accent)!important;}
</style>
.damm-easter-egg{position:fixed;left:50%;top:50%;width:min(380px,55vw);height:auto;transform:translate(-50%,-50%) scale(.7) rotate(-4deg);z-index:9999;pointer-events:none;opacity:0;filter:drop-shadow(8px 12px 0 rgba(255,61,154,.65));}
.damm-easter-egg.show{animation:damm-pop 3.5s ease-in-out forwards;}
@keyframes damm-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.7) rotate(-4deg)}12%,78%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(4deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.15) rotate(-8deg)}}
</style>
<script type="application/ld+json">
{
"@context": "https://schema.org",
@@ -212,7 +216,15 @@
<a href="javascript:history.back()" class="btn btn-back">Go Back</a>
</div>
<img class="damm-easter-egg" id="dammEasterEgg" src="photos/damm.png" alt="" aria-hidden="true">
<script src="projects/script.js"></script>
<script>
if (Math.floor(Math.random() * 50) === 0) {
window.addEventListener('load', () => {
document.getElementById('dammEasterEgg').classList.add('show');
});
}
</script>
<footer style="text-align:center;padding:40px 24px;font-family:var(--font-mono);font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;position:relative;z-index:20;">
<div class="footer-links" style="margin-bottom: 12px;">
<a href="uses.html" style="color:var(--muted);text-decoration:none;">Uses</a>
+6 -2
View File
@@ -28,12 +28,12 @@ can remain on its current host.
| Area | What it does |
| --- | --- |
| Infrastructure | ICMP ping checks for `10.0.0.87` and `10.0.0.119`, HTTP health checks for five sites, uptime history, and honest network context |
| Infrastructure | ICMP ping checks for Main Server (`192.168.50.102`) and Debian Server (`192.168.50.103`), HTTP health checks for five sites, uptime history, and honest network context |
| GitHub | Official REST API data for `mileswolfallen2` with server-side caching, ETags, rate-limit handling, and no token exposure |
| FEDL | Real data from `https://server.fedl.site/fedl/api/list` and `/runs`, with snapshot diffs for additions, removals, and rank changes |
| Analytics | Cookieless, IP-hash-only pageviews with bot filtering, deduplication, path normalization, and 30-day retention |
| Moon Vault | Argon2id passphrase verification, signed HttpOnly sessions, login rate limiting, logout, and server-gated content |
| Dashboard | `/dashboard.html` renders every panel from the local API and labels unavailable data instead of inventing values |
| Dashboard | `/dashboard.html` renders every panel from the local API, shows an outage page when a monitored server or the status API is offline, and supports a `#offline` preview |
## Requirements
@@ -76,6 +76,8 @@ npm run dev
Open <http://127.0.0.1:8787>. The dashboard is at
<http://127.0.0.1:8787/dashboard.html> and the vault lock page is at
<http://127.0.0.1:8787/moon-vault.html>.
Preview the dashboard outage page at
<http://127.0.0.1:8787/dashboard.html#offline>.
For local development, use these overrides in `.env` so cookies work over
plain HTTP:
@@ -253,12 +255,14 @@ server/
tests/ node:test suite and isolated fixtures
docs/API.md API reference
docs/DEPLOYMENT.md Debian deployment and operations guide
docs/SETTINGS.md Complete settings reference
```
## Documentation
- [API reference](docs/API.md)
- [Deployment guide for Debian 13](docs/DEPLOYMENT.md)
- [Settings reference](docs/SETTINGS.md) — every setting, who edits it, and how to apply it
## Contacts
+1
View File
@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Avengers: Doomsday Watchlist</title>
<style>
:root {
--bg-color: #0d0f12;
--card-bg: #15171c;
+2 -1
View File
@@ -91,7 +91,8 @@
<li><strong>GSAP</strong> — For scroll-triggered animations, parallax effects, and entrance sequences. I use ScrollTrigger for most of the scroll-based animations.</li>
<li><strong>GitHub API</strong> — Live fetching of repository stats (stars, forks, language) on project pages.</li>
<li><strong>FEDL API</strong> — Live stats from the FEDL server on the FEDL project page.</li>
<li><strong>Netlify</strong> — Hosting and deployment. Push to main, it goes live. Simple.</li>
<li><strong>self-hosted</strong> — Hosting and deployment. The site is hosted on my own server, ensuring full control and ownership.</li>
<li><strong>Cloudflare</strong> — CDN, caching, and security. Cloudflare provides DDoS protection, SSL, and global caching for fast load times.</li>
</ul>
<h2>Fonts</h2>
+124
View File
@@ -326,6 +326,130 @@ button { font: inherit; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.offline-page {
min-height: 100vh;
display: grid;
place-items: center;
padding: clamp(20px, 5vw, 64px);
background:
radial-gradient(ellipse at 50% 40%, rgba(255,77,109,.11), transparent 38%),
linear-gradient(145deg, rgba(255,255,255,.015), transparent 55%);
}
.offline-page[hidden] { display: none; }
.offline-shell { width: min(840px, 100%); }
.offline-topline, .offline-bottomline {
display: flex;
justify-content: space-between;
align-items: center;
gap: 18px;
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: .1em;
text-transform: uppercase;
}
.offline-topline { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.offline-code { color: var(--red); }
.offline-content { max-width: 660px; margin: 0 auto; padding: clamp(44px, 8vw, 86px) 0 64px; }
.offline-art {
width: 76px;
height: 76px;
position: relative;
display: grid;
place-items: center;
margin-bottom: 34px;
}
.offline-art-orbit {
position: absolute;
inset: 3px;
border: 1px solid rgba(255,77,109,.42);
border-radius: 50%;
box-shadow: 0 0 34px rgba(255,77,109,.13), inset 0 0 28px rgba(255,77,109,.08);
}
.offline-art-core {
display: grid;
place-items: center;
width: 38px;
height: 38px;
border: 1px solid rgba(255,77,109,.65);
border-radius: 50%;
color: var(--red);
font: 700 22px var(--font-mono);
background: #100b10;
}
.offline-art-signal {
position: absolute;
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--red);
box-shadow: 0 0 10px var(--red);
}
.signal-one { top: 5px; left: 36px; }
.signal-two { right: 7px; bottom: 20px; opacity: .6; }
.signal-three { left: 8px; bottom: 18px; opacity: .35; }
.offline-content .eyebrow { color: var(--red); }
.offline-content h1 {
font-family: var(--font-pixel);
font-size: clamp(25px, 5vw, 48px);
line-height: 1.45;
letter-spacing: -.04em;
}
.offline-content h1 span { color: var(--red); text-shadow: 3px 3px 0 rgba(255,77,109,.16); }
.offline-message { max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.8; margin-top: 18px; }
.offline-status-card {
display: flex;
align-items: flex-start;
gap: 15px;
margin-top: 32px;
padding: 18px 20px;
border: 1px solid rgba(255,77,109,.2);
background: linear-gradient(110deg, rgba(255,77,109,.075), rgba(12,12,19,.78) 65%);
}
.offline-status-card .status-dot { margin-top: 5px; }
.offline-status-card strong { display: block; font-size: 12px; }
.offline-status-card p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.offline-status-code {
margin-left: auto;
color: var(--dim);
font: 9px/1.6 var(--font-mono);
letter-spacing: .08em;
text-align: right;
white-space: nowrap;
}
.offline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.offline-button {
display: inline-flex;
min-height: 44px;
align-items: center;
justify-content: center;
padding: 0 18px;
border: 1px solid var(--line-strong);
color: var(--text);
font: 10px var(--font-mono);
letter-spacing: .08em;
text-decoration: none;
text-transform: uppercase;
transition: background .2s, border-color .2s, transform .2s;
}
.offline-button:hover { border-color: var(--red); transform: translateY(-2px); }
.offline-button.primary { border-color: var(--red); background: var(--red); color: #09070a; font-weight: 700; }
.offline-button.primary:hover { background: #ff7188; }
.offline-foot { margin-top: 20px; color: var(--dim); font: 9px/1.8 var(--font-mono); }
.offline-foot code { color: var(--muted); }
.offline-bottomline { padding-top: 16px; border-top: 1px solid var(--line); color: var(--dim); }
.offline-ellipsis { display: inline-block; width: 14px; overflow: hidden; vertical-align: bottom; animation: offline-dots 1.3s steps(4, end) infinite; }
@keyframes offline-dots { to { width: 0; } }
body.offline-mode { overflow-x: hidden; }
body.offline-mode .topbar { display: none; }
body.offline-mode .offline-page { position: relative; z-index: 1; }
@media (max-width: 600px) {
.offline-page { padding: 24px; }
.offline-content { padding: 48px 0; }
.offline-content h1 { font-size: clamp(23px, 8vw, 38px); }
.offline-status-code { display: none; }
.offline-bottomline { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
* { animation: none !important; transition: none !important; }
html { scroll-behavior: auto; }
+48 -3
View File
@@ -24,11 +24,12 @@
<a href="index.html">Home</a>
<a href="index.html#projects">Projects</a>
<a href="https://github.com/mileswolfallen2" target="_blank" rel="noopener">GitHub</a>
<a href="#offline">Offline preview</a>
<button type="button" class="refresh-btn" id="refreshBtn" title="Refresh data">Refresh</button>
</nav>
</header>
<main class="wrap">
<main class="wrap" id="dashboardMain">
<section class="hero">
<div class="hero-copy">
<div class="eyebrow">// live telemetry</div>
@@ -213,7 +214,6 @@
<div class="skeleton-row"></div>
<div class="skeleton-row"></div>
</div>
<p class="panel-foot">Add, remove, reorder, or hide projects in <code>server/config/projects.json</code>. The registry is seeded into SQLite on startup.</p>
</section>
</div>
@@ -228,6 +228,51 @@
</footer>
</main>
<script src="dashboard.js?v=2" defer></script>
<main class="offline-page" id="offlinePage" hidden>
<div class="offline-shell">
<div class="offline-topline">
<a class="brand" href="index.html">
<span class="brand-mark" aria-hidden="true"></span>
<span class="brand-text">milesallen<span class="brand-dim">.site</span></span>
</a>
<span class="offline-code" id="offlineState">SERVER OFFLINE</span>
</div>
<section class="offline-content" aria-labelledby="offlineTitle" role="status" aria-live="polite">
<div class="offline-art" aria-hidden="true">
<span class="offline-art-orbit"></span>
<span class="offline-art-core">!</span>
<span class="offline-art-signal signal-one"></span>
<span class="offline-art-signal signal-two"></span>
<span class="offline-art-signal signal-three"></span>
</div>
<p class="eyebrow">connection interrupted / 503</p>
<h1 id="offlineTitle">The server is<br><span>taking a breather.</span></h1>
<p class="offline-message" id="offlineMessage">The status service can't be reached right now. It may be restarting or temporarily offline.</p>
<div class="offline-status-card">
<span class="status-dot bad" aria-hidden="true"></span>
<div>
<strong id="offlineStatusTitle">We’ll be back shortly</strong>
<p id="offlineStatusDetails">This page will check again automatically. Your visit and saved data are not affected.</p>
</div>
<span class="offline-status-code">SYSTEM<br>PAUSED</span>
</div>
<div class="offline-actions">
<button class="offline-button primary" id="offlineRetry" type="button">Try again</button>
<a class="offline-button" href="index.html">Back to home</a>
</div>
<p class="offline-foot">You can return to this preview any time with <code>#offline</code>.</p>
</section>
<div class="offline-bottomline">
<span>milesallen.site · system status</span>
<span>checking for a signal<span class="offline-ellipsis">...</span></span>
</div>
</div>
</main>
<script src="dashboard.js" defer></script>
</body>
</html>
+59 -3
View File
@@ -12,9 +12,37 @@
var countdown = REFRESH_SECONDS;
var refreshing = false;
var hasLoaded = false;
var manualOfflinePreview = window.location.hash.toLowerCase() === '#offline';
var offlineReason = '';
var offlineMessage = '';
var $ = function (id) { return document.getElementById(id); };
function syncOfflinePage() {
var offline = manualOfflinePreview || Boolean(offlineReason);
document.body.classList.toggle('offline-mode', offline);
$('dashboardMain').hidden = offline;
$('offlinePage').hidden = !offline;
var state = manualOfflinePreview
? 'PREVIEW MODE'
: offlineReason === 'server' ? 'SERVER OFFLINE' : 'API UNREACHABLE';
$('offlineState').textContent = state;
$('offlineMessage').textContent = manualOfflinePreview
? 'Preview mode is active. The server may be online; this page is here so you can check the outage design.'
: offlineMessage;
$('offlineStatusTitle').textContent = manualOfflinePreview ? 'Preview mode only' : 'We’ll be back shortly';
$('offlineStatusDetails').textContent = manualOfflinePreview
? 'This view is forced by #offline and will not change until you try again.'
: 'This page will check again automatically. Your visit and saved data are not affected.';
}
function setOfflineState(reason, message) {
offlineReason = reason;
offlineMessage = message;
syncOfflinePage();
}
function el(tag, className, text) {
var node = document.createElement(tag);
if (className) node.className = className;
@@ -248,6 +276,13 @@
var status = await get('/status');
var servers = status.servers || [];
var services = status.services || [];
var offlineServers = servers.filter(function (server) { return server.status === 'offline'; });
if (offlineServers.length) {
var names = offlineServers.map(function (server) { return server.name; }).join(', ');
setOfflineState('server', names + (offlineServers.length === 1 ? ' is' : ' are') + ' not responding to recent health checks.');
} else {
setOfflineState('', '');
}
var overall = status.overall || {};
var tone = toneFor(overall.status === 'operational' ? 'operational' : overall.status);
var pill = $('overallPill');
@@ -282,6 +317,7 @@
notice.hidden = true;
}
} catch (err) {
setOfflineState('api', 'The dashboard status service could not be reached. It may be restarting or temporarily offline.');
renderRowsError($('serverRows'), 'Status API unavailable: ' + err.message);
renderRowsError($('serviceRows'), 'Status API unavailable: ' + err.message);
$('overallPill').className = 'overall-pill bad';
@@ -562,9 +598,28 @@
}
$('refreshBtn').addEventListener('click', loadAll);
$('offlineRetry').addEventListener('click', function () {
manualOfflinePreview = false;
if (window.location.hash) {
window.history.replaceState(null, '', window.location.pathname + window.location.search);
}
countdown = REFRESH_SECONDS;
syncOfflinePage();
loadAll();
});
window.addEventListener('hashchange', function () {
var wasOfflinePreview = manualOfflinePreview;
manualOfflinePreview = window.location.hash.toLowerCase() === '#offline';
syncOfflinePage();
if (wasOfflinePreview && !manualOfflinePreview) {
countdown = REFRESH_SECONDS;
loadAll();
}
});
setInterval(function () {
if (document.hidden) return;
if (document.hidden || manualOfflinePreview) return;
countdown -= 1;
if (countdown <= 0) {
countdown = REFRESH_SECONDS;
@@ -577,9 +632,10 @@
document.addEventListener('visibilitychange', function () {
if (!document.hidden) {
countdown = REFRESH_SECONDS;
if (!hasLoaded) loadAll();
if (!hasLoaded && !manualOfflinePreview) loadAll();
}
});
loadAll();
syncOfflinePage();
if (!manualOfflinePreview) loadAll();
})();
+1 -1
View File
@@ -147,7 +147,7 @@ Combined snapshot used by the dashboard.
},
"network": {
"onHomeNetwork": true,
"monitoredSubnet": "10.0.0.0/24"
"monitoredSubnet": "192.168.50.0/24"
},
"servers": [
{
+6 -4
View File
@@ -48,7 +48,8 @@ Check `ping` exists:
```bash
command -v ping
ping -c 1 10.0.0.87
ping -c 1 192.168.50.102
ping -c 1 192.168.50.103
```
### Node.js 20 or newer
@@ -382,7 +383,7 @@ lines before the catch-all and route DNS for them:
Do not expose port 8787 in the firewall. In the split-origin layout, the main
static host must publish the updated `site-config.js`, `dashboard.js`,
`dashboard.html`, `analytics.js`, and `moon-vault.html` from this repository.
`dashboard.html`, `dashboard.css`, `analytics.js`, and `moon-vault.html` from this repository.
## 9. Persistence, backups, and restore
@@ -528,7 +529,8 @@ The monitor could not run `ping`. Check:
```bash
command -v ping
ping -c 1 10.0.0.87
ping -c 1 192.168.50.102
ping -c 1 192.168.50.103
getcap "$(command -v ping)" 2>/dev/null || true
sysctl net.ipv4.ping_group_range
```
@@ -547,7 +549,7 @@ Never make the Node process run as root just to ping two hosts.
### Servers show `unknown` with `not_on_home_network`
The host's local addresses do not match `HOME_SUBNET`. Set it to the real
subnet (for example `HOME_SUBNET=10.0.0.0/24`) and restart. This is intentional:
subnet (for example `HOME_SUBNET=192.168.50.0/24`) and restart. This is intentional:
a failed ping from a remote network is not reported as a home-server outage.
### Website checks all fail
+324
View File
@@ -0,0 +1,324 @@
# Settings reference
Every setting in this repository, where it lives, who edits it, what it changes,
and what you must do for it to take effect.
There are four independent layers. They do not read each other:
| Layer | Lives in | Edited by | Applies to |
| --- | --- | --- | --- |
| Process environment | `/opt/websites/miles-web/.env` + systemd `EnvironmentFile` | you, on the server | Node backend |
| Registries | `server/config/projects.json`, `services.json`, `servers.json` | you, in the repo | Node backend (seeded into SQLite on startup) |
| Browser config | `site-config.js`, HTML `<meta>` tags, `dashboard.js` | you, in the repo | Static site in the visitor's browser |
| Hosting | systemd unit, Cloudflare Tunnel, DNS, cache rules | you, as root / in Cloudflare | how traffic reaches Node |
## Precedence and how to apply changes
1. Environment variables override registry values (for example
`SERVER_1_NAME` beats `server/config/servers.json`).
2. Under systemd, `EnvironmentFile=` exports `.env` into `process.env` first.
The app's `loadEnv()` then fills only keys that are **not already set**.
3. Never put the same key twice in `.env`. When run under systemd the **last**
duplicate wins; when run directly with `npm start` the **first** duplicate
wins. Both are confusing, so keep exactly one line per key.
4. `.env` changes: `sudo systemctl restart miles-dashboard`.
5. JSON registry changes: restart (startup runs `seedConfig`, which upserts the
rows). `sudo -u miles npm run db:migrate` also seeds without starting the
server.
6. Frontend changes: deploy, then purge Cloudflare and hard-refresh. No restart.
7. systemd unit changes: `sudo systemctl daemon-reload && sudo systemctl restart miles-dashboard`.
8. Cloudflare Tunnel changes: `sudo systemctl restart cloudflared`.
`.env` must be owned by `miles`, mode `600`, and is never committed.
---
## 1. Runtime
| Setting | Default | Range / format | What it does | Change |
| --- | --- | --- | --- | --- |
| `NODE_ENV` | `development` | `development`, `production` | Enables production checks, Secure cookies, HSTS, and requires `SESSION_SECRET` | `.env`, restart |
| `HOST` | `127.0.0.1` | bind address | Interface the HTTP server listens on. Keep loopback behind a proxy | `.env`, restart |
| `PORT` | `8787` | 1–65535 | Local HTTP port | `.env`, restart |
| `PUBLIC_ORIGIN` | code: `https://milesallen.site` in production, `http://localhost:<PORT>` otherwise | absolute URL | Canonical origin, added to CORS automatically | `.env`, restart |
| `ALLOWED_ORIGINS` | code: `PUBLIC_ORIGIN` + `https://milesallen.site`, `https://www.milesallen.site`, `https://api.milesallen.site` (+ localhost in development) | comma-separated origins | Cross-origin allowlist for `/api/*`. Anything else gets `403` | `.env`, restart |
| `TRUST_PROXY` | `false` | boolean | Trust `CF-Connecting-IP` / `X-Forwarded-For` for client IPs and rate limits. Enable only behind Cloudflare/Caddy | `.env`, restart |
| `SITE_ROOT` | process working directory | absolute path | Root of the static site served by Node | `.env`, restart |
| `DB_PATH` | `./data/dashboard.db` | absolute path | SQLite file. Production uses `/var/lib/miles-dashboard/dashboard.db` | `.env`, restart |
Booleans accept `1`, `true`, `yes`, `on` (case-insensitive); everything else is false.
---
## 2. Sessions and Moon Vault
| Setting | Default | Range / format | What it does | Change |
| --- | --- | --- | --- | --- |
| `SESSION_SECRET` | none; random at startup in development | 32+ characters in production | Signs vault session cookies and salts analytics IP hashes. Rotating it logs everyone out and resets analytics identity | `.env`, restart |
| `VAULT_PASSWORD_HASH` | none | Argon2id hash starting `$argon2id$` | Passphrase check. If absent and `VAULT_PASSWORD` absent, the vault is disabled | `.env`, restart |
| `VAULT_PASSWORD` | none | plaintext | Development convenience. Hashed at startup with a warning. Do not use in production | `.env`, restart |
| `VAULT_SESSION_HOURS` | `12` | 1–720 | Session lifetime | `.env`, restart |
| `VAULT_MAX_ATTEMPTS` | `5` | 1–100 | Failed logins per IP hash before lockout | `.env`, restart |
| `VAULT_ATTEMPT_WINDOW_MINUTES` | `15` | 1–1440 | Lockout counting window | `.env`, restart |
| `VAULT_COOKIE_NAME` | `miles_vault` | cookie name | Session cookie name | `.env`, restart |
| `COOKIE_SECURE` | `true` in production, `false` otherwise | boolean | `Secure` flag. Must be true on HTTPS | `.env`, restart |
Not configurable (code): cookie is `HttpOnly`, `SameSite=Strict`, scoped to `/`.
Generate a hash with `npm run hash-password`; generate the secret with
`openssl rand -hex 32`.
---
## 3. GitHub
| Setting | Default | Range / format | What it does | Change |
| --- | --- | --- | --- | --- |
| `GITHUB_USERNAME` | `mileswolfallen2` | GitHub login | Account fetched by the dashboard | `.env`, restart |
| `GITHUB_TOKEN` | empty | classic token | Server-only API token; never sent to the browser | `.env`, restart |
| `GITHUB_ENRICH` | `false` | boolean | Fetch extra per-repo detail (slower, more API calls) | `.env`, restart |
| `GITHUB_REFRESH_MS` | `1800000` (30 min) | 60000–86400000 | Background refresh interval | `.env`, restart |
| `GITHUB_TIMEOUT_MS` | `10000` | 1000–60000 | Upstream request timeout | `.env`, restart |
| `GITHUB_API_BASE` | `https://api.github.com` | URL | API base (for GitHub Enterprise or tests) | `.env`, restart |
---
## 4. FEDL
| Setting | Default | Range / format | What it does | Change |
| --- | --- | --- | --- | --- |
| `FEDL_API_BASE` | `api.base` of the `fedl` project in `projects.json`, else `https://server.fedl.site/fedl/api` | URL | FEDL API base | `.env`, restart |
| `FEDL_SITE_URL` | `https://fedl.site` | URL | Link target shown in the UI | `.env`, restart |
| `FEDL_REFRESH_MS` | `900000` (15 min) | 60000–86400000 | Background refresh interval | `.env`, restart |
| `FEDL_TIMEOUT_MS` | `15000` | 1000–60000 | Upstream request timeout | `.env`, restart |
---
## 5. Monitoring
| Setting | Default | Range / format | What it does | Change |
| --- | --- | --- | --- | --- |
| `HOME_SUBNET` | empty | CIDR, e.g. `192.168.50.0/24` | Subnet used to decide "on home network". When off-network, failed pings report `unknown` instead of `offline` | `.env`, restart |
| `SERVER_CHECK_INTERVAL_MS` | `60000` | 10000–86400000 | Ping loop interval | `.env`, restart |
| `SERVICE_CHECK_INTERVAL_MS` | `120000` | 15000–86400000 | Website check loop interval | `.env`, restart |
| `PING_TIMEOUT_MS` | `2000` | 200–30000 | Ping timeout | `.env`, restart |
| `HTTP_CHECK_TIMEOUT_MS` | `5000` | 500–30000 | Website check timeout | `.env`, restart |
| `MONITOR_RETENTION_DAYS` | `90` | 7–3650 | How long server/service check history is kept | `.env`, restart |
### Server entries (`server/config/servers.json` + env overrides)
Each entry:
| Field | Required | What it does |
| --- | --- | --- |
| `id` | yes | Stable slug (`^[a-z0-9][a-z0-9-]*$`). Changing it orphans history |
| `name` | no | Display name, defaults to `id` |
| `ip` | yes | IP or hostname to ping (not exposed by the API) |
| `order` | no | Sort order (defaults to array index) |
| `enabled` | no | `false` disables checks (defaults to true) |
Environment overrides use the **1-based position in the file**:
```dotenv
SERVER_1_NAME=Main Server
SERVER_1_IP=192.168.50.102
SERVER_1_ENABLED=true
SERVER_2_NAME=Debian Server
SERVER_2_IP=192.168.50.103
SERVER_2_ENABLED=true
```
`SERVER_n_*` wins over the JSON value. Restart to apply; the seed upserts names
and IPs into SQLite.
### Service entries (`server/config/services.json` + env overrides)
| Field | Required | What it does |
| --- | --- | --- |
| `id` | yes | Stable slug. Also used to derive env override names |
| `name` | no | Display name |
| `url` | yes | HTTP(S) URL checked by the monitor |
| `order` | no | Sort order |
| `enabled` | no | `false` disables checks |
Override names are `SERVICE_<ID>_URL` and `SERVICE_<ID>_ENABLED`, where `<ID>`
is uppercased with every non-alphanumeric character replaced by `_`:
```dotenv
SERVICE_FEDL_URL=https://fedl.site/
SERVICE_FEDL_ENABLED=true
```
---
## 6. Analytics
| Setting | Default | Range / format | What it does | Change |
| --- | --- | --- | --- | --- |
| `ANALYTICS_RETENTION_DAYS` | `30` | 1–365 | Pageview retention | `.env`, restart |
| `ANALYTICS_DEDUPE_SECONDS` | `10` | 0–3600 | Ignore repeat hits from the same IP hash on the same path within this window | `.env`, restart |
Not configurable (code): no cookies, no storage IDs, query strings/fragments are
stripped, referrer is reduced to a domain, bots are filtered, the IP is hashed
with a daily rotating secret. The skip list (`/dashboard`, `/vault`,
`/moon-vault`, `/games/*`, `/api`, `/404`) lives in `analytics.js`.
---
## 7. Limits, timeouts, logging
| Setting | Default | Range / format | What it does | Change |
| --- | --- | --- | --- | --- |
| `API_RATE_LIMIT` | `300` | 10–100000 | Requests per IP per **60 s** for `/api/*` | `.env`, restart |
| `ANALYTICS_RATE_LIMIT` | `120` | 5–100000 | Hits per IP per **60 s** on `/api/analytics/hit` | `.env`, restart |
| `LOGIN_RATE_LIMIT` | `15` | 1–1000 | Login attempts per IP per **15 min** | `.env`, restart |
| `REQUEST_TIMEOUT_MS` | `30000` | 1000–300000 | HTTP request timeout | `.env`, restart |
| `BODY_LIMIT_BYTES` | `16384` | 512–1048576 | Maximum JSON request body | `.env`, restart |
| `LOG_LEVEL` | `info` | `debug`, `info`, `warn`, `error` | Log verbosity | `.env`, restart |
Not configurable (code): rate-limit windows are fixed at 60 s (API, analytics)
and 15 min (login); retention cleanup runs every 6 hours; keep-alive is 65 s.
---
## 8. Registry path overrides
| Setting | Default | What it does | Change |
| --- | --- | --- | --- |
| `PROJECTS_CONFIG_PATH` | `server/config/projects.json` | Alternate projects registry | `.env`, restart |
| `SERVICES_CONFIG_PATH` | `server/config/services.json` | Alternate services registry | `.env`, restart |
| `SERVERS_CONFIG_PATH` | `server/config/servers.json` | Alternate servers registry | `.env`, restart |
Relative paths resolve against the process working directory.
### Project entries (`server/config/projects.json`)
| Field | Required | What it does |
| --- | --- | --- |
| `id` | yes | Stable slug |
| `name` | no | Display name (defaults to `id`) |
| `description` | no | Card text |
| `github` | no | `{ "owner": "...", "repo": "..." }`; enables GitHub enrichment |
| `website` | no | Public link |
| `api` | no | `{ "type": "fedl", "base": "https://..." }`; drives FEDL integration |
| `order` | no | Sort order |
| `visible` | no | `false` hides it from `/api/projects` |
| `featured` | no | `true` marks it featured |
Projects are upserted into SQLite on startup; the JSON file is the source of truth.
---
## 9. Browser-side settings
These run on the visitor's machine and are independent of `.env`.
| Setting | File | Default | What it does | Apply |
| --- | --- | --- | --- | --- |
| `window.MILES_API_BASE` | set before `site-config.js` loads | empty | Explicit API origin, e.g. `https://api.milesallen.site` | Deploy + purge |
| `<meta name="miles-api-base" content="...">` | HTML `<head>` | none | Same as above, via markup | Deploy + purge |
| `hostname` mapping | `site-config.js` | `milesallen.site` / `www.milesallen.site` → `https://api.milesallen.site` | Production API detection. Any other host (including `api.milesallen.site`) stays same-origin | Deploy + purge |
| `window.MILES_API_URL` | derived by `site-config.js` | `<base>/api` or `/api` | API base used by dashboard, vault, analytics | Deploy + purge |
| `window.MILES_VAULT_URL` | derived by `site-config.js` | `<base>/vault` or `/vault` | Where the lock page redirects after login | Deploy + purge |
| `data-api` attribute | `<html data-api="...">` | none | Highest-priority dashboard API override | Deploy + purge |
| `<meta name="miles-analytics-endpoint" content="...">` | HTML `<head>` | derived | Forces the analytics endpoint. Required on any domain other than `milesallen.site` | Deploy + purge |
| Analytics skip list | `analytics.js` | see §6 | Paths that are never tracked | Code edit + deploy |
| Dashboard refresh | `dashboard.js` (`REFRESH_SECONDS`) | `60` | Auto-refresh interval in seconds | Code edit + deploy |
| Analytics loader | `projects/script.js` | `/analytics.js` | Injects the beacon on every page | Code edit + deploy |
The static host must publish `site-config.js`, `dashboard.html`, `dashboard.css`,
`dashboard.js`, `analytics.js`, and `moon-vault.html` whenever they change. Purge Cloudflare or
hard-refresh, because static responses are cached for 4 hours.
---
## 10. systemd unit (`/etc/systemd/system/miles-dashboard.service`)
Root-owned; edit manually, then `daemon-reload` and restart.
| Directive | Value | Why |
| --- | --- | --- |
| `User` / `Group` | `miles` | Unprivileged service account |
| `WorkingDirectory` | `/opt/websites/miles-web` | Resolves relative config paths |
| `EnvironmentFile` | `/opt/websites/miles-web/.env` | Loads settings |
| `ExecStart` | `/usr/bin/node server/index.js` | Start command |
| `Restart` / `RestartSec` | `on-failure` / `5` | Crash recovery |
| `TimeoutStopSec` | `20` | Graceful shutdown budget |
| `KillSignal` | `SIGTERM` | Allows DB close |
| `ProtectSystem=strict` | on | Read-only system except `ReadWritePaths` |
| `ReadWritePaths` | `/var/lib/miles-dashboard` | Only writable path (SQLite) |
| `NoNewPrivileges`, `PrivateTmp`, `ProtectHome` | on | Hardening |
| `CapabilityBoundingSet` / `AmbientCapabilities` | `CAP_NET_RAW` | Lets the ping child send ICMP without root |
`ExecStart` must point at the real Node binary (`command -v node`). Verify with
`sudo systemctl show miles-dashboard -p EnvironmentFiles -p ExecStart`.
---
## 11. Cloudflare Tunnel and DNS
Manual, external, not in the repo.
| Setting | Value | Where |
| --- | --- | --- |
| Tunnel hostname | `api.milesallen.site` | Cloudflare Zero Trust / `config.yml` |
| Tunnel service | `http://127.0.0.1:8787` | `config.yml` |
| Catch-all | `http_status: 404` | `config.yml` |
| DNS | `api` CNAME to the tunnel | Cloudflare DNS |
| TLS | Cloudflare-managed, Full (strict) | Cloudflare SSL/TLS |
| Cache | purge changed files after deploy | Cloudflare Caching |
| Firewall | do not expose 8787/80/443 for the tunnel path | host firewall |
The static host (`milesallen.site`) is separate from this Node process. It must
serve the current frontend files and call `api.milesallen.site`.
---
## 12. Filesystem and permissions
| Path | Purpose | Owner / mode |
| --- | --- | --- |
| `/opt/websites/miles-web` | repo, site, backend | `miles:miles` |
| `/opt/websites/miles-web/.env` | secrets and settings | `miles:miles`, `600` |
| `/var/lib/miles-dashboard/dashboard.db` | SQLite | `miles:miles` |
| `/var/lib/miles-dashboard/dashboard.db-wal` / `-shm` | SQLite WAL | `miles:miles` |
| `/var/backups/miles-dashboard/` | backups | `miles:miles` |
| `/etc/systemd/system/miles-dashboard.service` | unit | `root:root`, `644` |
| `/etc/cloudflared/config.yml` | tunnel | `root:root` |
SQLite runs in WAL mode; back up with `sqlite3 .backup`, not by copying only the
main file while the service runs.
---
## 13. Commands and script-only variables
| Command | What it does |
| --- | --- |
| `npm start` | Start the server in the foreground |
| `npm run dev` | Start with `--watch` |
| `npm test` | Run the `node:test` suite |
| `npm run db:migrate` | Apply migrations and seed registries |
| `npm run preflight` | Check `.env`, paths, permissions, modules, `ping` |
| `npm run hash-password` | Print an Argon2id hash for `VAULT_PASSWORD_HASH` |
| `npm run smoke` | Hit local endpoints and record one test pageview |
| Variable | Used by | What it does |
| --- | --- | --- |
| `SMOKE_BASE_URL` | `npm run smoke` | Base URL to test (default `http://127.0.0.1:<PORT>`) |
| `VAULT_PASSWORD` | `npm run hash-password` | Accepts the passphrase from the environment instead of argv |
---
## 14. What to do after changing what
| You changed | Required action |
| --- | --- |
| `.env` | `sudo systemctl restart miles-dashboard` |
| `server/config/*.json` | restart (seed upserts on startup) |
| Frontend `.html`, `.js`, `.css` | deploy, purge Cloudflare, hard-refresh |
| systemd unit | `sudo systemctl daemon-reload && sudo systemctl restart miles-dashboard` |
| Cloudflare Tunnel config | `sudo cloudflared tunnel ingress validate && sudo systemctl restart cloudflared` |
| DNS / cache rules | nothing on the host |
| Vault passphrase | `npm run hash-password`, update, restart |
| `SESSION_SECRET` | restart; all sessions are invalidated |
| New file under the static site | deploy and purge, 404s are cached for 4 hours |
+3 -4
View File
@@ -331,7 +331,6 @@
.contact-row:last-child{border-bottom:none;}
.contact-row span.k{color:var(--muted);font-weight:400;text-transform:uppercase;font-size:10px;}
.contact-row:hover{padding-left:16px;color:var(--accent);}
footer{text-align:center;padding:40px 24px 60px;font-family:var(--font-mono);font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;}
@@ -1312,7 +1311,7 @@
<span class="line2" id="heroLetters" data-text="MILES"><span class="hl">M</span><span class="hl">I</span><span class="hl">L</span><span class="hl">E</span><span class="hl">S</span></span>
</div>
<p class="hero-sub">I make games, tools, and websites. I'm still in school and building a full Electron replacement — send help. i also work at Diskette Labs.</p>
<div class="hero-status"><span class="status-dot"></span> usually online</div>
<a class="hero-status" href="dashboard.html" aria-label="View current system status"><span class="status-dot"></span> view system status</a>
<div class="hero-links">
<a class="term-btn" href="https://github.com/mileswolfallen2" target="_blank">GitHub</a>
<a class="term-btn" href="https://replit.com/@MilesAllen1" target="_blank">Replit</a>
@@ -1621,7 +1620,7 @@
<div class="footer-links" style="margin-bottom: 12px;">
<a href="uses.html" style="color:var(--muted);text-decoration:none;">Uses</a>
<span style="color:var(--muted);margin:0 8px;">·</span>
<a href="dashboard.html" style="color:var(--accent);text-decoration:none;">System Console</a>
<a href="dashboard.html" style="color:var(--accent);text-decoration:none;">System Dashboard</a>
<span style="color:var(--muted);margin:0 8px;">·</span>
<a href="now.html" style="color:var(--muted);text-decoration:none;">Now</a>
<span style="color:var(--muted);margin:0 8px;">·</span>
@@ -1631,7 +1630,7 @@
<span style="color:var(--muted);margin:0 8px;">·</span>
<a href="https://server.fedl.site/git/miles" target="_blank" rel="noopener" style="color:var(--muted);text-decoration:none;">Backup</a>
</div>
Built by Miles · 2026 · Powered by too much coffee and the Konami code
Built by Miles · 2026 · not ai
<div style="margin-top:28px;">
<a href="redesign/hub.html" style="
display:inline-flex;align-items:center;gap:10px;
-1
View File
@@ -47,7 +47,6 @@ nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(7,7,12,0.9);
<a href="index.html" class="nav-logo"><span class="logo-dot"></span> milesallen</a>
<div class="nav-links">
<a href="index.html#projects">Projects</a>
<a href="dashboard.html">Dashboard</a>
</div>
</nav>
Binary file not shown.

After

Width:  |  Height:  |  Size: 651 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

+1
View File
@@ -1,6 +1,7 @@
User-agent: *
Allow: /
Disallow: /api/
Disallow: /photos/
Disallow: /vault
Disallow: /games/
Disallow: /server/
+3 -3
View File
@@ -3,14 +3,14 @@
{
"id": "home-1",
"name": "Main Server",
"ip": "10.0.0.87",
"ip": "192.168.50.102",
"order": 1,
"enabled": true
},
{
"id": "home-2",
"name": "FEDL Server",
"ip": "10.0.0.119",
"name": "Debian Server",
"ip": "192.168.50.103",
"order": 2,
"enabled": true
}
-1
View File
@@ -67,7 +67,6 @@ footer .ft{font-family:var(--font-mono);font-size:10px;color:#666;line-height:1.
<a href="/index.html" class="nav-logo"><span class="logo-dot"></span> milesallen</a>
<div class="nav-links">
<a href="/index.html#projects">Projects</a>
<a href="/dashboard.html">Dashboard</a>
<button type="button" id="vaultLogout">Lock vault</button>
</div>
</nav>
-6
View File
@@ -180,10 +180,4 @@
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
<url>
<loc>https://milesallen.site/projects/cube-methods.html</loc>
<lastmod>2026-09-27</lastmod>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
</url>
</urlset>
+3 -2
View File
@@ -19,9 +19,10 @@ test('config loads local defaults and project registry', () => {
assert.ok(config.projects.length > 5);
assert.equal(config.projects.find((p) => p.id === 'fedl').featured, true);
assert.equal(config.services.length, 5);
assert.equal(config.servers[0].ip, '10.0.0.87');
assert.equal(config.servers[0].ip, '192.168.50.102');
assert.equal(config.servers[0].name, 'Main Server');
assert.equal(config.servers[1].name, 'FEDL Server');
assert.equal(config.servers[1].ip, '192.168.50.103');
assert.equal(config.servers[1].name, 'Debian Server');
});
test('config honors environment overrides without changing code', () => {
+56 -13
View File
@@ -4,16 +4,16 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>top shows · miles wolf allen</title>
<meta name="description" content="Miles Wolf Allen's top shows: Jujutsu Kaisen, Dr. Stone, Battlestar Galactica, and Invincible — ranked with details.">
<meta name="description" content="Miles Wolf Allen's top shows: Jujutsu Kaisen, Dr. Stone, Battlestar Galactica, Spy x Family, and Invincible — ranked with details.">
<meta name="author" content="Miles Wolf Allen">
<link rel="canonical" href="https://milesallen.site/top-shows.html">
<meta property="og:type" content="website">
<meta property="og:title" content="top shows · miles wolf allen">
<meta property="og:description" content="My top 4 shows, ranked: their stats, what they're about, and why they made the list.">
<meta property="og:description" content="My top 5 shows, ranked: their stats, what they're about, and why they made the list.">
<meta property="og:url" content="https://milesallen.site/top-shows.html">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="top shows · miles wolf allen">
<meta name="twitter:description" content="My top 4 shows, ranked: their stats, what they're about, and why they made the list.">
<meta name="twitter:description" content="My top 5 shows, ranked: their stats, what they're about, and why they made the list.">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -82,6 +82,7 @@
.score.s2{background:linear-gradient(135deg,#cfd6df,#8b96a5);box-shadow:0 4px 14px rgba(139,150,165,.45);}
.score.s3{background:linear-gradient(135deg,#e2a06e,#b06a3c);box-shadow:0 4px 14px rgba(176,106,60,.45);}
.score.s4{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 4px 14px rgba(109,40,217,.45);}
.score.s5{background:linear-gradient(135deg,#38bdf8,#0284c7);box-shadow:0 4px 14px rgba(2,132,199,.45);}
.rank{
width:56px;height:56px;border-radius:50%;flex-shrink:0;
display:flex;align-items:center;justify-content:center;
@@ -92,6 +93,7 @@
.rank.r2{background:linear-gradient(135deg,#cfd6df,#949fad);box-shadow:0 4px 14px rgba(148,159,173,.35);}
.rank.r3{background:linear-gradient(135deg,#e2a06e,#b06a3c);box-shadow:0 4px 14px rgba(176,106,60,.35);}
.rank.r4{background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 4px 14px rgba(109,40,217,.35);}
.rank.r5{background:linear-gradient(135deg,#38bdf8,#0284c7);box-shadow:0 4px 14px rgba(2,132,199,.35);}
.show-body{flex:1;min-width:0;}
.show-title{font-size:21px;font-weight:800;letter-spacing:-.01em;}
.show-type{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:2px;}
@@ -131,10 +133,16 @@
.modal-close{
position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:50%;
border:1px solid var(--border);background:var(--card);color:var(--muted);
font-size:18px;line-height:1;cursor:pointer;z-index:2;
display:flex;align-items:center;justify-content:center;
padding:0;cursor:pointer;z-index:2;
display:grid;place-items:center;
transition:transform .2s ease,color .15s,border-color .15s,background .15s;
}
.modal-close::before,.modal-close::after{
content:'';position:absolute;top:50%;left:50%;width:14px;height:2px;
border-radius:2px;background:currentColor;
}
.modal-close::before{transform:translate(-50%,-50%) rotate(45deg);}
.modal-close::after{transform:translate(-50%,-50%) rotate(-45deg);}
.modal-close:hover{color:var(--accent);border-color:var(--accent);background:#f6fafe;transform:rotate(90deg);}
.modal-body{overflow-y:auto;padding:22px 28px 30px;min-height:0;}
.modal-body::-webkit-scrollbar{width:10px;}
@@ -199,7 +207,7 @@
<div class="page-head">
<div class="crumbs"><a href="share.html">↩ miles wolf allen</a></div>
<div class="page-title" data-anim="txt">top shows</div>
<div class="page-sub" data-anim="txt">my current top 4 shows, ranked &amp; scored</div>
<div class="page-sub" data-anim="txt">my current top 5 shows, ranked &amp; scored</div>
</div>
<div class="card">
@@ -363,10 +371,45 @@
<div class="show" data-anim="show">
<div class="poster" data-anim="poster">
<img src="https://image.tmdb.org/t/p/w400/4tblBrslcKSifMVZ3TmtT2ukMor.jpg" alt="Invincible poster" loading="lazy">
<span class="score s4"><span>7.5</span><span class="of">/10</span></span>
<img src="https://image.tmdb.org/t/p/w400/3r4LYFuXrg3G8fepysr4xSLWnQL.jpg" alt="Spy x Family poster" loading="lazy">
<span class="score s4"><span>8</span><span class="of">/10</span></span>
</div>
<div class="rank r4" data-anim="rank">4</div>
<div class="show-body">
<div class="show-title">Spy x Family</div>
<div class="show-type">anime · action · comedy</div>
<div class="chips">
<span class="chip">Wit Studio · CloverWorks</span>
<span class="chip">2022–present</span>
<span class="chip">action</span>
<span class="chip">comedy</span>
</div>
<p class="synopsis">A spy, an assassin, and a telepath form a family while each secretly hiding their identity from the others.</p>
<p class="why"><b>Why it's #4:</b> i'ma be honest, I didn't stop laughing the entire time I watched this. I genuinely consider this a comedy, and I'm not normally the type for a romantic show but this one gets a pass for the fight scenes. If you don't know what I'm talking about, watch episode 33</p>
<div class="show-actions">
<button class="action-btn" data-target="more-spy" data-title="Spy x Family" aria-expanded="false">show more info</button>
</div>
<div class="more" id="more-spy">
<div class="more-inner">
<h4>Why Spy x Family Earns the #4 Spot</h4>
<p>Spy x Family earns its place on my list because it kept me laughing throughout. Even with its spy and family setup, the part that stands out most to me is how funny it is. I genuinely think of it as a comedy first.</p>
<h4>1. A Comedy That Kept Me Laughing</h4>
<p>The humor is the main reason I enjoyed watching the series. I wasn't just entertained by a few isolated jokes; I found myself laughing throughout, which made the show an easy one to keep coming back to.</p>
<h4>2. The Fight Scenes Make It an Exception</h4>
<p>Romance usually isn't what I look for in a show, but Spy x Family gets a pass from me because of its fight scenes. The choreography gives the action a clear rhythm, with movements and exchanges that are easy to follow and satisfying to watch. The fights feel lively and purposeful, adding excitement without taking away from the comedy. They give me another reason to enjoy the show and make the romantic side work for me.</p>
<h4>Conclusion</h4>
<p>Spy x Family is a comedy I kept laughing at, with fight scenes that make it an exception to my usual lack of interest in romance. That's what makes it an 8/10 for me and puts it at #4. My least favorite was probably the most recent season, as it really leaned into the romantic elements more than the previous seasons. But I am still in following and can't wait for next season</p>
</div>
</div>
</div>
</div>
<div class="show" data-anim="show">
<div class="poster" data-anim="poster">
<img src="https://image.tmdb.org/t/p/w400/4tblBrslcKSifMVZ3TmtT2ukMor.jpg" alt="Invincible poster" loading="lazy">
<span class="score s5"><span>7.5</span><span class="of">/10</span></span>
</div>
<div class="rank r5" data-anim="rank">5</div>
<div class="show-body">
<div class="show-title">Invincible</div>
<div class="show-type">animated series · superhero · drama</div>
@@ -377,14 +420,14 @@
<span class="chip">action-drama</span>
</div>
<p class="synopsis">Mark Grayson is just a regular teenager — until he inherits superpowers from his father, Omni-Man, Earth's greatest hero. As the rookie hero Invincible, he learns that being the son of a legend is nowhere near as simple as it looks when a dark family secret threatens everything he thought he knew.</p>
<p class="why"><b>Why it's #4:</b> it's number four because of the way it toys around with superhero ideas in flipping them around, truly having complex characters that can actually change, it does the cliché of the evil superhero very well and really shows itself off even on the first episode alone.</p>
<p class="why"><b>Why it's #5:</b> it's number five because of the way it toys around with superhero ideas in flipping them around, truly having complex characters that can actually change, it does the cliché of the evil superhero very well and really shows itself off even on the first episode alone.</p>
<div class="show-actions">
<button class="action-btn" data-target="more-inv" data-title="Invincible" aria-expanded="false">show more info</button>
</div>
<div class="more" id="more-inv">
<div class="more-inner">
<h4>Why Invincible Earns the #4 Spot</h4>
<p>Among modern animated adaptations and superhero sagas, Invincible stands out as a triumph of storytelling. By combining classic comic book nostalgia with visceral realism, moral complexity, and subverted expectations, the series redefines what a superhero story can accomplish. Below is a detailed breakdown of why it comfortably claims the #4 spot.</p>
<h4>Why Invincible Earns the #5 Spot</h4>
<p>Among modern animated adaptations and superhero sagas, Invincible stands out as a triumph of storytelling. By combining classic comic book nostalgia with visceral realism, moral complexity, and subverted expectations, the series redefines what a superhero story can accomplish. Below is a detailed breakdown of why it comfortably claims the #5 spot.</p>
<h4>1. Subverting and Flipping Superhero Tropes</h4>
<p>On the surface, Invincible presents a familiar superhero world populated by archetypes reminiscent of iconic comic book leagues. However, it constantly subverts these foundational ideas:</p>
<ul>
@@ -417,7 +460,7 @@
<li><strong>Showing Off Its Full Potential:</strong> It proves immediately that it isn't just another cartoon superhero show, but a high-stakes, mature drama capable of pulling no punches.</li>
</ul>
<h4>Conclusion</h4>
<p>By fearlessly playing with superhero conventions, delivering genuine character evolution, elevating the evil superhero trope, and hooking viewers from episode one, Invincible earns its place at #4 as an absolute modern classic.</p>
<p>By fearlessly playing with superhero conventions, delivering genuine character evolution, elevating the evil superhero trope, and hooking viewers from episode one, Invincible earns its place at #5 as an absolute modern classic.</p>
</div>
</div>
</div>
@@ -438,7 +481,7 @@
<div class="modal-eyebrow">why i like it</div>
<div class="modal-title" id="moreModalTitle">More info</div>
</div>
<button class="modal-close" data-close aria-label="Close">×</button>
<button class="modal-close" data-close aria-label="Close"></button>
<div class="modal-body" id="moreModalBody"></div>
</div>
</div>
+65 -2
View File
@@ -33,6 +33,22 @@
.article-body ul li strong{color:var(--text);}
.back-link{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-mono);font-size:12px;color:var(--muted);margin-top:40px;text-decoration:none;transition:color .2s;}
.back-link:hover{color:var(--accent);}
.setup-gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:8px 0 36px;align-items:stretch;}
.setup-shot{display:flex;flex-direction:column;margin:0;overflow:hidden;background:#080808;border:1px solid rgba(255,255,255,.10);transition:border-color .25s,box-shadow .25s;}
.setup-shot:nth-child(n){transform:none;}
.setup-shot::before{display:none;}
.setup-shot:hover{border-color:rgba(255,61,154,.55);box-shadow:0 10px 28px rgba(0,0,0,.28);}
.setup-shot a{display:flex;align-items:center;justify-content:center;width:100%;height:220px;overflow:hidden;background:#080808;}
.setup-shot img{display:block;width:100%;height:100%;object-fit:contain;filter:none;transition:filter .25s;}
.setup-shot:hover img{filter:saturate(1.03);}
.setup-shot figcaption{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding:12px 14px;border-top:1px solid rgba(255,255,255,.10);font-family:var(--font-mono);font-size:10px;color:var(--muted);}
.setup-shot figcaption strong{color:var(--text);font-size:12px;}
.setup-specs{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;margin:0;padding:0;list-style:none;}
.setup-specs li{line-height:1.45;}
.setup-specs li::before{content:'›';color:var(--accent);margin-right:5px;}
@media(max-width:640px){.setup-gallery{grid-template-columns:1fr;gap:18px;}.setup-shot a{height:auto;aspect-ratio:16/10}.setup-specs{grid-template-columns:1fr;}}
@media(prefers-reduced-motion:reduce){.setup-shot,.setup-shot img{transition:none}}
</style>
</head>
<body>
@@ -87,7 +103,10 @@
<div class="article-body">
<h2>Hardware</h2>
<h3>MacBook Air M4 (2024)</h3>
<p>16GB RAM, 256GB storage. This thing is fast. The M4 chip handles everything I throw at it — VS Code with 10+ tabs, a dozen terminal windows, Docker containers, multiple browsers with 30+ tabs each, GSAP animations running in dev, and it doesn't break a sweat. Fanless design means it's completely silent. Best laptop I've ever owned.</p>
<p>The 13-inch MacBook Air runs macOS 27.3 on Apple M4 with 16 GB of unified memory, a 256 GB SSD, and a 2940×1912 built-in Liquid Retina display. It stays completely fanless while handling VS Code, terminal sessions, Docker, browsers, and development previews. This is my primary workstation.</p>
<h3>HP ProBook 440 G7</h3>
<p>My mobile Linux rig runs Omarchy 4.5.0 on Intel Core i5-10210U. It has 8 GB of RAM, an approximately 236 GB disk, a 1366×768 display, and enough speed for writing, development, system experiments, and work away from the Mac. It is the keyboard-first environment I take with me.</p>
<h3>Google Pixel 8A</h3>
<p>Stock Google Android. No bloat, no nonsense. Does what a phone should do and stays out of the way.</p>
@@ -96,6 +115,9 @@
<p>My portable testing rig. I use it for game dev testing, tinkering with Linux, and sometimes actual gaming. Surprisingly capable for a handheld.</p>
<h2>Software</h2>
<h3>Omarchy</h3>
<p>My preferred Linux setup on the HP ProBook. Omarchy gives me a polished, opinionated environment right away while still leaving plenty of room to install tools and make the system my own. It is the setup I reach for when I want to stay focused and move quickly.</p>
<h3>VS Code</h3>
<p>My main editor. Cursor's AI features are nice, but VS Code with the right extensions is unbeatable. I run the GitHub Copilot extension, ESLint, Prettier, and a handful of theme and icon packs. My config is mostly default — I don't spend time tweaking my editor, I spend time writing code.</p>
@@ -112,11 +134,16 @@
<p><strong>Ghostty.</strong> Fast, native-style terminal that looks good out of the box. GPU-accelerated, no config nonsense. I keep my prompt clean with a few aliases and git integration — spent years customizing and realized I was just procrastinating.</p>
<h2>Linux</h2>
<p>I used to run <strong>Debian</strong> with <strong>KDE Plasma</strong>. Solid, boring, got the job done. At some point I tried <strong>Arch</strong> with <strong>Hyprland</strong> — tiling WMs are genuinely fun to use. Not gonna get sassy about it though, I don't care what you use.</p>
<p><strong>Omarchy</strong> on the HP ProBook is my current mobile Linux setup. The rest of my Linux experience has been useful too: <strong>Debian</strong> with <strong>KDE Plasma</strong> was solid and predictable, while <strong>Arch</strong> with <strong>Hyprland</strong> showed me how much I enjoy a tiling, keyboard-driven workflow. I use Linux to understand more about the machines I work on and to have another environment for development.</p>
<h2>macOS</h2>
<p>The MacBook Air is my primary desktop-class workstation. I use <strong>macOS</strong> for its polished ecosystem, battery life, and quiet performance, and I keep the setup straightforward. Terminal tools, VS Code, browsers, Git, Docker, and local servers cover most of my day-to-day work.</p>
<h2>Other Tools</h2>
<ul>
<li><strong>GitHub:</strong> Where everything lives. 147+ repos and counting.</li>
<li><strong>Git:</strong> For version control, branches, commits, pull requests, and keeping experiments recoverable.</li>
<li><strong>Docker:</strong> Useful for reproducible local environments and services that are easier to keep isolated.</li>
<li><strong>Cloudflare:</strong> DNS, domain management, and some worker scripts.</li>
<li><strong>Blender:</strong> For 3D modeling when I need it.</li>
<li><strong>Unity / Unreal:</strong> Game engines I dip into for prototypes.</li>
@@ -136,6 +163,42 @@
</div>
</section>
<div class="setup-gallery reveal" aria-label="Screenshots of my desktop setups">
<figure class="setup-shot">
<a href="photos/Screenshot%202026-11-21%20at%209.18.07%E2%80%AFPM.png" target="_blank" rel="noopener" aria-label="Open the macOS setup screenshot">
<img src="photos/Screenshot%202026-11-21%20at%209.18.07%E2%80%AFPM.png" alt="macOS setup showing a colorful fastfetch system summary on the MacBook Air" loading="eager">
</a>
<figcaption>
<strong>MacBook Air M4 · macOS</strong>
<ul class="setup-specs">
<li>13-inch, M4</li>
<li>4.46 GHz CPU</li>
<li>16 GB unified memory</li>
<li>228 GB storage available</li>
<li>2940×1912 display</li>
<li>macOS 27.3</li>
</ul>
</figcaption>
</figure>
<figure class="setup-shot">
<a href="photos/screenshot-2026-11-21_21-16-34-about.png" target="_blank" rel="noopener" aria-label="Open the Omarchy setup screenshot">
<img src="photos/screenshot-2026-11-21_21-16-34-about.png" alt="Omarchy Linux setup showing system details for an HP ProBook" loading="eager">
</a>
<figcaption>
<strong>HP ProBook · Omarchy</strong>
<ul class="setup-specs">
<li>Intel Core i5-10210U</li>
<li>4.20 GHz CPU</li>
<li>16 GB DDR4 memory</li>
<li>236.46 GB disk</li>
<li>1366×768 display</li>
<li>Linux 7.2.15-1</li>
</ul>
</figcaption>
</figure>
</div>
<footer>
<div class="footer-links" style="margin-bottom: 12px;">
<a href="uses.html" style="color:var(--muted);text-decoration:none;">Uses</a>