chunkymonkey / static /index.html
Pwlot's picture
Add ChunkyMonkey favicon
8abf15b verified
Raw History Blame Contribute Delete
3 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ChunkyMonkey - Hub repo check</title>
<link rel="icon" type="image/png" href="/static/chunkymonkey-biting-icon.png">
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<main class="shell">
<header class="topbar">
<div class="brand">
<img src="/static/chunkymonkey-biting-logo.webp" alt="ChunkyMonkey">
<div>
<strong>ChunkyMonkey</strong>
<span>Hub repo check</span>
</div>
</div>
<a class="toplink" href="https://chunkymonkey.dev/#download" target="_blank" rel="noreferrer">Download the full ChunkyMonkey</a>
</header>
<section class="hero">
<div>
<p class="eyebrow">Public Hugging Face metadata</p>
<h1>Inspect a public Hub repo.</h1>
<p class="lede">Paste a model, dataset, or Space URL. This shows file counts, likely LFS files, basic Space runtime metadata, and local commands for a deeper check.</p>
</div>
<form id="scanForm" class="scanForm">
<label>
Repo URL or ID
<input id="repoInput" name="repo" autocomplete="off" placeholder="https://huggingface.co/spaces/owner/name">
</label>
<label>
Fallback type
<select id="repoType" name="repo_type">
<option value="model">model</option>
<option value="dataset">dataset</option>
<option value="space">space</option>
</select>
</label>
<button type="submit">Analyze</button>
</form>
</section>
<section id="status" class="status idle">Waiting for a public Hub repo.</section>
<section id="results" class="results hidden">
<div class="summary">
<div>
<span class="label">Repo</span>
<a id="repoLink" href="#" target="_blank" rel="noreferrer"></a>
</div>
<div>
<span class="label">Warning score</span>
<strong id="riskScore"></strong>
</div>
<div>
<span class="label">Files</span>
<strong id="fileCount"></strong>
</div>
<div>
<span class="label">LFS candidates</span>
<strong id="lfsCount"></strong>
</div>
</div>
<div class="grid">
<article>
<h2>Findings</h2>
<div id="findings" class="findings"></div>
</article>
<article>
<h2>Local follow-up</h2>
<pre id="commands"></pre>
</article>
</div>
<article id="lfsPanel" class="wide">
<h2>Likely LFS files</h2>
<div id="lfsFiles" class="fileList"></div>
</article>
</section>
</main>
<script src="/static/app.js"></script>
</body>
</html>