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

推荐订阅源

月光博客
月光博客
Cyberwarzone
Cyberwarzone
L
LINUX DO - 最新话题
N
News and Events Feed by Topic
T
Troy Hunt's Blog
Help Net Security
Help Net Security
S
Security @ Cisco Blogs
Google DeepMind News
Google DeepMind News
Security Archives - TechRepublic
Security Archives - TechRepublic
M
MIT News - Artificial intelligence
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V2EX - 技术
V2EX - 技术
Y
Y Combinator Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
大猫的无限游戏
大猫的无限游戏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
Cisco Talos Blog
Cisco Talos Blog
T
Threatpost
Recent Commits to openclaw:main
Recent Commits to openclaw:main
S
SegmentFault 最新的问题
I
InfoQ
H
Hacker News: Front Page
D
Docker
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Blog — PlanetScale
Blog — PlanetScale
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
Netflix TechBlog - Medium
AWS News Blog
AWS News Blog
Know Your Adversary
Know Your Adversary
博客园 - 【当耐特】
T
Tor Project blog
U
Unit 42
H
Heimdal Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
P
Privacy & Cybersecurity Law Blog
PCI Perspectives
PCI Perspectives
美团技术团队
O
OpenAI News
T
Tailwind CSS Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog
GbyAI
GbyAI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
MyScale Blog
MyScale Blog

Hacker News: Front Page

SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads GitHub - GainSec/AutoProber: Hardware hacker’s flying probe automation stack for agent-driven target discovery, microscope mapping, safety-monitored CNC motion, probe review, and controlled pin probing. Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Virginia Bans Sale of Geolocation Data Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Ancient DNA reveals pervasive directional selection across West Eurasia [pdf] AI cybersecurity is not proof of work Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. A Better Ludum Dare; Or, How to Ruin a Legacy GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent Codex Hacked a Samsung TV Tech Valuations Back to Pre-AI Boom Levels A perfectable programming language — Soter GitHub - halfwhey/claudraband: Claude Code for the Power User Partnership through Play: Investigating How Long-Distance Couples Use Digital Games to Facilitate Intimacy Textbooks and Methods of Note-Taking in Early Modern Europe (2008) Eternity in six hours: Intergalactic spreading of intelligent life (2013) Seven countries now generate 100% of their electricity from renewable energy Tell HN: OpenAI silently removed Study Mode from ChatGPT Pro Max 5x Quota Exhausted in 1.5 Hours Despite Moderate Usage Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card) Tell HN: docker pull fails in spain due to football cloudflare block Bring Back Idiomatic Design No one owes you supply-chain security GitHub - xsawyerx/curl-doom: DOOM, played over cURL Apple update turns Czech mate for locked-out iPhone user The Grand Line Cache TTL silently regressed from 1h to 5m around early March 2026, causing quota and cost inflation Building a Z-Machine in the worst possible language The peril of laziness lost Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda AI Will Be Met With Violence, and Nothing Good Will Come of It GitHub - duguyue100/midnight-captain: Inspired by Midnight Commander, tailored to my taste. How to build a `git diff` driver · Jamie Tanna | Software Engineer Center for Responsible, Decentralized Intelligence at Berkeley The Local Universe’s Expansion Rate Is Clearer Than Ever, but Still Doesn’t Add Up - A new synthesis of astronomical measurements confirms a persistent mismatch that could point to physics beyond current models The disturbing white paper Red Hat is trying to erase from the internet – OSnews NetBlocks (@netblocks@mastodon.social) The Future of Everything is Lies, I Guess: Annoyances ‘Abhorrent’: the inside story of the Polymarket gamblers betting millions on war Productive procrastination — Max van IJsselmuiden maps, territory and LMs 447 Terabytes per Square Centimetre at Zero Retention Energy: Non-Volatile Memory at the Atomic Scale on Fluorographane Show HN: Pardonned.com – A searchable database of US Pardons 20 Years on AWS and Never Not My Job The Seasons are Wrong The FAA wants gamers to apply for air traffic control jobs Artemis II crew splashes down near San Diego after historic moon mission Why weekends are under threat We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs How a dancer with ALS used brainwaves to perform live On filing the corners off my MacBooks Installing every* Firefox extension OpenClaw’s memory is unreliable, and you don’t know when it will break Steve Blank Nowhere Is Safe Chimpanzees in Uganda locked in vicious 'civil war', say researchers watgo - a WebAssembly Toolkit for Go linux/Documentation/process/coding-assistants.rst at master · torvalds/linux GitHub - callumlocke/json-formatter: Makes JSON easy to read. Founding Product Engineer at Bild AI | Y Combinator A compelling title that is cryptic enough to get you to take action on it GitHub - Keychron/Keychron-Keyboards-Hardware-Design: Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms. [ANNOUNCE] WireGuardNT v0.11 and WireGuard for Windows v0.6 Released 1D-Chess Helium Is Hard to Replace Keeping a Postgres queue healthy — PlanetScale Serenity Forge (@serenityforge.com) Our response to the Axios developer tool compromise Do Americans read print books, e-books or audiobooks more? Uncharted island soon to appear on nautical charts The Problem That Built an Industry Fragments: April 2 Python Release Python install manager 26.1 Bitcoin miners are losing $19,000 on every BTC produced as difficulty drops 7.8% God sleeps in the minerals Harness engineering: leveraging Codex in an agent-first world Apple Silicon and Virtual Machines: Beating the 2 VM Limit What have been the greatest intellectual achievements? The APL Programming Language Source Code
GitHub - nikitadoudikov/claude-pulse: Local, zero-dependency dashboard for Claude Code: live token usage and context, lost-session recovery, full-text search, and approve tool calls from your phone.
nikitadvd · 2026-06-21 · via Hacker News: Front Page

