<?php
// Feedback form handler - saves suggestions to markdown file
if ($_SERVER['REQUEST_METHOD'] === 'POST' && !empty($_POST['suggestion'])) {
    $suggestion = htmlspecialchars(trim($_POST['suggestion']));
    $digestDate = basename(__DIR__);
    $timestamp = date('Y-m-d H:i:s');

    $entry = "\n## From digest: $digestDate\n";
    $entry .= "**Submitted:** $timestamp\n\n";
    $entry .= "$suggestion\n\n---\n";

    // Path: from digest-archive/date/ to project root
    file_put_contents(__DIR__ . '/../../SUGGESTIONS-FROM-USER.MD', $entry, FILE_APPEND | LOCK_EX);
    $submitted = true;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Digest — January 4, 2026</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="../../WEB/css/styles.css">
    <link rel="icon" type="image/png" href="../../WEB/assets/favicon.png">
</head>
<body>
    <div class="container">
        <div class="main-card">

            <header class="page-header content-item">
                <span class="page-header__date">January 4, 2026</span>
                <span class="page-header__credits">AI-DIGEST BY MAURO SICARD</span>
            </header>

            <!-- PRODUCT HUNT SECTION -->
            <div class="source-header content-item">
                <img src="../../WEB/assets/producthunt-logo.svg" alt="Product Hunt" class="source-header__logo">
                <span class="source-header__label">From Product Hunt</span>
            </div>

            <div class="source-tags content-item">
                <a href="https://producthunt.com" class="source-tag">Product Hunt</a>
            </div>

            <p class="section-intro content-item">Journaling apps and developer tools lead today's launches.</p>

            <a href="https://apps.apple.com/sg/app/joodle-journaling-with-doodle/id6756204776" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Joodle — Journaling with Doodle</span>
                    <span class="card__desc">Capture daily moments through simple doodles instead of text. Year Grid View shows your entire year at a glance. Includes widgets, iCloud sync, and Siri Shortcuts. No art skills needed.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 319</span>
                        <span>·</span>
                        <span>apps.apple.com</span>
                    </div>
                </div>
            </a>

            <a href="https://www.nutgrafe.com" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Nutgrafe — News in 400 Characters</span>
                    <span class="card__desc">AI news aggregator that summarizes every article to its essence. Chronological feed (no algorithm), curated sources, no ads. Each story gets a summary, key points, and why it matters.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 217</span>
                        <span>·</span>
                        <span>nutgrafe.com</span>
                    </div>
                </div>
            </a>

            <a href="https://veri.im" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Veri.im — AI Phishing Detection</span>
                    <span class="card__desc">Browser extension that detects phishing emails, fake shops, and scams using AI. Real-time page analysis with instant safety alerts before you enter credentials or payment info.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 34</span>
                        <span>·</span>
                        <span>veri.im</span>
                    </div>
                </div>
            </a>

            <a href="https://www.elser.ai" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Elser AI — Anime From Prompts</span>
                    <span class="card__desc">Create full anime story videos up to 30 minutes with character consistency across scenes. Script to storyboard to final video, voice cloning, lip-sync, 200+ templates included.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 31</span>
                        <span>·</span>
                        <span>elser.ai</span>
                    </div>
                </div>
            </a>

            <a href="https://supaleak.com" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Supaleak — Secret Scanning</span>
                    <span class="card__desc">Scans live websites for exposed API keys, tokens, and secrets in JavaScript files. Detects secrets from 20+ services including AWS, Slack, GitHub. Pro tier validates and sends alerts.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 13</span>
                        <span>·</span>
                        <span>supaleak.com</span>
                    </div>
                </div>
            </a>

            <!-- AI-LLMs SECTION -->
            <div class="source-header content-item">
                <img src="../../WEB/assets/reddit-logo.svg" alt="Reddit" class="source-header__logo">
                <span class="source-header__label">From Reddit</span>
            </div>

            <div class="source-tags content-item">
                <a href="https://reddit.com/r/singularity" class="source-tag">r/singularity</a>
                <a href="https://reddit.com/r/LocalLLaMA" class="source-tag">r/LocalLLaMA</a>
                <a href="https://reddit.com/r/artificial" class="source-tag">r/artificial</a>
            </div>

            <p class="section-intro content-item">Robotics and biotech breakthroughs dominate today.</p>

            <a href="https://interestingengineering.com/ai-robotics/unitree-h2-humanoid-robot-boxing" class="card card--featured content-item">
                <div class="card--featured__header">
                    <img class="card__favicon" data-size="28" alt="">
                    <span class="card--featured__title">Unitree H2 Performs Jump Kicks</span>
                </div>
                <div class="card--featured__body">
                    <p>New demo of Unitree's H2 humanoid robot performing jump side kicks and moon kicks. The 182cm robot has 31 degrees of freedom and is priced at $29,900.</p>
                    <p>China's answer to Boston Dynamics showed boxing demos in December 2025. Delivery expected April 2026. Community reaction: impressive but concerned about combat applications.</p>
                </div>
                <div class="card--featured__meta">
                    <span>interestingengineering.com</span> · <span>r/singularity</span>
                </div>
            </a>

            <a href="https://news.stanford.edu/stories/2025/11/joint-cartilage-aging-osteoarthritis-therapy-research" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Injection Regrows Knee Cartilage</span>
                    <span class="card__desc">Stanford Medicine research: Injection blocking 15-PGDH protein reverses cartilage loss in mice. Regenerates functional hyaline cartilage. Human tissue also responded. Oral version in clinical trials. Could eliminate need for knee replacements.</span>
                </div>
            </a>

            <a href="https://reddit.com/r/singularity/comments/1q3g2lt/my_new_visual_reasoning_benchmark_llm_blokus/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">LLM Blokus Visual Reasoning Benchmark</span>
                    <span class="card__desc">Tests spatial reasoning with board game. GPT-5.2 scored highest, Gemini made better moves but had validation issues.</span>
                </div>
            </a>

            <!-- GENAI-MEDIA SECTION -->
            <div class="source-header content-item">
                <img src="../../WEB/assets/reddit-logo.svg" alt="Reddit" class="source-header__logo">
                <span class="source-header__label">From Reddit</span>
            </div>

            <div class="source-tags content-item">
                <a href="https://reddit.com/r/StableDiffusion" class="source-tag">r/StableDiffusion</a>
                <a href="https://reddit.com/r/comfyui" class="source-tag">r/comfyui</a>
            </div>

            <p class="section-intro content-item">Open source image models and video workflows.</p>

            <a href="https://huggingface.co/lodestones/Chroma" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Chroma Radiance — Pixel-Space Model</span>
                    <span class="card__desc">Open source diffusion model that operates in pixel space (no VAE needed). Native 1024 resolution, Apache 2.0 licensed, highly trainable. Works in ComfyUI with LoRA support. Great prompt adherence.</span>
                </div>
            </a>

            <a href="https://github.com/stuttlepress/ComfyUI-Wan-VACE-Video-Joiner" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Wan VACE Clip Joiner</span>
                    <span class="card__desc">Lightweight ComfyUI workflow for seamless video transitions. Uses VACE to regenerate frames at joins.</span>
                </div>
            </a>

            <a href="https://github.com/PKU-YuanGroup/UltraShape-1.0" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">UltraShape 1.0 — 3D Mesh Refinement</span>
                    <span class="card__desc">Refines 3D meshes from other AI models with much more detailed geometry. Open source advances in 3D generation.</span>
                </div>
            </a>

            <!-- APPS-SOFTWARE SECTION -->
            <div class="source-header content-item">
                <img src="../../WEB/assets/reddit-logo.svg" alt="Reddit" class="source-header__logo">
                <span class="source-header__label">From Reddit</span>
            </div>

            <div class="source-tags content-item">
                <a href="https://reddit.com/r/macapps" class="source-tag">r/macapps</a>
                <a href="https://reddit.com/r/selfhosted" class="source-tag">r/selfhosted</a>
                <a href="https://reddit.com/r/opensource" class="source-tag">r/opensource</a>
            </div>

            <p class="section-intro content-item">macOS utilities and self-hosted tools.</p>

            <a href="https://hapticmaster.vercel.app/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Haptic Master for MX Master 4</span>
                    <span class="card__desc">Open source macOS app that adds haptic feedback to Logitech MX Master 4 mouse. Feel system notifications and web interactions. Community wants it to replace Logi Options+.</span>
                </div>
            </a>

            <a href="https://github.com/dedicatedcode/reitti" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Reitti v3.1.0 — Location History</span>
                    <span class="card__desc">Self-hosted location tracking. "Time Machine" for your movements. Fully private, 1.1k GitHub stars, 46 releases, 9 languages. Own your location data instead of giving it to Google.</span>
                </div>
            </a>

            <a href="https://www.filestash.app" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Filestash 2025 Recap</span>
                    <span class="card__desc">Self-hosted file manager. Pick your own storage (SFTP, S3, IPFS). Now supports AI chat with docs.</span>
                </div>
            </a>

            <a href="https://reddit.com/r/opensource/comments/1q3f89b" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Open Source DDoSed by AI Slop</span>
                    <span class="card__desc">Projects overwhelmed by AI-generated bug reports and PRs. curl saw 20% AI submissions, considering shutting bug bounty. OCaml rejected 13k-line AI PR because reviewing AI code is MORE work than writing it.</span>
                </div>
            </a>

            <!-- FEEDBACK FORM -->
            <?php if (!empty($submitted)): ?>
                <div class="feedback feedback--success content-item" style="text-align: center; padding: 2rem;">
                    <div style="font-size: 2.5rem; margin-bottom: 0.5rem;">&#10003;</div>
                    <p style="margin: 0; font-weight: 500;">Thanks! Your suggestion has been saved.</p>
                    <p style="margin: 0.5rem 0 0; opacity: 0.7; font-size: 0.875rem;">I'll review it for tomorrow's digest.</p>
                </div>
            <?php else: ?>
                <form method="POST" class="feedback content-item" data-feedback>
                    <button type="button" class="feedback__trigger" data-feedback-trigger>
                        Tell me what to change for tomorrow
                    </button>
                    <div class="feedback__content" data-feedback-content>
                        <textarea name="suggestion" class="feedback__textarea" placeholder="What would you like me to change? More of something, less of another, different topics..."></textarea>
                        <div class="feedback__actions">
                            <button type="button" class="btn btn--secondary" data-feedback-cancel>Cancel</button>
                            <button type="submit" class="btn btn--primary">Send</button>
                        </div>
                    </div>
                </form>
            <?php endif; ?>

        </div>
    </div>

    <script src="../../WEB/js/app.js"></script>
</body>
</html>
