<?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 — May 31, 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">May 31, 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">Local-first AI tools dominate today. Media search, memory layers, and browser automation — all running on your machine.</p>

            <a href="https://www.clipto.com/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Clipto — Fully local, natural language search over terabytes of media</span>
                    <span class="card__desc">Like Google Photos, but fully local. Tags people, dialogue, and scenes across video/audio/files. Search by describing what you're looking for. M1+ Mac with 24GB+. Indexed 2TB in 24 hours on M5.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 361</span>
                        <span>&middot;</span>
                        <span>clipto.com</span>
                    </div>
                </div>
            </a>

            <a href="https://github.com/rahilp/second-brain-cloudflare" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Second Brain for AI — Persistent memory for Claude, ChatGPT & Cursor via MCP</span>
                    <span class="card__desc">Self-hosted memory layer on Cloudflare Workers (free tier). Store context once, recall by meaning across any MCP client. Includes Obsidian plugin, Chrome extension, CLI. One-click deploy, MIT licensed.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 228</span>
                        <span>&middot;</span>
                        <span>github.com</span>
                    </div>
                </div>
            </a>

            <a href="https://www.tabtasker.com/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">TabTasker — 50+ offline utilities running 100% in your browser</span>
                    <span class="card__desc">Edit PDFs, process images, transcribe audio, fix JSON — all via WebAssembly and ONNX Runtime. Zero uploads, everything stays on your device. Free, no signup.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 202</span>
                        <span>&middot;</span>
                        <span>tabtasker.com</span>
                    </div>
                </div>
            </a>

            <a href="https://web-clipper-for-notebooklm.com/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Web Clipper for NotebookLM — Clip in, export out</span>
                    <span class="card__desc">One-click save any page, PDF, AI chat, Reddit thread, or YouTube playlist to NotebookLM. Export flashcards to Anki, mind maps to Obsidian Canvas, reports to Word/PDF. 25K+ users.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 125</span>
                        <span>&middot;</span>
                        <span>web-clipper-for-notebooklm.com</span>
                    </div>
                </div>
            </a>

            <a href="https://uindow.com/" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Uindow — Programmable browser with local LLM automation</span>
                    <span class="card__desc">Record automations with no-code recorder, optionally call a local LLM for AI reasoning. Trusted interactions, exported as .js.yaml. Free for personal use, source-available on GitHub.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 12</span>
                        <span>&middot;</span>
                        <span>uindow.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/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">Anthropic's Dynamic Workflows unlock massive parallelism in Claude Code, Microsoft readies its own coding model, and Anthropic overtakes OpenAI in valuation.</p>

            <a href="https://www.anthropic.com/news/claude-opus-4-8" 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 Opus 4.8 Ships Dynamic Workflows — Up to 1,000 Parallel Subagents</span>
                </div>
                <div class="card--featured__body">
                    <p>Update: Dynamic Workflows lets Claude Code orchestrate up to 1,000 parallel subagents (16 concurrent). The plan lives in script variables, not Claude's context, so only the final answer returns to your session.</p>
                    <p>Jarred Sumner (Bun creator) used it to migrate ~750K lines of Rust in 11 days. SWE-bench Pro up to 69.2%, USAMO 2026 math at 96.7%. Requires Claude Code v2.1.154+, available on Max/Team/Enterprise.</p>
                </div>
                <div class="card--featured__meta">
                    <span>anthropic.com</span> &middot; <span>r/singularity</span>
                </div>
            </a>

            <a href="https://cybernews.com/ai-news/microsoft-new-homegrown-ai-models-copilot-github/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Microsoft to Unveil Homegrown Coding Model for GitHub Copilot at Build</span>
                    <span class="card__desc">Project Polaris — Microsoft's first in-house coding model, debuting at Build 2026 (June 2-3). Led by Mustafa Suleyman's division, features chain-of-thought reasoning for multi-file refactoring. Part of broader move to reduce OpenAI dependence.</span>
                </div>
            </a>

            <a href="https://www.pymnts.com/artificial-intelligence-2/2026/anthropic-eyes-900-billion-valuation-as-quarterly-revenue-doubles/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Anthropic Surpasses OpenAI as Most Valuable AI Startup at $900B</span>
                    <span class="card__desc">Raised $30B+ at $900B valuation, surpassing OpenAI's $852B. Q2 2026 revenue expected at $10.9B (doubled QoQ). Annualized run rate targeting $50B by end of June. IPO exploration as early as October.</span>
                </div>
            </a>

            <a href="https://wavespeed.ai/blog/posts/gemini-3-5-pro-coming-next-month/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Gemini 3.5 Pro Expected June 2026 — Flash Already Shipping</span>
                    <span class="card__desc">Sundar Pichai confirmed "give us until next month" at I/O 2026. Flash is GA since May 19. Pro entering Vertex AI allowlist for enterprise GCP customers. Prediction markets price late-June launch.</span>
                </div>
            </a>

            <a href="https://github.com/openclaw/openclaw" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">OpenClaw Crosses 300K GitHub Stars — Run Your AI Assistant Locally</span>
                    <span class="card__desc">Personal AI assistant on your own devices across WhatsApp, Telegram, Slack, Discord, iMessage, and 15+ channels. Bring your own API key (Claude, DeepSeek, GPT). Fastest-growing GitHub project ever.</span>
                </div>
            </a>

            <a href="https://codersera.com/blog/local-ai-runtimes-may-2026-update/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">MLX 0.31 + macOS 26.2 Unlock M5 Neural Accelerators — 4x Faster TTFT</span>
                    <span class="card__desc">Major local AI runtime updates: MLX unlocks M5 Neural Accelerators. Ollama 0.24.0 adds Gemma 4 MTP speculative decoding. vLLM v0.21 stabilizes DeepSeek V4 on Blackwell.</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">AMD goes all-in on ComfyUI acceleration, Kling 3.0 dominates video generation, and ComfyUI ships audio + geometry support.</p>

            <a href="https://www.amd.com/en/blogs/2026/amd-comfyui-advancing-professional-quality-generative-ai-ryzen-radeon.html" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">AMD x ComfyUI: Professional-Quality GenAI on Ryzen + Radeon</span>
                    <span class="card__desc">AMD partners with ComfyUI for native ROCm acceleration on consumer Radeon GPUs and Instinct MI355X. Official ROCm support now on Windows for ComfyUI Desktop. MI355X outperforms B200 for ComfyUI workflows.</span>
                </div>
            </a>

            <a href="https://llm-stats.com/leaderboards/best-ai-for-video-generation" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Kling 3.0 Leads Video Generation Arena — 2127 Elo Score</span>
                    <span class="card__desc">As of May 31, Kling v3 by Kuaishou tops text-to-video (2127 arena score, 731 blind votes). Seedance 2.0 Fast at 1993, Happy Horse 1.0 at 1962. Veo 3.1 praised for realism + native audio.</span>
                </div>
            </a>

            <a href="https://docs.comfy.org/changelog" 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.0 — Stable Audio 3.0, HiDream-O1, MoGe Models</span>
                    <span class="card__desc">Released May 20. Stable Audio 3.0 support, MoGe geometry processing, HiDream-O1 with area conditioning, LTX2.3 VRAM optimization, downscaled IC-LoRA for LTXV.</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">Developer tools for the AI coding era — repo guardrails, JSON fixers, and a full open-source alternative database.</p>

            <a href="https://aiopentec.github.io/opensource-alternative-finder/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Open Source Alternative Finder — Self-Hosting Ratings for 60+ Tools</span>
                    <span class="card__desc">Daily-updated comparison site: pricing tables, self-hosting difficulty (1-5 scale), step-by-step migration guides, and AI verdicts. Built by a solo dev on $0/month infra (GitHub Actions + Groq AI + Pages).</span>
                </div>
            </a>

            <a href="https://www.producthunt.com/products/harness-starter-kit" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Harness Starter Kit — Repo Guardrails for AI Coding Agents</span>
                    <span class="card__desc">Turn fragile AI coding prompts into durable repository rules. AGENTS.md, drift checks, failure memory, adoption reports. Works with Claude Code, Cursor, Codex, Copilot. Prompt-first approach.</span>
                </div>
            </a>

            <a href="https://jsonkit.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">JSON Kit — Fix Broken AI JSON + 6 More Browser Tools</span>
                    <span class="card__desc">Fixes trailing commas, single quotes, Python literals, markdown fences, truncated output from LLMs. Also: formatter, JSON-to-TypeScript, JSON-to-Zod, JSONPath, diff. 100% local, free.</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>
