Weekly AI Digest Generator — DataGate.ch

:root {–bg:#0a0a0f;–surface:#12121a;–surface2:#1a1a28;–border:#2a2a3a;–text:#e4e4ef;–dim:#8888a0;–accent:#6366f1;–accent2:#818cf8;–radius:12px;}
* {margin:0;padding:0;box-sizing:border-box;}
body {font-family:-apple-system,BlinkMacSystemFont,’Segoe UI‘,system-ui,sans-serif;background:var(–bg);color:var(–text);line-height:1.7;-webkit-font-smoothing:antialiased;}
a {color:var(–accent2);text-decoration:none;}
.container {max-width:800px;margin:0 auto;padding:2rem 1.5rem;}
h1 {font-size:1.6rem;font-weight:800;margin-bottom:0.5rem;}
h2 {font-size:1.2rem;font-weight:700;margin:1.5rem 0 0.75rem;border-bottom:1px solid var(–border);padding-bottom:0.4rem;}
p {margin-bottom:1rem;color:var(–dim);}
.features {display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0;}
.feature {background:var(–surface);border:1px solid var(–border);border-radius:var(–radius);padding:1rem;}
.feature h3 {font-size:0.95rem;margin-bottom:0.35rem;}
.feature p {font-size:0.82rem;margin:0;}
.code-block {background:var(–surface2);border:1px solid var(–border);border-radius:var(–radius);padding:1rem;overflow-x:auto;font-family:’SF Mono‘,Consolas,monospace;font-size:0.82rem;line-height:1.5;color:var(–accent2);margin:1rem 0;}

🤖 Weekly AI Digest Generator v2

Reviewed: June 4, 2026

An automated content curation system that scrapes AI news from multiple sources and generates a formatted weekly digest ready for publication.

How It Works

The script fetches data from two primary sources and compiles them into a clean, mobile-responsive HTML digest:

📰 Hacker News

Scans the top 50 HN stories and filters for AI-related content based on title keywords. Ranks by community score.

📄 arXiv API

Fetches the 10 most recent papers from cs.AI, cs.LG, and cs.CL categories. Includes title, abstract, and link.

Usage

python3 weekly_digest_v2.py

Output: /tmp/weekly_digest_v2.html — ready to publish via the dg/v1/publish endpoint.

Files

  • /tmp/weekly_digest_v2.py — Main script
  • /tmp/weekly_digest_v2.html — Generated digest HTML
  • /tmp/digest_meta.json — Raw data (stories + papers)

Version History

  • v2 (May 2026) — Top 50 HN scan (was top 20), added arXiv integration, dark theme HTML template
  • v1 (Earlier) — Basic HN-only digest

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert