<?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 — Dec 31, 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">
    <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">December 31, 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">New Year's Eve brought developer tools, unique hardware, and AI utilities.</p>

            <a href="https://www.npmjs.com/package/wink-cursor" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">wink-cursor — Playful React Cursor</span>
                    <span class="card__desc">Lightweight React component that replaces your cursor with an emoji that winks on click. Customizable size, duration, and images. Zero design effort for landing pages and creative projects.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 229</span>
                        <span>·</span>
                        <span>npmjs.com</span>
                    </div>
                </div>
            </a>

            <a href="https://apps.apple.com/us/app/imajourn/id6755799080" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Imajourn — Wave Physics Sandbox</span>
                    <span class="card__desc">Interactive simulation bringing wave and sound physics to life. Features Chladni patterns, cymatics, audio reactivity, and 3D particle sim. Works on iOS 17+ and macOS (Apple Silicon).</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 171</span>
                        <span>·</span>
                        <span>apple.com</span>
                    </div>
                </div>
            </a>

            <a href="https://vidcard.tech/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Vidcard — Video Business Card</span>
                    <span class="card__desc">Physical business card with HD screen, NFC tracking, and wireless charging. Ultra-thin (&lt;5mm). Inspired by Call of Duty's Atlas card. Tracks who views your profile.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 139</span>
                        <span>·</span>
                        <span>vidcard.tech</span>
                    </div>
                </div>
            </a>

            <a href="https://tripreplay.app/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Trip Replay — Animated Travel Videos</span>
                    <span class="card__desc">Create cinematic map animations for TikTok/Reels. Add stops, pick transport mode, and generate globe fly-throughs. Free, browser-based, no sign-up. Uses WebCodecs for fast export.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 128</span>
                        <span>·</span>
                        <span>tripreplay.app</span>
                    </div>
                </div>
            </a>

            <a href="https://inspiration.minddock.ai" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Mind Dock Inspiration — AI Trends Dashboard</span>
                    <span class="card__desc">Live AI trends aggregator pulling from HuggingFace, ArXiv, and GitHub. Delivers trending models, research, and news in one place for staying current in the AI landscape.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 93</span>
                        <span>·</span>
                        <span>minddock.ai</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">End of 2025 with a bang — Qwen drops a major image model, multiple new LLMs, and OpenAI's ad plans draw criticism.</p>

            <a href="https://huggingface.co/Qwen/Qwen-Image-2512" class="card card--featured content-item">
                <div class="card--featured__header">
                    <img class="card__favicon" data-size="28" alt="">
                    <span class="card--featured__title">Qwen-Image-2512 — Strongest Open-Source Image Model</span>
                </div>
                <div class="card--featured__body">
                    <p>Alibaba ends 2025 with Qwen-Image-2512, now the strongest open-source text-to-image model. Features dramatically reduced "AI look" for human subjects, finer natural textures, and improved text rendering.</p>
                    <p>Tested in 10,000+ blind rounds on AI Arena, competitive with Imagen 4 and Gemini 3 Pro. GGUF available via Unsloth. Runs on CPU (55min for 512px) or GPU.</p>
                </div>
                <div class="card--featured__meta">
                    <span>huggingface.co</span> · <span>r/LocalLLaMA</span>
                </div>
            </a>

            <a href="https://huggingface.co/upstage/Solar-Open-100B" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Solar-Open-100B released</span>
                    <span class="card__desc">Upstage drops a 102B MoE model (12B active) with commercial license. Trained on 19.7 trillion tokens. Unlike Solar Pro series, this version allows commercial use. Good size for local inference.</span>
                </div>
            </a>

            <a href="https://huggingface.co/tencent/Youtu-LLM-2B" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Tencent Youtu-LLM-2B — Tiny Agentic Model</span>
                    <span class="card__desc">Tiny 1.96B parameter model with 128k context and native agentic capabilities. Uses MLA architecture. Outperforms similar-size models on commonsense, STEM, coding. Particularly strong at end-to-end agent tasks.</span>
                </div>
            </a>

            <a href="https://huggingface.co/Tongyi-MAI/MAI-UI-8B" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">MAI-UI — GUI Agent Foundation Models</span>
                    <span class="card__desc">Alibaba releases a family of GUI agent models (2B, 8B, 32B, 235B-A22B). Features device-cloud collaboration, MCP tool calls, and online RL training. Designed for computer use and UI automation.</span>
                </div>
            </a>

            <a href="https://futurism.com/artificial-intelligence/openai-chatgpt-sponsored-ads" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">OpenAI planning ads in ChatGPT</span>
                    <span class="card__desc">Reports indicate OpenAI will introduce sponsored content "prioritized" in conversations. Community reaction strongly negative, calling it "enshittification." Concerns about model alignment with advertiser interests.</span>
                </div>
            </a>

            <p class="section-intro content-item">Quick hits — tools and smaller updates.</p>

            <a href="https://github.com/chethanreddy1/infer" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">infer — Pipe anything to an LLM</span>
                    <span class="card__desc">~200 lines of C. Unix philosophy: ps aux | infer "what's eating my RAM". Works with OpenAI-compatible APIs.</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">GenAI — Qwen-Image-2512 dominates discussion, plus practical workflows for Z-Image Turbo.</p>

            <a href="https://civitai.com/models/2260472?modelVersionId=2544604" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">ZiT Studio — Complete Z-Image Turbo Workflow</span>
                    <span class="card__desc">Comprehensive ComfyUI workflow for Z-Image Turbo. Features generate, inpaint, detailer, and upscale (latent + tiled + SeedVR2). Refined over a month for maximum quality outputs.</span>
                </div>
            </a>

            <a href="https://reddit.com/r/StableDiffusion/comments/1q07foa/best_animeanything_to_real_workflow/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Best Anime-to-Real Workflow</span>
                    <span class="card__desc">High-quality anime-to-photorealistic conversion workflow. Avoids plastic skin and wig-like hair. More consistent output with varied faces instead of same-face syndrome.</span>
                </div>
            </a>

            <a href="https://huggingface.co/lightx2v/Qwen-Image-2512-Lightning" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Qwen-Image-2512 Lightning LoRA</span>
                    <span class="card__desc">4-step acceleration LoRA by LightX2V. Dramatically reduces generation time while maintaining quality.</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>
                <a href="https://reddit.com/r/SideProject" class="source-tag">r/SideProject</a>
            </div>

            <p class="section-intro content-item">Year-end picks — best Mac apps discussion, self-hosted tools, and new utilities.</p>

            <a href="https://reddit.com/r/macapps/comments/1q06914/whats_the_best_mac_app_of_2025/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Best Mac App of 2025 — Community Picks</span>
                    <span class="card__desc">167 comments discussing the standout Mac apps of 2025. Great resource for discovering apps to try in 2026. Covers productivity, creativity, and organization tools.</span>
                </div>
            </a>

            <a href="https://github.com/terry90/soulbeet" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Soulbeet 0.2.2 — slskd + beets Bridge</span>
                    <span class="card__desc">Web app for easy music downloading and organization. v0.2.2 adds overhauled UI, proper mobile support, and smaller Docker image. Bridges Soulseek (via slskd) with beets tagging.</span>
                </div>
            </a>

            <a href="https://github.com/Turbootzz/Nimbus" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Nimbus — Modern Homelab Dashboard</span>
                    <span class="card__desc">Open-source dashboard with drag-and-drop widgets. Alternative to Homarr/Dashy. Go backend + Next.js frontend. Lightweight, UI-configurable without YAML editing.</span>
                </div>
            </a>

            <p class="section-intro content-item">Quick hits — smaller utilities.</p>

            <a href="https://github.com/eznix86/mssh" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">mssh — SSH behind NAT without VPN</span>
                    <span class="card__desc">Keep SSH access during Tailscale/Headscale migrations. Works with reverse SSH proxies.</span>
                </div>
            </a>

            <a href="https://github.com/WrogiStefan/desktop-2fa" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">desktop-2fa — Offline 2FA Authenticator</span>
                    <span class="card__desc">No phone, cloud, or vendor lock-in. Stores locally, uses open standards, auditable code.</span>
                </div>
            </a>

            <a href="https://domusratio.moshmage.com" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Domus Ratio — Family Finance Manager</span>
                    <span class="card__desc">Self-hostable finance and calendar app. Privacy-focused alternative to data-selling 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>
