frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Peras – Pause Claude Code and Codex before they burn your weekly limit

https://peras.vertias.eu/
1•vertias3u•1h ago
Hello HN! Today I am presenting you with Peras, the tool which governs your Claude Code and Codex usage, and enforces limits. I built it because I got tired of constantly having to spam /usage to check my usage, and decide if a task is worth risking the agent running out mid-task.

Peras enforces a limit with 2 main tiers. At 75% weekly usage you will get a notification, and at 90% Peras will automatically pause the agent. These limits are the default and they are customizable to your own liking.

You may ask "how does it know my usage in Claude Code or Codex?" Well, it's pretty simple. Peras gets the Claude Code usage % from the status line, and Codex's one comes from its local app-server. The "pause" Peras executes is a hook that refuses the agent's tool calls and ends its turn.

A new feature I implemented is one that makes agents aware of their own usage. When you send your prompt, Peras attaches the usage %. It sends it at the start of the session, then again at 50, 75, 90 and 100%, or if a reset is coming in 30 minutes, so the agent can hurry up and actually capitalize on the remaining usage, if any. Just to clarify, this feature is informational and the pause is what enforces the limit.

Before I switched to native SwiftUI, I used SwiftBar. The problem was that for the mascots patrolling their usage bars, I had to re-encode every menu image 8 times a second! There was also stuff SwiftBar wasn't capable of, like the menu being able to appear over fullscreen apps, pinning it as a floating panel, etc.

What is the difference between the free and paid version? Well, it is MIT, first of all. The CLI, the hooks, the SwiftBar menu, and the app's source are all on GitHub, but building the app needs macOS 13+, Node 18+, "xcode-select --install" and then finally "npm run build:app". The €4.99 buys you a signed copy which is notarized by Apple, with updates included. The guard works with no menu at all. To install, just run:

  npx peras-cli setup
  npx peras-cli codex setup
And now we get to the limits part. For now it's subscription plans only, and when running "claude -p", the pause uses the last interactive reading, so it can come late. Also I feel I have to mention that the guard rail is not a security boundary. It runs inside the agent. The menu is macOS only. The CLI and hooks pass tests on Linux in CI, but I don't use them there day-to-day.

Last thing before I end this post, I would really appreciate feedback from you, whether install worked for Codex users, whether you have encountered any bugs, or whatever you feel like sharing.

Show HN: TutorLoom, an open-source multi-tenant LMS (Django, React, Flutter)

https://github.com/pacewisdomhq/TutorLoom
1•madhukarah•55s ago•0 comments

Open source Control Panel for LLM deployment

https://github.com/LLMPanel/llmpanel-oss
1•SquidJack•1m ago•1 comments

Google Cloud's status page was the 51st to report its own outage

https://stackpulse.app/blog/google-cloud-london-outage
1•shreedx•1m ago•0 comments

Maxwell gives sub-optimal code a runtime glow-up

https://www.theregister.com/ai-and-ml/2026/10/19/maxwell-gives-sub-optimal-code-a-runtime-glow-up...
1•thinkcontext•2m ago•0 comments

What the PHP2Shell rumors got wrong, from inside the PHP security team

https://daubois.dev/blog/cve-2026-109618-php2shell-rumors/
2•amvalex•2m ago•0 comments

Strengthening our defenses against distillation attacks

https://www.anthropic.com/news/distillation-defenses
1•surprisetalk•2m ago•0 comments

Flipper One: Portable Linux computer

https://flipper.net/pages/flipper-one
3•aphroz•4m ago•0 comments

Show HN: Slashi – one / popup for files, settings, Git and scripts in VS Code

https://github.com/meness/slashi
1•meness•5m ago•0 comments

AI flags 91% of a treatable ovarian cancer weakness from tissue images

https://bloomer.news/stories/kcl-hrdpath-ovarian-cancer/
1•telep-io•5m ago•0 comments

Mystery of Roman sarcophagus unearthed at Westminster Abbey solved

https://www.theguardian.com/uk-news/2026/oct/21/mystery-roman-sarcophagus-westminster-abbey-solve...
1•pseudolus•6m ago•0 comments

Show HN: Simulate 1M+ agents to predict pmf

https://github.com/fm882/jahan
1•faishalmanzar•6m ago•0 comments

Apache Iggy's migration journey to clustering powered by Viewstamped Replication

https://iggy.apache.org/blogs/2026/10/27/vsr-clustering-part-3/
3•spetz•7m ago•1 comments

InkBoy

https://github.com/kuslota/InkBoy
1•bookofjoe•8m ago•1 comments

How to Convert a WordPress Blog to an Astro Static Site

https://blog.okturtles.org/2024/10/convert-wordpress-to-static-site/
1•gslepak•10m ago•0 comments

Strait of Hormuz Trade Tracker

https://datalab.wto.org/Strait-of-Hormuz-Trade-Tracker
1•bariumbitmap•10m ago•0 comments

Curiosity Traps

https://www.autodidacts.io/curiosity-traps/
1•Curiositry•11m ago•0 comments

Cloudflare deploys protections against php2shell vulnerability

https://blog.cloudflare.com/php-vulnerabilities-waf-protection/
2•Maxious•11m ago•0 comments

GitHub Unable to Serve Commits

2•vanschelven•12m ago•1 comments

UK government adapts Post Office scandal redress schemes and investigates

https://www.computerweekly.com/news/366652443/UK-government-adapts-Post-Office-scandal-redress-sc...
2•latein•12m ago•0 comments

How I made a benchmark mined from my own repo that agreed with FrontierCode

https://www.stet.sh/blog/benchmark-agreed-with-frontier-code
1•bisonbear•12m ago•0 comments

Patch the Planet

https://patchtheplanet.org/
5•mdrzn•14m ago•1 comments

Show HN: Euspell – Spelling reform: an enginnering approach

https://euspell.org/try/
1•kamranossia•16m ago•0 comments

Show HN: Free birth charts, horoscopes, and tarot with no signup

https://moonandmeaning.me
1•sentinelowl•17m ago•0 comments

Unauthenticated RCE in PHP via stale global state

https://markdown.page/AzvY2d69
2•yuvadam•17m ago•0 comments

Capita postpones investor event to focus on CSPS fix

https://www.computerweekly.com/news/366652340/Capita-postpones-investor-event-to-focus-on-CSPS-fix
1•latein•18m ago•0 comments

ADIE Verifier – A zero-trust, browser-based Ed25519 JSON verifier

https://github.com/Bashar100-A/adie-verifier
1•basharalwans•18m ago•0 comments

Against Against Handover

https://www.astralcodexten.com/p/against-against-handover
2•toomuchtodo•18m ago•0 comments

Nathan Fielder, Elizabeth Holmes, and the Risks of Mistaking Entertainment

https://brothke.medium.com/you-can-see-everything-except-the-truth-eb3d0f1d532d
1•benrothke•19m ago•1 comments

Show HN: Built Taskman, a Rust TUI for Parallel Claude/Codex Work on Issues+PRs

https://github.com/sanagnos/taskman
1•subparsec•19m ago•1 comments

eMudhra Statement on Distrust of Select Global TLS Intermediate and One Root CA

https://emudhra.com/en/press-release/emudhra-statement-distrust-global-tls-intermediate-root-ca
1•slymax•19m ago•0 comments