<?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 — June 7, 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">June 7, 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">Google experiments with personal AI storytelling, a macOS voice tool with local processing, and a native Cloudflare dashboard.</p>

            <a href="https://labs.google/dreambeans" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Dreambeans by Google Labs — Daily AI stories from your Google apps</span>
                    <span class="card__desc">Synthesizes Gmail, Calendar, Photos, YouTube, and Search overnight to deliver personalized illustrated story collections. Uses Personal Intelligence and Nano Banana 2. Capped at 10-14 stories/day. US Google AI Ultra subscribers only.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 274</span>
                        <span>&middot;</span>
                        <span>labs.google</span>
                    </div>
                </div>
            </a>

            <a href="https://wave.mxv.sh" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Wave — Turn your voice into text, local or cloud</span>
                    <span class="card__desc">Hold a hotkey, speak, release — speech is transcribed and processed by AI anywhere on macOS. Inserts text where you're typing or shows a floating answer when you're reading. Works across all apps with selected text as context.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 236</span>
                        <span>&middot;</span>
                        <span>wave.mxv.sh</span>
                    </div>
                </div>
            </a>

            <a href="https://www.vishrutjha.com/cabinlink" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">CabinLink — Flight map from cabin Wi-Fi</span>
                    <span class="card__desc">Reads in-flight Wi-Fi manifests and shows route, position, altitude, speed, ETA, aircraft details, and destination weather. No login, no ads, no paid Wi-Fi pass required. iPhone, iPad, Mac, and Apple Vision Pro.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 205</span>
                        <span>&middot;</span>
                        <span>vishrutjha.com</span>
                    </div>
                </div>
            </a>

            <a href="https://apps.apple.com/us/app/smmall/id6758668530" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Smmall Cloud — Simple file sharing on iOS</span>
                    <span class="card__desc">Upload photos, videos, docs from iPhone/iPad, then share via clean link, QR code, or custom short URL. Organize into folders, collect uploads via File Inbox, and add your own branding to every share.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 158</span>
                        <span>&middot;</span>
                        <span>apps.apple.com</span>
                    </div>
                </div>
            </a>

            <a href="https://cloudflareinventory.moonquest.dev" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Inventory for Cloudflare — Map your entire Cloudflare account</span>
                    <span class="card__desc">Native macOS app that visualizes Workers, Pages, R2, D1, KV, Queues, Durable Objects, and Tunnels in one project-first view. Connect a read-only API token and trace every resource to its workload. No tracking, no analytics.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 7</span>
                        <span>&middot;</span>
                        <span>cloudflareinventory.moonquest.dev</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/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>
                <a href="https://reddit.com/r/artificial" class="source-tag">r/artificial</a>
            </div>

            <p class="section-intro content-item">WWDC eve, xAI enters the coding agent race, and OpenAI ships a security-first feature. Big week in AI policy too.</p>

            <a href="https://techcrunch.com/2026/06/06/what-to-expect-from-wwdc-2026-siris-highly-anticipated-revamp-and-apple-intelligence-updates/" class="card card--featured content-item">
                <div class="card--featured__header">
                    <img class="card__favicon" data-size="28" alt="">
                    <span class="card--featured__title">WWDC 2026 tomorrow: Rebuilt Siri, iOS 27, third-party AI integration</span>
                </div>
                <div class="card--featured__body">
                    <p>Apple's Monday keynote unveils a completely rebuilt Siri powered by a custom Google Gemini model ($1B/year license). Users will choose between ChatGPT, Gemini, or Claude for Apple Intelligence features. New standalone Siri app with conversation history, text+voice input, and Dynamic Island integration.</p>
                    <p>iOS 27, macOS 27, and AI agents that can book reservations, manage tasks, and control smart home devices. Tim Cook's final keynote as CEO.</p>
                </div>
                <div class="card--featured__meta">
                    <span>techcrunch.com</span> &middot; <span>r/singularity</span>
                </div>
            </a>

            <a href="https://x.ai/news/grok-build-cli" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Grok Build — xAI's terminal coding agent</span>
                    <span class="card__desc">Direct competitor to Claude Code launched for SuperGrok subscribers ($300/mo). Terminal-based with plan mode, clean diffs, parallel subagents, worktree support, and headless mode. Reads Claude Code instruction files and supports MCP servers via Agent Client Protocol.</span>
                </div>
            </a>

            <a href="https://openai.com/index/introducing-lockdown-mode-and-elevated-risk-labels-in-chatgpt/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">ChatGPT Lockdown Mode blocks data exfiltration</span>
                    <span class="card__desc">New security feature restricts outbound network access to prevent prompt injection attacks from stealing data. Disables web browsing, agent mode, file downloads, and live connectors when active. Available for personal, Business, and Enterprise accounts.</span>
                </div>
            </a>

            <a href="https://www.cnn.com/2026/06/05/business/anthropic-calls-for-ai-brake-pedal" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Anthropic warns AI needs a "brake pedal" before self-improvement</span>
                    <span class="card__desc">Anthropic co-founder says 80% of their coding is already done by Claude, could reach 100% in two years. Warns recursive self-improvement could outpace human oversight. Compares challenge to Cold War nuclear arms control — rival AI companies must cooperate on safety.</span>
                </div>
            </a>

            <a href="https://x.ai/news/grok-connectors" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Grok Connectors: SharePoint, GitHub, Notion + custom MCP</span>
                    <span class="card__desc">Grok Web integrates SharePoint, Outlook, OneDrive, Google Workspace, Notion, GitHub, and Linear. Also supports Bring Your Own MCP for connecting custom Model Context Protocol servers — letting Grok plug into any organization's existing tools.</span>
                </div>
            </a>

            <a href="https://openai.com/news/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">GPT-Rosalind: life sciences model beats GPT-5.5 on MedChemBench</span>
                    <span class="card__desc">Achieves 27.5% vs 25.1% accuracy while using 31% fewer tokens on genomics tasks. OpenAI also launched Rosalind Biodefense Initiative for pandemic preparedness research.</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/midjourney" class="source-tag">r/midjourney</a>
                <a href="https://reddit.com/r/comfyui" class="source-tag">r/comfyui</a>
            </div>

            <p class="section-intro content-item">Google's Dreambeans brings AI-generated visuals from personal data, and xAI enters image generation for video.</p>

            <a href="https://blog.google/innovation-and-ai/models-and-research/google-labs/dreambeans/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Google Dreambeans — AI-illustrated personal stories from your data</span>
                    <span class="card__desc">Uses Nano Banana 2 to generate illustrated lifestyle stories overnight from your Gmail, Calendar, Photos, YouTube, and Search. Not a scroll feed — finite daily collections designed to surface things you'd otherwise miss. Privacy controls let you choose which apps it accesses.</span>
                </div>
            </a>

            <a href="https://github.com/Comfy-Org/ComfyUI/releases" 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 v0.22 adds Subgraph nodes and Stable Audio 3.0</span>
                    <span class="card__desc">Package complex node combinations into reusable subgraph nodes for modular workflows. Also adds HiDream-O1 area conditioning and LTXV IC-LoRA support.</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/opensource" class="source-tag">r/opensource</a>
            </div>

            <p class="section-intro content-item">Self-hosted AI workspaces and Euro-sovereign office suite making moves.</p>

            <a href="https://github.com/tinyhumansai/openhuman" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">OpenHuman v0.56 — Self-hosted AI assistant with Memory Tree</span>
                    <span class="card__desc">Open-source desktop AI assistant surpassing 29K GitHub stars. Keeps your Memory Tree database, Markdown vault, and workspace config entirely on your machine. Supports custom core RPC URL for self-hosted backends. GPL-3 licensed.</span>
                </div>
            </a>

            <a href="https://nextcloud.com/blog/press_releases/sovereign-office-suite-euro-office-to-release-june-9/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Euro Office: sovereign office suite launching June 9</span>
                    <span class="card__desc">Update: Nextcloud's European sovereign office suite releases in two days. Self-hosted alternative to Google Workspace and Microsoft 365 with full GDPR compliance.</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>