A local dashboard for Claude Code that shows what Claude is doing, what it is spending, and lets you approve its tool calls from your phone. Zero dependencies, nothing leaves your machine.

Overview

Claude Code already writes every session to disk. Pulse reads those files (read only) and turns them into a live dashboard: token spend by hour, day and week, the context fill of your active session, an ambient view of Claude at work, full-text search across everything you have ever run, and a notification with Allow / Allow all / Deny buttons when Claude needs you, on your desktop or your phone. No account, no telemetry, no network calls.

Why you might want it

  • Approve from your phone. A push with working Allow / Allow all / Deny buttons. No Wi-Fi setup, no IP, no open port: it works from anywhere, even on cellular.
  • Never lose a session. One command recovers your last session as a readable transcript, and Pulse auto-snapshots active ones, so a crash or a frozen laptop never costs you context.
  • See the spend. Live tokens and API-equivalent cost by hour, day, week, model and project, against budgets you set, with a phone alert when you cross one.
  • Ambient office. A full-screen view of a little mascot working, resting, or waiting on you, with a rough ETA. Quietly addictive on a second monitor.
  • Search everything. Full-text search across every session on disk, one click to the transcript.
  • Local and private. Reads ~/.claude read only, serves on 127.0.0.1, zero dependencies, no telemetry.
Ambient office view Approve from the dashboard or your phone
Office Approve

Quick start

Requires Node 18+. Run it with no install:

npx pulse-for-claude-code

Or clone it:

git clone https://github.com/nikitadoudikov/claude-pulse.git
cd claude-pulse
node bin/cli.js

Either way it opens http://127.0.0.1:4317. To get desktop and phone notifications and to approve tool calls, wire the hooks (one command, safe to re-run):

claude-pulse install-hooks   # adds the hooks to ~/.claude/settings.json

Then restart Claude Code, and you are set. Other options:

claude-pulse --port 4317   # change the port
claude-pulse --no-open     # do not open the browser

Keep it running

Run in the foreground and Pulse dies when you close that terminal. To keep it alive independently, run it in the background:

