Download admin.html from AICompare/aicompare-ai-assistant: direct link, hf CLI and curl.
- Browser
- Download file 17 kB
-
https://huggingface.co/spaces/AICompare/aicompare-ai-assistant/resolve/main/admin.html
- Command line
-
hf download hf://spaces/AICompare/aicompare-ai-assistant/admin.html
-
curl -L -o admin.html https://huggingface.co/spaces/AICompare/aicompare-ai-assistant/resolve/main/admin.html
17 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta | |
| name="viewport" | |
| content="width=device-width, initial-scale=1.0" | |
| /> | |
| <meta | |
| name="robots" | |
| content="noindex, nofollow" | |
| /> | |
| <meta | |
| name="description" | |
| content="Private AICompare administration dashboard." | |
| /> | |
| <title>AICompare Admin</title> | |
| <link | |
| rel="stylesheet" | |
| href="./admin.css" | |
| /> | |
| </head> | |
| <body> | |
| <div class="admin-shell"> | |
| <header class="admin-header"> | |
| <a | |
| class="admin-brand" | |
| href="https://aicompare.tech" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| > | |
| <span class="brand-mark">AI</span> | |
| <span class="brand-text"> | |
| <strong>AICompare</strong> | |
| <small>Admin Dashboard</small> | |
| </span> | |
| </a> | |
| <div class="header-actions"> | |
| <span | |
| id="connection-status" | |
| class="connection-status disconnected" | |
| > | |
| Not connected | |
| </span> | |
| <button | |
| id="logout-button" | |
| class="secondary-button hidden" | |
| type="button" | |
| > | |
| Sign out | |
| </button> | |
| </div> | |
| </header> | |
| <main> | |
| <section | |
| id="login-view" | |
| class="login-card" | |
| > | |
| <div class="login-icon">🔐</div> | |
| <p class="eyebrow"> | |
| PRIVATE ACCESS | |
| </p> | |
| <h1> | |
| AICompare Admin | |
| </h1> | |
| <p class="login-description"> | |
| Enter your private admin token to manage the | |
| ingestion queue. The token stays only in this | |
| browser session. | |
| </p> | |
| <form | |
| id="login-form" | |
| class="login-form" | |
| > | |
| <label for="admin-token"> | |
| Admin token | |
| </label> | |
| <input | |
| id="admin-token" | |
| name="admin-token" | |
| type="password" | |
| autocomplete="current-password" | |
| placeholder="Enter INGEST_ADMIN_TOKEN" | |
| required | |
| /> | |
| <button | |
| id="login-button" | |
| class="primary-button" | |
| type="submit" | |
| > | |
| Open dashboard | |
| </button> | |
| </form> | |
| <p | |
| id="login-error" | |
| class="form-error hidden" | |
| ></p> | |
| </section> | |
| <section | |
| id="dashboard-view" | |
| class="dashboard hidden" | |
| > | |
| <section class="dashboard-hero"> | |
| <div> | |
| <p class="eyebrow"> | |
| KNOWLEDGE ENGINE | |
| </p> | |
| <h1> | |
| Tool Ingestion Dashboard | |
| </h1> | |
| <p> | |
| Submit AI tool websites, review extracted | |
| information and manage the publishing queue. | |
| </p> | |
| </div> | |
| <button | |
| id="refresh-button" | |
| class="secondary-button" | |
| type="button" | |
| > | |
| Refresh queue | |
| </button> | |
| </section> | |
| <section | |
| class="stats-grid" | |
| aria-label="Queue summary" | |
| > | |
| <article class="stat-card"> | |
| <span>Total</span> | |
| <strong id="count-total">0</strong> | |
| </article> | |
| <article class="stat-card pending-stat"> | |
| <span>Pending</span> | |
| <strong id="count-pending">0</strong> | |
| </article> | |
| <article class="stat-card approved-stat"> | |
| <span>Approved</span> | |
| <strong id="count-approved">0</strong> | |
| </article> | |
| <article class="stat-card rejected-stat"> | |
| <span>Rejected</span> | |
| <strong id="count-rejected">0</strong> | |
| </article> | |
| <article class="stat-card changes-stat"> | |
| <span>Needs changes</span> | |
| <strong id="count-needs-changes">0</strong> | |
| </article> | |
| <article class="stat-card imported-stat"> | |
| <span>Imported</span> | |
| <strong id="count-imported">0</strong> | |
| </article> | |
| </section> | |
| <section class="content-grid"> | |
| <article class="panel submit-panel"> | |
| <div class="panel-heading"> | |
| <div> | |
| <p class="eyebrow"> | |
| ADD TOOL | |
| </p> | |
| <h2> | |
| Ingest a new AI tool | |
| </h2> | |
| </div> | |
| </div> | |
| <form | |
| id="ingest-form" | |
| class="ingest-form" | |
| > | |
| <label for="tool-url"> | |
| Official tool website | |
| </label> | |
| <div class="url-field"> | |
| <input | |
| id="tool-url" | |
| name="tool-url" | |
| type="url" | |
| inputmode="url" | |
| placeholder="https://example.com" | |
| required | |
| /> | |
| <button | |
| id="ingest-button" | |
| class="primary-button" | |
| type="submit" | |
| > | |
| Ingest tool | |
| </button> | |
| </div> | |
| <p class="field-help"> | |
| AICompare will inspect the homepage, | |
| pricing, documentation and help pages. | |
| </p> | |
| </form> | |
| <div | |
| id="ingest-result" | |
| class="result-message hidden" | |
| ></div> | |
| </article> | |
| <article class="panel filters-panel"> | |
| <div class="panel-heading"> | |
| <div> | |
| <p class="eyebrow"> | |
| FILTERS | |
| </p> | |
| <h2> | |
| Review queue | |
| </h2> | |
| </div> | |
| </div> | |
| <div class="filter-grid"> | |
| <label> | |
| Review status | |
| <select id="review-filter"> | |
| <option value="all"> | |
| All | |
| </option> | |
| <option | |
| value="pending" | |
| selected | |
| > | |
| Pending | |
| </option> | |
| <option value="approved"> | |
| Approved | |
| </option> | |
| <option value="rejected"> | |
| Rejected | |
| </option> | |
| <option value="needs_changes"> | |
| Needs changes | |
| </option> | |
| </select> | |
| </label> | |
| <label> | |
| Import status | |
| <select id="import-filter"> | |
| <option value="all"> | |
| All | |
| </option> | |
| <option value="not_imported"> | |
| Not imported | |
| </option> | |
| <option value="ready"> | |
| Ready | |
| </option> | |
| <option value="imported"> | |
| Imported | |
| </option> | |
| <option value="failed"> | |
| Failed | |
| </option> | |
| </select> | |
| </label> | |
| </div> | |
| </article> | |
| </section> | |
| <section class="panel queue-panel"> | |
| <div class="panel-heading queue-heading"> | |
| <div> | |
| <p class="eyebrow"> | |
| REVIEW QUEUE | |
| </p> | |
| <h2> | |
| Extracted AI tools | |
| </h2> | |
| </div> | |
| <span | |
| id="visible-count" | |
| class="visible-count" | |
| > | |
| 0 items | |
| </span> | |
| </div> | |
| <div | |
| id="queue-loading" | |
| class="loading-state" | |
| > | |
| Loading review queue… | |
| </div> | |
| <div | |
| id="queue-empty" | |
| class="empty-state hidden" | |
| > | |
| <div class="empty-icon">✓</div> | |
| <h3> | |
| No matching queue items | |
| </h3> | |
| <p> | |
| Change the filters or ingest another tool. | |
| </p> | |
| </div> | |
| <div | |
| id="queue-list" | |
| class="queue-list" | |
| ></div> | |
| </section> | |
| </section> | |
| </main> | |
| <footer class="admin-footer"> | |
| <p> | |
| Private AICompare administration interface. | |
| </p> | |
| <a | |
| href="https://aicompare.tech" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| > | |
| Visit AICompare.tech | |
| </a> | |
| </footer> | |
| </div> | |
| <template id="queue-card-template"> | |
| <article class="queue-card"> | |
| <div class="queue-card-header"> | |
| <div> | |
| <div class="status-row"> | |
| <span class="review-badge"></span> | |
| <span class="import-badge"></span> | |
| </div> | |
| <h3 class="queue-tool-name"> | |
| Unknown tool | |
| </h3> | |
| <p class="queue-company-name"> | |
| Company not detected | |
| </p> | |
| </div> | |
| <div class="confidence-box"> | |
| <span>Confidence</span> | |
| <strong class="confidence-value"> | |
| — | |
| </strong> | |
| </div> | |
| </div> | |
| <div class="logo-review hidden"> | |
| <img class="queue-logo" alt="Detected tool logo" /> | |
| <div> | |
| <span>Detected logo</span> | |
| <a class="queue-logo-link" target="_blank" rel="noopener noreferrer">Open image</a> | |
| </div> | |
| </div> | |
| <div class="screenshot-review hidden"> | |
| <div class="screenshot-heading"> | |
| <span>Homepage screenshot</span> | |
| <a class="queue-screenshot-link" target="_blank" rel="noopener noreferrer">Open full image</a> | |
| </div> | |
| <img class="queue-screenshot" alt="Captured tool homepage" /> | |
| </div> | |
| <div class="queue-meta"> | |
| <span class="queue-id"></span> | |
| <span class="queue-date"></span> | |
| <a | |
| class="queue-source-link" | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| > | |
| Open website | |
| </a> | |
| </div> | |
| <div class="queue-summary-grid"> | |
| <div> | |
| <span class="summary-label"> | |
| Category | |
| </span> | |
| <strong class="summary-category"> | |
| Not detected | |
| </strong> | |
| </div> | |
| <div> | |
| <span class="summary-label"> | |
| Pricing | |
| </span> | |
| <strong class="summary-pricing"> | |
| Not verified | |
| </strong> | |
| </div> | |
| <div> | |
| <span class="summary-label"> | |
| Free plan | |
| </span> | |
| <strong class="summary-free-plan"> | |
| Not verified | |
| </strong> | |
| </div> | |
| <div> | |
| <span class="summary-label"> | |
| Platforms | |
| </span> | |
| <strong class="summary-platforms"> | |
| Not detected | |
| </strong> | |
| </div> | |
| </div> | |
| <div class="queue-actions"> | |
| <button | |
| type="button" | |
| class="wordpress-button" | |
| > | |
| Create WordPress draft | |
| </button> | |
| <button | |
| type="button" | |
| class="edit-button" | |
| > | |
| Edit data | |
| </button> | |
| <button | |
| type="button" | |
| class="reject-button" | |
| > | |
| Reject | |
| </button> | |
| <button | |
| type="button" | |
| class="needs-changes-button" | |
| > | |
| Needs changes | |
| </button> | |
| <button | |
| type="button" | |
| class="approve-button" | |
| > | |
| Approve and import | |
| </button> | |
| </div> | |
| <details class="queue-details"> | |
| <summary> | |
| Review extracted data | |
| </summary> | |
| <div class="details-content"> | |
| <section> | |
| <h4>Description</h4> | |
| <p class="detail-description"></p> | |
| </section> | |
| <section> | |
| <h4>Features</h4> | |
| <div class="chip-list detail-features"></div> | |
| </section> | |
| <section> | |
| <h4>Use cases</h4> | |
| <div class="chip-list detail-use-cases"></div> | |
| </section> | |
| <section> | |
| <h4>Integrations</h4> | |
| <div class="chip-list detail-integrations"></div> | |
| </section> | |
| <section> | |
| <h4>Missing information</h4> | |
| <div class="chip-list detail-missing"></div> | |
| </section> | |
| <section> | |
| <h4>Source pages</h4> | |
| <div class="source-page-list"></div> | |
| </section> | |
| <section class="review-notes-section hidden"> | |
| <h4>Review instructions</h4> | |
| <p class="detail-review-notes"></p> | |
| </section> | |
| <section class="error-section hidden"> | |
| <h4>Notes or error</h4> | |
| <p class="detail-error"></p> | |
| </section> | |
| </div> | |
| </details> | |
| </article> | |
| </template> | |
| <dialog id="edit-dialog" class="edit-dialog"> | |
| <form id="edit-form" class="edit-form"> | |
| <div class="edit-dialog-header"> | |
| <div> | |
| <p class="eyebrow">EDIT QUEUE ITEM</p> | |
| <h2>Correct extracted data</h2> | |
| </div> | |
| <button id="edit-close" class="dialog-close" type="button" aria-label="Close">×</button> | |
| </div> | |
| <p class="edit-help"> | |
| Verify every change against the tool’s official website before saving. | |
| </p> | |
| <div class="edit-grid"> | |
| <label>Tool name<input id="edit-tool-name" maxlength="200" required /></label> | |
| <label>Company name<input id="edit-company-name" maxlength="200" /></label> | |
| <label class="full-field">Official URL<input id="edit-official-url" type="url" required /></label> | |
| <label class="full-field">Logo URL<input id="edit-logo-url" type="url" placeholder="https://example.com/logo.png" /></label> | |
| <div id="edit-logo-preview-wrap" class="edit-logo-preview hidden"> | |
| <img id="edit-logo-preview" alt="Logo preview" /> | |
| <span>Logo preview</span> | |
| </div> | |
| <label class="full-field">Screenshot URL<input id="edit-screenshot-url" type="url" placeholder="https://screenshots.aicompare.tech/tools/example.jpg" /></label> | |
| <div id="edit-screenshot-preview-wrap" class="edit-screenshot-preview hidden"> | |
| <img id="edit-screenshot-preview" alt="Screenshot preview" /> | |
| <span>Homepage screenshot preview</span> | |
| </div> | |
| <label>Primary category | |
| <select id="edit-category" required> | |
| <option value="AI Assistants">AI Assistants</option> | |
| <option value="AI Search & Research">AI Search & Research</option> | |
| <option value="Coding & Development">Coding & Development</option> | |
| <option value="AI Model Platforms">AI Model Platforms</option> | |
| <option value="Writing & Editing">Writing & Editing</option> | |
| <option value="Image Generation">Image Generation</option> | |
| <option value="Video Generation">Video Generation</option> | |
| <option value="Audio & Voice">Audio & Voice</option> | |
| <option value="Transcription & Meetings">Transcription & Meetings</option> | |
| <option value="Design">Design</option> | |
| <option value="Presentations">Presentations</option> | |
| <option value="Marketing & Sales">Marketing & Sales</option> | |
| <option value="Productivity & Workspace">Productivity & Workspace</option> | |
| <option value="Career & Resume">Career & Resume</option> | |
| </select> | |
| </label> | |
| <label>Pricing model<input id="edit-pricing-model" maxlength="100" placeholder="Free, Freemium, Paid…" /></label> | |
| <label>Free plan | |
| <select id="edit-free-plan"> | |
| <option value="unknown">Not verified</option> | |
| <option value="true">Yes</option> | |
| <option value="false">No</option> | |
| </select> | |
| </label> | |
| <label>Starting price (USD)<input id="edit-starting-price" type="number" min="0" step="0.01" /></label> | |
| <label class="full-field">Short description<textarea id="edit-short-description" maxlength="600" rows="3"></textarea></label> | |
| <label class="full-field">Long description<textarea id="edit-long-description" maxlength="3000" rows="5"></textarea></label> | |
| <label class="full-field">Features <small>One per line</small><textarea id="edit-features" rows="5"></textarea></label> | |
| <label class="full-field">Use cases <small>One per line</small><textarea id="edit-use-cases" rows="4"></textarea></label> | |
| <label class="full-field">Platforms <small>One per line</small><textarea id="edit-platforms" rows="3"></textarea></label> | |
| <label class="full-field">Integrations <small>One per line</small><textarea id="edit-integrations" rows="3"></textarea></label> | |
| </div> | |
| <div id="edit-error" class="result-message error hidden"></div> | |
| <div class="edit-footer"> | |
| <button id="edit-cancel" class="secondary-button" type="button">Cancel</button> | |
| <button id="edit-save" class="primary-button" type="submit">Save changes</button> | |
| </div> | |
| </form> | |
| </dialog> | |
| <script | |
| type="module" | |
| src="./admin.js" | |
| ></script> | |
| </body> | |
| </html> | |