惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Hacker News
The Hacker News
N
News and Events Feed by Topic
Simon Willison's Weblog
Simon Willison's Weblog
博客园 - 三生石上(FineUI控件)
V
Vulnerabilities – Threatpost
T
Tenable Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Proofpoint News Feed
Security Latest
Security Latest
博客园 - 【当耐特】
腾讯CDC
The Cloudflare Blog
T
Tailwind CSS Blog
L
LINUX DO - 热门话题
博客园_首页
P
Palo Alto Networks Blog
人人都是产品经理
人人都是产品经理
P
Privacy & Cybersecurity Law Blog
阮一峰的网络日志
阮一峰的网络日志
有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
S
Securelist
博客园 - Franky
C
Cyber Attacks, Cyber Crime and Cyber Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
S
Schneier on Security
Apple Machine Learning Research
Apple Machine Learning Research
A
Arctic Wolf
P
Privacy International News Feed
Cisco Talos Blog
Cisco Talos Blog
C
Cybersecurity and Infrastructure Security Agency CISA
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Heimdal Security Blog
Help Net Security
Help Net Security
博客园 - 叶小钗
月光博客
月光博客
I
Intezer
Cyberwarzone
Cyberwarzone
美团技术团队
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Manifest-driven dashboard so I'd never maintain another INDEX.md (Flask)
孫昊 · 2026-05-06 · via DEV Community

dev.to article #29 (paste-ready) — I built a manifest-driven dashboard so I'd never maintain another INDEX.md

Calendar: 2026-06-12 09:00 PT
Tags: #indie #python #flask #productivity #dashboard
Word count: 1850
Cover image: 1000×420 — dashboard screenshot with TODO/Check/Run panels


TL;DR

After 100 ticks of indie hacking, I had 50+ markdown files (research, drafts, SOPs, code) scattered across INBOX/, reports/, products/, and 6 Swift app repos. My INDEX.md was always stale because I'd ship a file and forget to update the index.

So I rebuilt the index. Manifest-first: every shipped asset gets YAML frontmatter, the dashboard auto-scans, no manual maintenance. One refresh button = always current.

Here's the architecture, the code, and what surprised me.