claude-pulse start     # run detached, survives closing the terminal
claude-pulse status    # is it running?
claude-pulse stop      # stop it
claude-pulse restart   # stop and start again

If your terminal crashes, claude-pulse start brings it back in one command, and a background instance is not affected by the crash in the first place.

On macOS you can hand Pulse to the system so it starts at login and respawns itself if it ever dies:

claude-pulse install-service     # start at login, auto-restart
claude-pulse uninstall-service   # remove it

Recover a lost session

Terminal crashed, laptop froze, hit a session limit? Nothing is lost: Claude Code writes every session to disk as it happens. One command brings the last one back, prints a recap and saves a readable transcript:

claude-pulse recover        # the most recent session
claude-pulse recover 2      # the one before that
claude-pulse recover <id>   # a specific session

It saves a light markdown file under ~/.claude-pulse/exports/ (a 15 MB log becomes a ~180 KB file) and prints a link to read the full transcript in the browser or on your phone. You can also open any session in the dashboard and use open transcript / download .md.

While Pulse runs it also auto-snapshots every recently active session to ~/.claude-pulse/exports/snapshots/ (one file per session, rewritten only when it changes). So the latest state is always on disk even if you never run recover. Set snapshotMinutes to 0 in ~/.claude-pulse.json to turn it off.

To back up everything at once, claude-pulse export-all writes every session into a single small gzipped markdown file, or use download all history on the Sessions screen.

Search every session

Lost where you did something? The Sessions screen has a search box that scans every session on disk for a word or phrase and jumps you straight to the transcript. It works from your phone too.

On your phone

The simplest phone control is the ntfy notification itself: it carries working Allow / Allow all / Deny buttons (see above), no network setup at all.

For a richer view, open http://<your-machine>:4317/phone on the same Wi-Fi (needs bindLan: true) to see what Claude is doing right now plus a Pause / Resume button. Pausing stops Claude from running further tools until you resume. Both need the PreToolUse hook wired.

How it works

  ┌──────────────┐   writes .jsonl    ┌──────────────────────┐   SSE    ┌──────────────┐
  │  Claude Code │ ─────────────────▶ │  Pulse  (read only)  │ ───────▶ │  dashboard   │
  │  (terminal)  │                    │   127.0.0.1:4317     │          │  + phone     │
  └──────┬───────┘                    └──────────────────────┘          └──────────────┘
         │
         │  hooks:  Notification  ·  Stop  ·  PreToolUse
         ▼
  ┌─────────────────────────────┐
  │  ~/.claude-pulse/           │   pending approvals · decisions · events
  └─────────────────────────────┘

Claude Code logs every session as JSONL under ~/.claude/projects/. Each assistant message carries a usage block (input, output and cache tokens) with a timestamp. Pulse reads those files (read only), caches each file by modification time so unchanged sessions are never re-parsed, and aggregates the numbers. The browser gets live updates over Server-Sent Events. Three small hooks let Claude Code tell Pulse when it needs you, when a turn ends, and when it wants to run a tool.

Notifications when Claude needs you

Claude Code can run a hook when it needs your attention. Point its Notification event at the bundled script and Pulse will show a banner and fire a desktop notification, even if the tab is in the background.

The easy way is one command:

claude-pulse install-hooks     # wires the hooks into ~/.claude/settings.json (safe to re-run)
claude-pulse uninstall-hooks   # removes them

It backs up your settings once, merges next to any hooks you already have, and never adds a duplicate. Restart Claude Code afterwards. To do it by hand instead, add this to ~/.claude/settings.json (use the absolute path to your clone):

{
  "hooks": {
    "Notification": [
      {
        "matcher": "",
        "hooks": [
          { "type": "command", "command": "node /absolute/path/to/claude-pulse/hooks/notify-hook.js" }
        ]
      }
    ],
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          { "type": "command", "command": "node /absolute/path/to/claude-pulse/hooks/stop-hook.js" }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "",
        "hooks": [
          { "type": "command", "command": "node /absolute/path/to/claude-pulse/hooks/permission-hook.js" }
        ]
      }
    ]
  }
}

