<?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 — January 21, 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">
    <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">January 21, 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">MCP frameworks, AI agent tooling, and hardware prototyping caught my attention today.</p>

            <a href="https://mastra.ai" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Mastra — TypeScript framework for AI agents</span>
                    <span class="card__desc">Open source from the Gatsby team. Workflows, memory, RAG, MCP support, observability, evals. 19.9k GitHub stars, 300k+ weekly npm downloads. "Python trains, TypeScript ships."</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 327</span>
                        <span>·</span>
                        <span>mastra.ai</span>
                    </div>
                </div>
            </a>

            <a href="https://gofastmcp.com" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">FastMCP 3.0 — Pythonic MCP server framework</span>
                    <span class="card__desc">V3.0 introduces Components, Providers, and Transforms abstractions. Authorization, background tasks, OpenTelemetry tracing. Powers ~70% of MCP servers across all languages.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 177</span>
                        <span>·</span>
                        <span>gofastmcp.com</span>
                    </div>
                </div>
            </a>

            <a href="https://modo.is" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Modo — Text to hardware prototype</span>
                    <span class="card__desc">Describe what you want and it generates validated parts, printable enclosures, firmware scaffolding, and assembly instructions. Constrains generation to real components.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 137</span>
                        <span>·</span>
                        <span>modo.is</span>
                    </div>
                </div>
            </a>

            <a href="https://templated.io" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">Templated — Video rendering API</span>
                    <span class="card__desc">Automated video, image, and PDF generation from templates. ~2 second render times. Integrates with Zapier/Make/n8n for marketing automation at scale.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 130</span>
                        <span>·</span>
                        <span>templated.io</span>
                    </div>
                </div>
            </a>

            <a href="https://relatedb.com" class="card card--ph content-item">
                <img class="card__favicon" data-size="32" alt="">
                <div class="card__content">
                    <span class="card__title">RelateDB — Offline-first DB schema designer</span>
                    <span class="card__desc">Free, browser-based visual ERD canvas. Import SQL/DBML, export for Postgres/MySQL. No accounts, no cloud, no limits — everything runs locally via IndexedDB.</span>
                    <div class="card--ph__meta">
                        <span class="card--ph__votes">&#9650; 111</span>
                        <span>·</span>
                        <span>relatedb.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/LocalLLaMA" class="source-tag">r/LocalLLaMA</a>
            </div>

            <p class="section-intro content-item">Big news from Anthropic, a new frontier AI lab, and important local LLM developments this week.</p>

            <a href="https://reddit.com/r/singularity/comments/1qiqatj/" class="card card--featured content-item">
                <div class="card--featured__header">
                    <img class="card__favicon" data-size="28" alt="">
                    <span class="card--featured__title">Dario Amodei: Recursive Self-Improvement in 6-12 Months</span>
                </div>
                <div class="card--featured__body">
                    <p>Anthropic CEO discusses AI systems becoming capable of improving their own training and architecture. With Opus 4.5 already SOTA at coding, 2026 could see AI materially contributing to its own development.</p>
                </div>
                <div class="card--featured__meta">
                    <span>reddit.com</span> · <span>r/singularity</span>
                </div>
            </a>

            <a href="https://www.anthropic.com/news/claude-new-constitution" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Anthropic Publishes Claude's Updated Constitution</span>
                    <span class="card__desc">Four core priorities: broadly safe, broadly ethical, compliant, genuinely helpful. Major shift from rules to explaining the "why" so Claude can exercise judgment in novel situations. Published under CC0.</span>
                </div>
            </a>

            <a href="https://techcrunch.com/2026/01/20/humans-a-human-centric-ai-startup-founded-by-anthropic-xai-google-alums-raised-480m-seed-round/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">New AI Lab Humans& Raises $480M Seed Round</span>
                    <span class="card__desc">Frontier lab from OpenAI/DeepMind/Anthropic/xAI alums. $4.5B valuation, backed by Nvidia and Bezos. Focus on human-centric AI with longer-horizon learning, planning, and memory.</span>
                </div>
            </a>

            <a href="https://www.camb.ai/blog-post/camb-ai-unveils-mars8-the-first-family-of-tts-models" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">camb.ai Launches MARS8 Text-to-Speech Family</span>
                    <span class="card__desc">First family of TTS models for real-world deployment. Four variants: Flash, Pro, Instruct, Nano. Users say it's the first TTS where you genuinely can't tell it's AI.</span>
                </div>
            </a>

            <a href="https://huggingface.co/microsoft/VibeVoice-ASR" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Microsoft Releases VibeVoice-ASR</span>
                    <span class="card__desc">9B parameter ASR model with diarization, multilingual support, and hotword detection. Transcribes up to 60 minutes in a single pass. MIT licensed — potential Whisper alternative.</span>
                </div>
            </a>

            <a href="https://github.com/ggml-org/llama.cpp/pull/18980" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">GLM 4.7 Flash Fix Merged into llama.cpp</span>
                    <span class="card__desc">Critical fix enables GLM 4.7 to work properly. Benchmarks: 88 t/s on single 4090, 3489 t/s prompt processing at 64k context. FlashAttention CUDA in progress.</span>
                </div>
            </a>

            <p class="section-intro content-item">Local inference setups and guides.</p>

            <a href="https://github.com/ai-infos/guidances-setup-8-mi50-glm47-minimax-m21/tree/main" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Run MiniMax-M2.1 on 8x AMD MI50 for $880</span>
                    <span class="card__desc">256GB VRAM achieving 26 t/s with MiniMax at 196k context. Full vllm-gfx906 setup guide included.</span>
                </div>
            </a>

            <a href="https://tammam.io/blog/llama-cpp-setup-with-claude-codex-cli/" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Run Claude Code CLI with GLM-4.7 Locally</span>
                    <span class="card__desc">Tutorial for llama.cpp's Anthropic API endpoint. Model swapping, memory management, Cloudflare tunnels.</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">GenAI — speech models and image generation workflows.</p>

            <a href="https://huggingface.co/FlashLabs/Chroma-4B" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Chroma 1.0 — Open Source Real-Time Speech-to-Speech</span>
                    <span class="card__desc">Sub-150ms latency, native speech-to-speech (no ASR→LLM→TTS pipeline), high-fidelity voice cloning from seconds of reference. 4B params, open alternative to OpenAI Realtime API.</span>
                </div>
            </a>

            <a href="https://reddit.com/r/StableDiffusion/comments/1qixi2l/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Developer Replaces CLIP with LLM for SDXL</span>
                    <span class="card__desc">Addresses CLIP's spatial adherence issues, 77-token limit, and negation problems. Uses LLM hidden states for direct conditioning — similar to Z-Image Turbo and Flux2 Klein approach.</span>
                </div>
            </a>

            <a href="https://github.com/yedp123/ComfyUI-Cinematic-Prompt" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Visual ComfyUI Node for Cinematic Shots</span>
                    <span class="card__desc">Visual interface for camera angles, lighting styles, focal lengths, film stocks, and color palettes. Real-time preview updates — learn and apply cinematography to image generation.</span>
                </div>
            </a>

            <a href="https://bfl.ai/blog/flux2-klein-towards-interactive-visual-intelligence" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Flux 2 Klein 9B for Product Photography</span>
                    <span class="card__desc">Handles complex lighting and textures realistically. NVFP4 version runs ~5 sec/image on RTX 5060 Ti.</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">Apps and software — macOS utilities and self-hosted tools.</p>

            <a href="https://reddit.com/r/macapps/comments/1qj7i6h/" class="card card--featured content-item">
                <div class="card--featured__header">
                    <img class="card__favicon" data-size="28" alt="">
                    <span class="card--featured__title">Lightweight 11MB PDF Editor for macOS/Linux</span>
                </div>
                <div class="card--featured__body">
                    <p>Native C++/PDFium editor (not annotator) that manipulates complex XObjects. Free with all features, 100% offline, never requests internet permissions. Flutter UI with native C++ backend.</p>
                </div>
                <div class="card--featured__meta">
                    <span>reddit.com</span> · <span>r/macapps</span>
                </div>
            </a>

            <a href="https://iordv.github.io/Droppy/" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Droppy — Open Source Notch App for MacBook</span>
                    <span class="card__desc">File shelf for drag-and-drop, mini music player, clipboard manager with OCR for text in images. Extensible via plugins. "First notch app I haven't deleted after a day."</span>
                </div>
            </a>

            <a href="https://rustcast.umangsurana.com" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">RustCast — Open Source Raycast Alternative</span>
                    <span class="card__desc">Rust-based launcher with app launching, emoji search, calculator, clipboard history. Free, no accounts, privacy-respecting. Built by a high school student with daily updates.</span>
                </div>
            </a>

            <a href="https://apps.apple.com/us/app/stingray-streaming/id6756280505" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Stingray — Native Jellyfin Client for Apple TV</span>
                    <span class="card__desc">Built on Apple APIs for speed. Quality adjustments, PiP, Apple audio enhancements, fuzzy search, top shelf integration. Swiftfin alternative with improved stability.</span>
                </div>
            </a>

            <a href="https://apps.apple.com/us/app/novaaccess-tailnet-tools/id6749938291" class="card card--link content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">NovaAccess — iOS Tailscale Without VPN Conflicts</span>
                    <span class="card__desc">Works alongside other VPNs via user-space networking. v1.1.0 adds Headscale support, native terminal, SSH key management. Solves iOS VPN conflict problem for self-hosters.</span>
                </div>
            </a>

            <p class="section-intro content-item">Quick hits — dev tools and terminal utilities.</p>

            <a href="https://github.com/wojciech-kulik/FlashSpace" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">FlashSpace — Instant macOS Workspace Switching</span>
                    <span class="card__desc">Eliminates slow Spaces animations. Users say they can't live without it.</span>
                </div>
            </a>

            <a href="https://github.com/Dark-Alex-17/managarr" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">Managarr v0.7.0 — Servarr TUI with Lidarr Support</span>
                    <span class="card__desc">Terminal manager for Sonarr, Radarr, Lidarr with vim keys. CLI mode for scripting.</span>
                </div>
            </a>

            <a href="https://github.com/nnnkkk7/lazyactions" class="card card--link is-compact content-item">
                <img class="card__favicon" data-size="18" alt="">
                <div class="card__content">
                    <span class="card__title">lazyactions — lazygit-style TUI for GitHub Actions</span>
                    <span class="card__desc">View workflows, check status, stream logs in terminal. Uses gh CLI auth.</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>