The problem (you've felt this)

Open your indie hacker repo. You probably have:

  • INBOX/ with 20+ "what to do today" notes
  • reports/ with 50+ research docs and paste-ready content
  • products/ with Gumroad SKU drafts and B2B kits
  • 5+ scaffold repos with READMEs nobody reads

You wrote a MASTER-INDEX.md once. It's stale within 3 days because every new asset means manually editing the index. Eventually you stop maintaining it. Three months later you can't find your own work.

I had this exact problem at Tick #100. So I built the alternative.

The principle: manifest-first

Every asset carries its own metadata. The dashboard reads that metadata at runtime. No central registry. Ship a file → it appears in the dashboard immediately.

This is the same pattern Claude Code uses for skills (SKILL.md with YAML frontmatter), Hugo uses for pages, Jekyll uses for posts, Docusaurus uses for docs. It's the 2026 industry default for content-rich systems with auto-discovery.

What did I add? An indie-hacker-specific schema and a Flask dashboard that scans my project tree.

The schema (10 categories, 5 required fields, 16 actions)

---
id: ios-pricing-decision
title: iOS Buyout vs Subscription Decision
category: ios-pricing      # one of 10 enum values
priority: P0               # P0/P1/P2/P3
status: ready              # ready/scaffold/draft/done
eta_min: 30
revenue_usd_month: "200-500"
actions: [preview, copy-clipboard, open-asc]
tags: [ios, pricing, paywall]
created: 2026-05-06
---

# iOS Buyout vs Subscription Decision
...

Enter fullscreen mode Exit fullscreen mode

Required: id, title, category, priority. Optional: eta_min, revenue_usd_month, actions, tags, ice_score, tier_price_usd, command, depends_on.

Categories form three semantic groups in the dashboard:

  1. TODOtodo (P0/P1 user must execute)
  2. Checkidea, roadmap (user reviews + approves)
  3. Runautomation, runnable scripts with command field

This maps to the user's role: strategic check + product review. Everything else CC (my agent) executes autonomously.

The scanner (~50 lines that drive everything)

import os
import re
import yaml
from pathlib import Path

MD_FRONTMATTER = re.compile(r"^---\s*\n(.*?)\n---\s*\n", re.DOTALL)
PY_FRONTMATTER = re.compile(r'"""[\s\S]*?---manifest---\s*\n(.*?)\n---\s*\n', re.DOTALL)

SKIP_DIRS = {".git", "node_modules", "__pycache__", "archive", "dashboard"}

def parse_frontmatter(file_path: Path) -> dict | None:
    if file_path.suffix not in {".md", ".py", ".sh", ".yaml"}:
        return None
    content = file_path.read_text(encoding="utf-8", errors="replace")[:4000]
    if file_path.suffix == ".md":
        m = MD_FRONTMATTER.match(content)
    elif file_path.suffix == ".py":
        m = PY_FRONTMATTER.search(content)
    else:
        return None
    if not m:
        return None
    return yaml.safe_load(m.group(1))

def scan(root: Path):
    discovered = []
    for current, dirs, files in os.walk(root):
        dirs[:] = [d for d in dirs if d not in SKIP_DIRS]
        for fn in files:
            data = parse_frontmatter(Path(current) / fn)
            if data and all(k in data for k in ("id", "title", "category", "priority")):
                discovered.append(data)
    return discovered

Enter fullscreen mode Exit fullscreen mode

That's it. Walk the tree, read first 4 KB of each file, extract YAML, validate required fields, return list. Refresh = re-scan.

The 16 actions (replace user with CC)

The dashboard surfaces buttons per asset. Each button maps to an action handler:

URL_TARGETS = {
    "open-asc": "https://appstoreconnect.apple.com/apps",
    "check-email": "https://mail.google.com/mail/u/0/#inbox",
    "open-gumroad": "https://gumroad.com/products/new",
    "open-substack": "https://autoappnotes.substack.com/publish/posts/drafts",
    # ... 9 total URL actions
}

def handle_action(action: str, asset_path: str, command: str) -> dict:
    if action == "open-editor":
        os.startfile(asset_path)
        return {"success": True}
    if action in URL_TARGETS:
        os.startfile(URL_TARGETS[action])
        return {"success": True}
    if action == "copy-clipboard":
        text = Path(asset_path).read_text(encoding="utf-8")
        subprocess.run(["clip"], input=text, encoding="utf-16-le")
        return {"success": True, "chars": len(text)}
    if action == "run-script":
        result = subprocess.run(shlex.split(command), capture_output=True, timeout=30, cwd=ROOT)
        return {
            "success": result.returncode == 0,
            "stdout": result.stdout.decode()[-5000:],
            "stderr": result.stderr.decode()[-2000:],
        }
    # ... mark-done, export-pdf, etc.

Enter fullscreen mode Exit fullscreen mode

Subprocess uses shell=False + shlex.split() for security (commands come from manifest = trusted, but defense in depth).

The three panels (this is where users live)

The dashboard's home page is structured around the user's mental model:

1. TODO panel (top)

P0/P1 items the user must execute, sorted by priority. Each card:

  • Priority badge + ETA + expected revenue
  • One big "▶ 立即做" button → triggers CC autonomous action
  • "✓ done" toggle persisted to data/actions.json

2. Check panel (middle)

Ideas + roadmap items the user reviews. The user's strategic role.

3. Run panel (bottom)

A table of runnable scripts. Click "▶ 运行" → subprocess → output drawer slides up with stdout/stderr.

What surprised me

Surprise 1: subprocess injection is real even on localhost

I started with subprocess.run(command, shell=True). After 10 minutes I read the Flask security docs and switched to shlex.split() + shell=False. Even on 127.0.0.1, the manifest could have a typo or future bug that breaks containment.

Surprise 2: Chinese filenames in Windows GBK encoding break stdout pipes

I used python -c "..." > output.html for HTML generation. Worked on macOS. Failed on Windows because Chinese emoji in markdown → UnicodeEncodeError: 'gbk' codec can't encode '❌'.

Fix: write to file directly inside Python instead of via shell redirect. Always set PYTHONIOENCODING=utf-8 in any indie tool that touches non-ASCII content.

Surprise 3: Chrome headless --print-to-pdf is plenty for indie SKUs

I almost installed pandoc + LaTeX (4 GB). Then I realized Chrome is already on every dev machine. Chrome --headless=new --print-to-pdf=out.pdf input.html produces clean PDFs in <2 seconds. Same engine as web preview = WYSIWYG.

Caveat: use --user-data-dir=$TMP/... or you'll fight with the user's running Chrome.

Surprise 4: auto-discovery removes 90% of cognitive overhead

Before manifest-first I'd ship a doc and think "now where do I link this from?" Now I just write the frontmatter and click Refresh. The dashboard's 42 assets came from 39 files (some files = scaffold repos with their own manifest). Zero index files maintained.

The boundary I won't cross

Per my user feedback rules:

  • ✅ Open URLs / fill forms / run scripts / pre-fill drafts
  • 🚫 Click "Submit" / agree to ToS / send 2FA codes / sign legal agreements

The dashboard takes you 95% of the way to "shipped" but stops at the legal/identity moment. That's intentional — the user maintains the final decision (Publish, Send, I-Agree).

Should you build this?

Build it if:

  • You ship 5+ markdown/code assets per week and forget where things are
  • You hate maintaining index files
  • You like Markdown + YAML over proprietary tools (Notion AI is wonderful but vendor-locked)

Don't build it if:

  • You're a solo writer with <10 files (Notion is fine)
  • Your assets are mostly binary (Figma/video — different problem)

For me, it took ~3 hours to ship a commercial-grade version (Flask + 700 LOC CSS + 200 LOC JS + 480 LOC scanner backend), and saves ~30 minutes per week from never maintaining an index again.

Plus: the Day 30 review now tells me at a glance which categories are getting traction, because every new asset auto-tags itself.

Code

I'm cleaning up the dashboard for a $39 Gumroad SKU ("manifestkit") if there's interest. Drop a comment if you'd buy it.

For now, the schema and scanner are open-source-friendly Markdown + Python with no proprietary deps.

See also

Tags

#indie #python #flask #productivity #dashboard #manifest

A/B subject candidates

  1. "I built a manifest-driven dashboard so I'd never maintain another INDEX.md"
  2. "How I auto-index 50+ markdown files with YAML frontmatter (Flask + 480 LOC)"
  3. "Why I deleted my MASTER-INDEX.md and built a dashboard that scans manifests"
  4. "Manifest-first dashboard: 3 hours to build, never maintain an index again"

Cross-platform plan

Platform Date Variant
dev.to 2026-06-12 This piece
Substack 2026-06-13 Long-form business angle
Reddit r/Python 2026-06-12 Self-promo + code
HN Show HN 2026-06-13 "Show HN: manifestkit"
知乎 2026-06-15 Chinese version