Keep claude-pulse running and you are set.

Approve tools from the dashboard (and your phone)

With the PreToolUse hook wired, when Claude wants to run something that needs permission, an approval card appears in Pulse with Allow, Allow all and Deny. Allow all stops asking for the rest of the run.

This is built to never hang Claude. Read only tools pass straight through, and if Pulse is not running, has not heard from you within the approval timeout (60s by default, set approvalTimeoutMs), or hits any error, it falls back to the normal terminal prompt. Nothing breaks if you ignore it. The phone push carries Allow, Allow all and Deny buttons.

To approve from your phone, you only need an ntfyTopic (below) and the ntfy app. The push notification carries Allow, Allow all and Deny buttons, and tapping one sends the answer back through ntfy to a private reply topic that Pulse listens on. No same Wi-Fi, no IP, no open port: it works from anywhere, even on cellular. Pulse only acts on a reply while it is actually waiting for that request, so a stale notification can do nothing.

  Claude wants to run a tool
          │
          ▼
   PreToolUse hook ──▶ Pulse ──push──▶ phone notification
          │                                   │
          │                              tap "Allow"
          │                                   │
          │                    answer returns over ntfy
          │                                   │
          ▼                                   ▼
   hook is still waiting ◀── decision ◀── Pulse (subscribed to the reply topic)
          │
          ▼
   hook returns "allow" ──▶ Claude runs the tool

Phone push (optional)

To get a push on your phone when Claude needs you or finishes, pick a hard to guess topic name, install the free ntfy app and subscribe to that topic, then set it in ~/.claude-pulse.json:

{ "ntfyTopic": "claude-pulse-9f3a7c" }

With the hooks above wired, the Notification hook pushes when Claude is waiting for you, and the Stop hook pushes when a turn finishes (debounced to 30s so a back and forth does not spam you). Anyone who knows the topic can read it, so use a random name.

If you set budgets (below), Pulse also pushes when a rolling window crosses 80% then 100% of its budget, so you find out from your pocket, not by checking.

Configuration

Copy config.example.json to ~/.claude-pulse.json and edit. Every field is optional.

{
  "plan": "max20",
  "contextLimit": 200000,
  "idleMinutes": 10,
  "approvalTimeoutMs": 60000,
  "budgets": { "fiveHour": 140, "day": 360, "week": 1100 }
}

About limits

Anthropic does not publish exact subscription limits, and they are usage based rather than a fixed token count. Pulse cannot read your real plan ceiling, so the budgets above are rough API-equivalent estimates you adjust to match what you observe. The pro, max5 and max20 presets are starting points, not official numbers. Token cost is estimated from public API list prices purely as a usage proxy; subscription users do not pay per token.

Security and privacy

Pulse is local-first and opt-in. Out of the box it binds to 127.0.0.1 only, makes no outbound calls, has zero dependencies (no supply chain), and reads ~/.claude read only. Nothing leaves your machine and there is no analytics. Two optional features change that, and both are off until you turn them on:

  • Phone push (ntfyTopic) routes through the public ntfy.sh relay. Approval prompts (with a short command summary) and your taps pass through a topic you name, so anyone who learns the topic can read those prompts and answer them. Use a long random topic, and self-host ntfy or use ntfy access tokens if you want stronger guarantees. Pulse only acts on a reply while it is genuinely waiting for that exact request, so a stale or guessed message cannot approve anything by itself.
  • LAN access (bindLan) binds the server to your whole network so a phone on the same Wi-Fi can open the live /phone page. While it is on, other devices on that network can also read the dashboard and your transcripts, so only enable it on a network you trust. You do not need it for phone approvals (those go through ntfy), so most people should leave it off.

Runtime state, the device token and your config live in your home directory under ~/.claude-pulse/, and are never committed or sent anywhere.

License

MIT