Files
2026-08-29 11:27:07 +03:00

236 lines
14 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<title>e621tagger</title>
<meta charset="UTF-8">
<meta name="description" content="Free web-based e621 tagging app created for furries by furries.">
<meta name="keywords" content="e621, tagging, AI, furry, image tags, automatic tagging, e621tagger, booru">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="dark light">
<meta name="darkreader" content="disabled">
<meta name="theme-color" content="#8b4aff">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="e621tagger">
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.tagger.fenrir784.app/">
<meta property="og:title" content="e621tagger">
<meta property="og:description" content="Free web-based e621 tagging app created for furries by furries.">
<meta property="og:image" content="https://www.tagger.fenrir784.app/static/screenshots/preview.webp">
<meta property="og:image:secure_url" content="https://www.tagger.fenrir784.app/static/screenshots/preview.webp">
<meta property="og:image:type" content="image/webp">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:locale" content="en-150">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://www.tagger.fenrir784.app/">
<meta name="twitter:title" content="e621tagger">
<meta name="twitter:description" content="Free web-based e621 tagging app created for furries by furries.">
<meta name="twitter:image" content="https://www.tagger.fenrir784.app/static/screenshots/preview.webp">
<link rel="canonical" href="https://www.tagger.fenrir784.app">
<link rel="apple-touch-icon" sizes="180x180" href="/static/icons/apple-touch-icon.png">
<link rel="icon" type="image/svg+xml" href="/static/icons/favicon.svg">
<link rel="icon" type="image/png" sizes="96x96" href="/static/icons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/icons/favicon-16x16.png">
<link rel="manifest" href="/static/manifest.json">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<script src="{{ url_for('static', filename='js/hammer.min.js') }}" defer></script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "e621tagger",
"description": "Free web-based e621 tagging app created for furries by furries. Automatically tag images using AI.",
"url": "https://www.tagger.fenrir784.app/",
"applicationCategory": "Multimedia",
"operatingSystem": "Web",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"author": {
"@type": "Person",
"name": "Fenrir784",
"url": "https://fenrir784.app"
},
"keywords": "e621, tagging, AI, furry, image tags, automatic tagging, e621tagger, booru",
"screenshot": "https://www.tagger.fenrir784.app/static/screenshots/preview.webp",
"thumbnailUrl": "https://www.tagger.fenrir784.app/static/icons/maskable_icon_x512.png",
"softwareVersion": "{{APP_VERSION}}"
}
</script>
</head>
<body>
<div class="container">
<div id="notification-container"></div>
<header>
<div class="header-left">
<button id="settingsToggle" class="settings-toggle">⚙️</button>
</div>
<h1>e621tagger</h1>
<div class="header-right">
<div class="egg-container" id="eggContainer">
<img src="/static/icons/egg/egg_top.png" class="egg-top" alt="Egg top half" draggable="false">
<img src="/static/icons/egg/egg_bottom.png" class="egg-bottom" alt="Egg bottom half" draggable="false">
<img src="" class="egg-creature" id="eggCreature" alt="Random Fyr Avali" draggable="false">
</div>
</div>
</header>
<div id="settingsMenu" class="settings-menu">
<div class="settings-header">
<span>Settings</span>
<div class="theme-toggle-group" id="themeToggle">
<button type="button" class="theme-option active" data-value="system">💻</button>
<button type="button" class="theme-option" data-value="light">☀️</button>
<button type="button" class="theme-option" data-value="dark">🌙</button>
</div>
<button id="closeSettings" class="close-settings">✕</button>
</div>
<div class="settings-section no-divider">
<div class="settings-section-header">
<h2>Thresholds</h2>
<button id="helpThresholdsBtn" class="help-btn">Need help?</button>
</div>
<div class="preset-buttons">
<button class="preset-btn" data-preset="conservative">Conservative</button>
<button class="preset-btn active" data-preset="standard">Standard</button>
<button class="preset-btn" data-preset="liberal">Liberal</button>
<button class="preset-btn" data-preset="custom">Custom</button>
</div>
<div class="custom-thresholds-panel" id="customThresholdsPanel">
<div class="custom-inputs">
<div class="input-group">
<label for="customAll">All ≥</label>
<input type="number" id="customAll" min="0" max="1" step="0.01" value="0.55">
</div>
<div class="input-group">
<label for="customConfident">Confident ≥</label>
<input type="number" id="customConfident" min="0" max="1" step="0.01" value="0.75">
</div>
</div>
<button id="applyCustom" class="apply-btn">Apply</button>
</div>
</div>
<div class="settings-section no-divider">
<div class="settings-section-header">
<h2>Max tags</h2>
</div>
<div class="max-tags-group" id="maxTagsToggle">
<button type="button" class="max-tag-option" data-value="50">50</button>
<button type="button" class="max-tag-option" data-value="75">75</button>
<button type="button" class="max-tag-option" data-value="100">100</button>
<button type="button" class="max-tag-option" data-value="150">150</button>
<button type="button" class="max-tag-option active" data-value="200">200</button>
<button type="button" class="max-tag-option" data-value="300">300</button>
</div>
</div>
<div class="settings-section">
<div class="settings-section-header">
<h2>Add current year</h2>
<label class="year-switch" aria-label="Add current year">
<input type="checkbox" id="yearTagToggle" checked>
<span class="year-switch-track"></span>
</label>
</div>
</div>
<div class="settings-section">
<button id="resetSettings" class="reset-btn">Reset to defaults</button>
</div>
</div>
<main>
<div id="dropZone">
<div class="upload-content" id="uploadContent">
<svg class="upload-icon" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
<polyline points="17 8 12 3 7 8" />
<line x1="12" y1="3" x2="12" y2="15" />
</svg>
<p>Drag & drop, Ctrl+V or click to select</p>
<p class="small">PNG, JPG, GIF, WebP (max 20MB)</p>
</div>
<input type="file" id="fileInput" accept="image/*" hidden>
</div>
<div class="results" id="results">
<div class="results-content" id="resultsContent">
<div class="results-header">
<h2>Generated Tags</h2>
<div class="format-toggle">
<span class="toggle-label">Format:</span>
<div class="format-toggle-group" id="resultsFormatToggle">
<button type="button" class="format-option active" data-value="e621">e621</button>
<button type="button" class="format-option" data-value="posty">PostyBirb</button>
</div>
</div>
</div>
<div class="global-buttons">
<button type="button" class="global-copy-btn confident" id="copyGlobalConfident">Copy Confident Tags</button>
<button type="button" class="global-copy-btn all" id="copyGlobalAll">Copy All Tags</button>
</div>
<div class="rating-container">
<div class="rating-display" id="ratingDisplay"></div>
</div>
<div class="categories-container" id="categoriesContainer"></div>
</div>
</div>
<div class="site-info">
<p>Created by <a href="https://fenrir784.app" target="_blank">fenrir784.app</a> &nbsp;|&nbsp; <a href="https://github.com/Fenrir784/e621tagger" target="_blank">Open Source</a> &nbsp;|&nbsp; {{APP_VERSION}}</p>
<p>Model: <a href="https://huggingface.co/RedRocket/Hydra" target="_blank">RedRocket/Hydra 3.5</a></p>
</div>
</main>
</div>
<div id="helpModal" class="help-modal" style="display: none;">
<div class="help-modal-overlay"></div>
<div class="help-modal-content">
<div class="help-modal-header">
<h2>How to use e621tagger</h2>
<button class="close-help-modal">&times;</button>
</div>
<div class="help-modal-body">
<p><strong>1. 📤 Upload an image</strong><br>
<strong>2. 🏷️ Add/remove tags before copying by clicking on them</strong><br>
<strong>3. 💽 Copy tags in needed format</strong><br>
• Press <strong>F</strong> to view uploaded image in fullscreen. Press <strong>F</strong> again, click anywhere or <strong>ESC</strong> to close.</p>
<p><strong>🏷️ Tag interaction</strong><br>
• <span class="tag-example confident">Purple</span> – high confidence (≥ Confident threshold).<br>
• <span class="tag-example all">Blue</span> – medium confidence (≥ All threshold).<br>
• <span class="tag-example low">Gray</span> – low confidence (below thresholds).<br>
• <strong>Click a tag</strong> to force it to be included (green) or excluded (red) from copying, tags adjusted like that will ignore any thresholds.<br>
• <strong>Long press or right-click</strong> a tag to show the description from e621 wiki.<br>
• <strong>Click ✕ on a category header</strong> to gray it out and exclude those tags from copying. Click ✓ to reveal. While hidden, tap "Always hide" to save permanently.</p>
<p><strong>💄 Pro Tip</strong>: Narrow down basic detection so that it is almost always correct, and then manually add or remove tags.</p>
<p><strong>📅 Current Year Tag</strong><br>
Adds the current year (e.g., <code>2025</code>, <code>2026</code>) as a Meta tag with full confidence. Can be disabled in Settings.</p>
<p><strong>📋 Copying tags</strong><br>
• Use <strong>Copy Confident Tags</strong> or <strong>Copy All Tags</strong> buttons to copy all tags that meet the threshold. Tags are copied in category order presented on e621.</p>
<p><strong>⚙️ Settings</strong><br>
• <strong>Thresholds:</strong> Choose a preset or set custom values.<br>
• <strong>Max tags:</strong> Limit the number of returned tags from backend.<br>
• <strong>Format:</strong> e621 (space-separated) and PostyBirb (comma-separated).</p>
<p><strong>💡 Extra features</strong><br>
• <strong>PWA:</strong> Install the app via the browser's "Install" button for quick access.<br>
• <strong>Privacy:</strong> All processing is done locally on the server and no data is sent to third parties.</p>
<div class="help-footer">
Made by space bird called <a href="https://fenrir784.app" target="_blank">Fenrir784</a><br>
Have problems or suggestions?<br>
Contact me directly via <a href="https://t.me/fenrir784" target="_blank">Telegram</a>
</div>
</div>
</div>
</div>
<script src="{{ url_for('static', filename='js/script.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/sw-init.js') }}" defer></script>
</body>
</html>