<?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";

    $suggestionsFile = __DIR__ . '/../../SUGGESTIONS-FROM-USER.MD';
    file_put_contents($suggestionsFile, $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 — April 19, 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">
</head>
<body>
    <div class="container">
        <div class="main-card">

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

            <!-- ==================== PRODUCT HUNT ==================== -->
            <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">A native Gemini desktop app, 3D system widgets, and some solid developer tools today.</p>

            <a href="https://gemini.google/mac/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Gemini App for Mac — Native AI Desktop Assistant</span>
                    <span class="card__desc">Google's official Gemini app is now native on macOS. Option+Space brings it up anywhere — share your active window for contextual help, analyze local files, generate content. Apple Silicon only, macOS 15+.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 236</span>
                        <span>·</span>
                        <span>gemini.google</span>
                    </div>
                </div>
            </a>

            <a href="https://trytell.app/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Tell — 3D Desktop Widgets for Mac</span>
                    <span class="card__desc">Native macOS app that transforms system stats into interactive 3D objects. Monitor CPU load as a bubbling flask, battery as a color-changing orb, network speed, and app shortcuts. Smooth animations, minimal footprint.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 103</span>
                        <span>·</span>
                        <span>trytell.app</span>
                    </div>
                </div>
            </a>

            <a href="https://www.paperweight.email/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Paperweight — Digital Footprint Cleanup</span>
                    <span class="card__desc">Open-source, local-first app that scans your inbox to find every forgotten account. Bulk unsubscribe, breach alerts, pre-filled GDPR deletion requests. All data stays on your machine.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 101</span>
                        <span>·</span>
                        <span>paperweight.email</span>
                    </div>
                </div>
            </a>

            <a href="https://www.agglabs.com/loop" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">AGG Loop — Free Localhost Tunnels Forever</span>
                    <span class="card__desc">Rebuilt from Deposure with enterprise-grade security. Instant localhost-to-public-URL routing, zero config. 100% free forever — no bandwidth throttles, no session limits. Funded by Aeolink Group.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 84</span>
                        <span>·</span>
                        <span>agglabs.com</span>
                    </div>
                </div>
            </a>

            <a href="https://github.com/CohesiumAI/assemble" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Assemble — AI Config Generator for 21 Platforms</span>
                    <span class="card__desc">Open-source configuration generator for AI work. One /go command with cross-session memory and spec-driven workflows. Native configs for Cursor, Claude Code, Codex, Gemini CLI, and more. Zero runtime, MIT licensed.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 85</span>
                        <span>·</span>
                        <span>github.com</span>
                    </div>
                </div>
            </a>

            <!-- ==================== AI & LLMs ==================== -->
            <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/openai" class="source-tag">r/openai</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">A robot broke the human half-marathon record by 6 minutes, OpenAI's next model leaked, and Q1 layoff numbers are in.</p>

            <a href="https://techcrunch.com/2026/04/19/robots-beat-human-records-at-beijing-half-marathon/" class="card card--featured content-item">
                <div class="card--featured__header">
                    <img class="card__favicon" data-size="28" alt="">
                    <span class="card--featured__title">Humanoid Robot Breaks Half-Marathon World Record in Beijing</span>
                </div>
                <div class="card--featured__body">
                    <p>Honor's "Lightning" robot finished the Beijing half-marathon in 50 minutes 26 seconds — beating the human world record (57m20s held by Jacob Kiplimo) by over 6 minutes. Last year's fastest robot took 2 hours 40 minutes for the same distance.</p>
                    <p>Dozens of humanoid robots ran alongside 12,000 human runners, with nearly half navigating autonomously. Despite the breakthrough, some robots still stumbled at the start or veered into barriers.</p>
                </div>
                <div class="card--featured__meta">
                    <span>techcrunch.com</span> · <span>r/singularity</span>
                </div>
            </a>

            <a href="https://the-decoder.com/openais-leaked-memo-says-new-spud-model-will-make-all-its-products-significantly-better/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">GPT-5.5 "Spud" — OpenAI's Next Frontier Model Incoming</span>
                    <span class="card__desc">Pre-training completed March 24. Leaked internal memo says it'll make all OpenAI products "significantly better." Greg Brockman called it the result of "two years of research." Expected to compete directly with Claude Mythos. Release imminent.</span>
                </div>
            </a>

            <a href="https://www.tomshardware.com/tech-industry/tech-industry-lays-off-nearly-80-000-employees-in-the-first-quarter-of-2026-almost-50-percent-of-affected-positions-cut-due-to-ai" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">80,000 Tech Jobs Cut in Q1 2026 — Half Attributed to AI</span>
                    <span class="card__desc">Oracle led with 25K cuts, Amazon 16K, Meta 2.4K. The US accounts for 77% of global layoffs. Many cuts are pre-emptive — companies reallocating headcount to fund AI infrastructure, not just direct automation displacement.</span>
                </div>
            </a>

            <a href="https://github.com/ggml-org/llama.cpp/pull/19493" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">llama.cpp Merges Speculative Checkpointing</span>
                    <span class="card__desc">New feature enables speculative decoding with recurrent models via checkpoints. Users report 0-50% coding speedup with ngram params, and up to 665% improvement on repetitive tasks like Devstral. Reviewed and merged by ggerganov.</span>
                </div>
            </a>

            <p class="section-intro content-item">Quick hits — hardware delays, military robots, and open-source policy.</p>

            <a href="https://9to5mac.com/2026/04/19/new-mac-studio-may-not-arrive-until-october/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Bloomberg: No M5 Mac Studios Until October</span>
                    <span class="card__desc">Bad news for local LLM enthusiasts waiting for M5 Ultra. DeepSeek V4 may arrive before the hardware to run it.</span>
                </div>
            </a>

            <a href="https://united24media.com/latest-news/ukraine-moves-to-replace-frontline-soldiers-with-25000-ground-robots-18047" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Ukraine Plans to Field 25,000 Ground Robots on Frontlines</span>
                    <span class="card__desc">Major military AI deployment to reduce human casualties. Autonomous ground robots moving from prototype to production scale.</span>
                </div>
            </a>

            <a href="https://www.wsj.com/opinion/to-beat-china-embrace-open-source-ai-a211bf59" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">WSJ: To Beat China, Embrace Open-Source AI</span>
                    <span class="card__desc">Op-ed argues the US should lean into open-source AI rather than restrict it — closed models create vulnerabilities China can exploit.</span>
                </div>
            </a>

            <!-- ==================== GenAI & Media ==================== -->
            <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">Flux Klein continues dominating the open-source image editing conversation.</p>

            <a href="https://www.reddit.com/r/StableDiffusion/comments/1spq72f/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Flux Klein Outperforms Closed Models for Image Editing</span>
                    <span class="card__desc">Community argues open-source Flux Klein 9B with ComfyUI gives more precision than Nano Banana or GPT Image for serious editing. Mask-based editing, ControlNet pipelines, and local execution beat prompt-only closed-model approaches.</span>
                </div>
            </a>

            <a href="https://github.com/capitan01R/ComfyUI-Flux2Klein-Enhancer" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Flux2Klein KSampler Node — Better Color Accuracy</span>
                    <span class="card__desc">New ComfyUI custom node using the raw Klein formula for more accurate color reproduction. Sample workflows included.</span>
                </div>
            </a>

            <a href="https://www.reddit.com/r/StableDiffusion/comments/1spqczz/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">ZPix — Open-Source Image Generator Adds Klein Editing</span>
                    <span class="card__desc">Free, local image generator now supports Flux2 Klein 4B editing. Drag reference images, auto-save, searchable prompt history. ~10s per 720p on RTX 3070.</span>
                </div>
            </a>

            <!-- ==================== Apps & Software ==================== -->
            <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/SideProject" class="source-tag">r/SideProject</a>
            </div>

            <p class="section-intro content-item">Mac utilities, a Google Timeline replacement, and a Readwise-killing side project.</p>

            <a href="https://apps.apple.com/ua/app/ccccorners/id6754601983" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">CCCCorners — Making macOS Hot Corners Actually Useful</span>
                    <span class="card__desc">Mac utility that upgrades Hot Corners with custom actions, window snapping, and app launching. Recent updates added new triggers and improved reliability. One-time purchase. Getting traction across YouTube channels.</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 v4.0 — Self-Hosted Google Timeline Alternative</span>
                    <span class="card__desc">Major release of this privacy-first location tracker. Visit detection, trip analysis, transport mode detection (walk/cycle/drive). Imports from GPX, Google Takeout, OwnTracks. Simplified stack — RabbitMQ removed. Docker-ready.</span>
                </div>
            </a>

            <a href="https://www.reddit.com/r/macapps/comments/1sq8mxp/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Canto v0.5.11 — Local AI Notebook for Mac</span>
                    <span class="card__desc">Free note-taking app with private on-device AI. Now has @ mentions, slash commands, and skills. Notes, wikilinks, daily notes, code notebooks. One-time license for unlimited AI. Nothing leaves your Mac.</span>
                </div>
            </a>

            <a href="https://luminaria.uk" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Luminaria — Private Readwise Alternative for E-Reader Highlights</span>
                    <span class="card__desc">Import highlights from KOReader, Kobo, Kindle. Full-text search, Obsidian export free. Built because paying £8/month to browse your own highlights felt wrong.</span>
                </div>
            </a>

            <a href="https://apps.apple.com/app/search-panel-search-console/id6745721627" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Search Panel — Native Search Console for macOS & iOS</span>
                    <span class="card__desc">Native app for Google Search Console with pop-out graphs, site management, and sitemap controls. Lifetime purchase.</span>
                </div>
            </a>

            <a href="https://www.reddit.com/r/macapps/comments/1spni6c/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Open-Source Menu Bar Banking App for Germany/EU</span>
                    <span class="card__desc">Free Mac menu bar app showing account balances at a glance. Multiple German and EU banks supported, UK coming soon. Open source, built by a fintech dev.</span>
                </div>
            </a>

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