<?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 — December 27, 2025</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">
</head>
<body>
    <div class="container">
        <div class="main-card">

            <!-- Page Header -->
            <header class="page-header content-item">
                <span class="page-header__date">December 27, 2025</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">Local AI models and a slick e-ink accessory stood out today.</p>

            <a href="https://169pi.ai" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Alpie Core — 4-bit reasoning model with frontier performance</span>
                    <span class="card__desc">32B reasoning model at 4-bit precision. Claims to beat GPT-4o and Claude 3.5 Sonnet on reasoning benchmarks. Apache 2.0, OpenAI-compatible API, 65K context. Free tier with 5M tokens. Runs on 16-24GB VRAM.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 187</span>
                        <span>·</span>
                        <span>169pi.ai</span>
                    </div>
                </div>
            </a>

            <a href="https://xteink.com" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Xteink X4 — Ultra light magnetic E-reader for phone</span>
                    <span class="card__desc">74g e-ink reader that magnetically attaches to your phone. 4.9mm thin, paper-like display, physical nav keys. $69, no subscription. Week-long battery.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 156</span>
                        <span>·</span>
                        <span>xteink.com</span>
                    </div>
                </div>
            </a>

            <a href="https://yearincode.xyz" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Year in Code — Spotify Wrapped for Claude Code</span>
                    <span class="card__desc">Visualize your Claude Code usage: tokens, streaks, top models. Run npx ccusage and upload JSON. 100% privacy-first, open source.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 14</span>
                        <span>·</span>
                        <span>yearincode.xyz</span>
                    </div>
                </div>
            </a>

            <a href="https://github.com/repplus/rep" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">rep+ — AI security copilot for HTTP requests</span>
                    <span class="card__desc">Burp Suite Repeater inside Chrome DevTools. No proxy setup. Capture/replay HTTP with AI attack suggestions via Claude. Secret scanner, Intruder-style attack modes.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 12</span>
                        <span>·</span>
                        <span>github.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/openai" class="source-tag">r/openai</a>
                <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>
            </div>

            <p class="section-intro content-item">Big week for AI. Anthropic's Claude Code team is shipping features written entirely by Opus 4.5, and new open-source models keep pushing boundaries.</p>

            <!-- Featured Card -->
            <a href="https://x.com/bcherny/status/2004887829252317325" class="card card--featured content-item">
                <div class="card--featured__header">
                    <img class="card__favicon" data-size="28" alt="">
                    <span class="card--featured__title">Claude Code Team Shipping 100% Opus 4.5 Features</span>
                </div>
                <div class="card--featured__body">
                    <p>Boris Cherny (Anthropic engineer) shares that the Claude Code team is now shipping features written 100% by Opus 4.5. Not recursive self-improvement, but a significant milestone in AI's ability to write production code without human intervention.</p>
                </div>
                <div class="card--featured__meta">
                    <span>x.com</span> · <span>r/singularity</span>
                </div>
            </a>

            <a href="https://huggingface.co/tencent/WeDLM-8B-Instruct" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Tencent WeDLM 8B — Diffusion Language Model</span>
                    <span class="card__desc">Diffusion-based LLM that runs 3-6x faster than vLLM-optimized Qwen3-8B on math reasoning. Apache 2.0 license. A new paradigm for faster inference that's worth watching.</span>
                </div>
            </a>

            <a href="https://huggingface.co/MiniMaxAI/MiniMax-M2.1" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">MiniMax M2.1 is Open Source</span>
                    <span class="card__desc">10B active / 230B total MoE architecture. Claims SOTA on SWE/VIBE benchmarks, beating Gemini 3 Pro and Claude Sonnet 4.5. Some community skepticism about the benchmarks, but worth testing.</span>
                </div>
            </a>

            <a href="https://groq.com/newsroom/groq-and-nvidia-enter-non-exclusive-inference-technology-licensing-agreement-to-accelerate-ai-inference-at-global-scale/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">NVIDIA and Groq Enter $20B Licensing Deal</span>
                    <span class="card__desc">Non-exclusive licensing agreement (not acquisition as initially reported). NVIDIA gets access to Groq's LPU inference technology. Signals major investment in fast inference infrastructure.</span>
                </div>
            </a>

            <p class="section-intro content-item">Quick hits from research.</p>

            <a href="https://arxiv.org/abs/2512.18552" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Software Agents Self Improve Without Human Labeled Data</span>
                    <span class="card__desc">SWE-RL research paper on self-improving agents. Progress toward autonomous AI systems.</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">Quiet week for GenAI. One infrastructure note worth tracking.</p>

            <a href="https://github.com/comfy-org" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">ComfyUI Repo Moving to Comfy-Org on Jan 6</span>
                    <span class="card__desc">Repository migrating from comfyanonymous to Comfy-Org organization. Redirects will be automatic. Update your bookmarks.</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>
            </div>

            <p class="section-intro content-item">A new MCP-compatible Mac app that's directly relevant to Claude Code users.</p>

            <a href="https://macuse.app" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Macuse — AI Controls Native Mac Apps</span>
                    <span class="card__desc">Let Claude, Cursor, or any MCP-compatible AI read and control Mail, Calendar, Notes, and other native Mac apps. Works with Raycast. V1.0 just shipped. Perfect for power users who want AI to interact with system apps.</span>
                </div>
            </a>


            <!-- =================================================================
                 FEEDBACK SECTION
                 ================================================================= -->
            <?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>
