aitrace / index.html
Ghongha007's picture
Name the services the page loads code from; grey verdict colour
f3598ae verified
Raw History Blame Contribute Delete
3.19 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aitrace: traces of AI generation in a file</title>
<meta name="description" content="Look inside an image or video for traces of how it was made. Runs in your browser; your file is not uploaded.">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<header>
<p class="eyebrow">OSINT JOURNO · verification tool</p>
<h1>aitrace</h1>
<p class="lede">Look inside an image or video for traces of how it was made: <b>Content Credentials (C2PA)</b>, the
<b>declared source type</b> that AI services can write into their output, <b>Stable Diffusion generation
settings</b>, and <b>camera and editing metadata</b>. Each finding comes with its limits.</p>
<p><b>It is not a deepfake detector.</b> It reads what the file says about itself and does not examine the picture.
Most files from social media return <i>no provenance signals</i>, because platforms strip metadata. That result
tells you nothing either way.</p>
<p class="private"><b>Your file stays on your computer.</b> aitrace runs inside this browser tab, so the file is
read here and not uploaded anywhere. To run, the page downloads code only: Python (from jsDelivr), aitrace's code (from
GitHub) and its own script, plus a sample if you click one. Those services can see that the page was opened, never
your file.</p>
</header>
<section class="grid">
<div class="panel">
<label class="drop" id="drop">
<input type="file" id="file" accept="image/*,video/*,.heic,.avif">
<span class="drop-title">Choose an image or video</span>
<span class="drop-sub">or drop it here · JPEG, PNG, WebP, HEIC, AVIF, GIF, MP4, MOV or WebM, up to 100 MB</span>
</label>
<p class="note">JPEG, PNG and WebP up to 64 MB are read in full (WebP is less tested); HEIC, AVIF, GIF, video and
larger files are scanned more simply.</p>
<p class="note">Try a sample (both drawn by a script; the first has Stable Diffusion settings added by hand):</p>
<div class="samples">
<button type="button" data-sample="examples/sample_with_ai_settings.png">sample_with_ai_settings.png</button>
<button type="button" data-sample="examples/sample_no_metadata.jpg">sample_no_metadata.jpg</button>
</div>
<p id="status" class="status" role="status">Loading Python in your browser…</p>
</div>
<div class="panel" aria-live="polite">
<div id="result"><p class="placeholder">The result appears here.</p></div>
<details id="metaBox" hidden><summary>Metadata read from the file</summary><pre id="meta"></pre></details>
</div>
</section>
<footer>
For long or sensitive work, install aitrace and run it from the command line:
<a href="https://github.com/Ghongha007/aitrace">github.com/Ghongha007/aitrace</a> (MIT).
Made by <a href="https://huggingface.co/OSINT-JOURNO">OSINT JOURNO</a>.
</footer>
</main>
<script src="https://cdn.jsdelivr.net/pyodide/v0.29.5/full/pyodide.js"></script>
<script src="app.js"></script>
</body>
</html>