frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: pw-repl - A Playwright-powered REPL for you and your agents to share

https://github.com/arcanemachine/pw-repl
1•arcanemachiner•1h ago
For the busy people out there, the GitHub repo has a demo video so you can see if this is worth your time: https://github.com/arcanemachine/pw-repl

The video was created by Opus 5.5; I just asked it to create a demo video (it has a 'record' tool), so I think this is a good idea of how well it can work with the tool.

---

pw-repl is a tool that makes it easy for you and your agents to work with Playwright+CDP in a browser (your current headed session, or a headless one, or both at the same time; take your pick).

It's basically a Playwright-powered swiss army knife that helps you and agents poke around your browser: Try out different features of a website, break things (e.g. mock backend responses), take screenshots, record videos, etc.

The GitHub repo shows a video, recorded by an agent using pw-repl: https://github.com/arcanemachine/pw-repl

One cool thing it can do: create videos of bug reports. You can tell an agent about a bug and to use pw-repl to capture it, and it can record a video with the built-in toast feature to narrate its actions, and show a virtual mouse to simulate actions on the screen, as if it were a user. It's also useful for capturing screenshots (which can be combined with the toast and highlight tools to emphasize certain elements or information), and has many useful features that can help agents to use it efficiently.

This isn't intended to be commercialized in any way. It's just a neat tool that I (with Claude's help) cobbled together. It's completely vibe-coded, and is intended mainly as a debugging aid. I use all the time, and hope it may be helpful for others.

It's basically just Playwright + CDP under the hood, but has some extra tools and an interface that make it easier for agents to work with.

The quickest way to try it out is to tell your agent to run `npx pw-repl@latest serve --background --launch`, which starts a headless Chromium of its own. No browser setup needed. (If you don't like such `curl | bash`-esque installation instructions, read the code, or get your agent to take a look at it.)

To use it in your own browser instead, start Chrome with CDP enabled (`chrome --remote-debugging-port=9222 --user-data-dir="$HOME/.config/chrome-debug"`), and tell your agent to run `npx pw-repl@latest serve --background`. (The separate `--user-data-dir` is needed because recent versions of Chrome don't open the debugging port on your default profile.)

It also can generate a skill so that you can just run `/pw-repl do some stuff`. Get your agent to run `npx pw-repl@latest skill > <skills folder>/pw-repl/SKILL.md` (e.g. `~/.claude/skills/pw-repl/SKILL.md` for Claude Code).

NOTE: This has only been tested on my Linux machine, so not sure if it will work on macOS. It should, but I haven't tried it out personally.

Fun fact: This tool was originally a random REPL that Claude generated on-the-fly to do some random thing. I saw it and was blown away, so I got Claude to make it into its own application. I suspect that Claude may have taken "inspiration" from an existing project with a similar name, so credit where credit is due to this other `playwright-repl` package: https://github.com/stevez/playwright-repl

Expanding Claude for Nonprofits

https://claude.com/resources/articles/expanding-claude-for-nonprofits
1•pretext•25s ago•0 comments

Swedish government blocks ChatGPT and Claude. Here's why

https://www.euronews.com/2026/10/26/swedish-government-blocks-chatgpt-and-claude-heres-why
3•devonnull•1m ago•0 comments

Show HN: TripBalls Gigs – Your artists' tours on a map, priced as trips

https://gigs.tripballs.now/
1•sanjosanjo•2m ago•0 comments

After LiteLLM's backdoor, we open-sourced an OS-level package firewall

https://github.com/usestrix/firewall
8•iacgm•4m ago•1 comments

Microsoft is offering buyouts to 60k workers

https://twitter.com/kobeissiletter/status/2114745896315359305
3•taubek•4m ago•1 comments

HN: Tabcove – automatic, local-only tab backups for Chrome and Edge

https://chromewebstore.google.com/detail/tabcove-save-restore-back/ccmjgbajjpimmhdnacanbbhmfjecjnlp
1•umairtahir•5m ago•0 comments

Ask HN: Do you still read clean code and software architecture books?

2•pelcg•6m ago•0 comments

Halide for Duo: Electric Boogaluo

https://www.lux.camera/halide-for-duo/
1•johnbehnke•6m ago•0 comments

Essential Tools for Live Video Stream Monitoring

https://www.red5.net/blog/3-essential-tools-for-live-video-stream-monitoring/
1•mondainx•8m ago•0 comments

GPT-6.1 Terra

https://openai.com/index/introducing-gpt-6-1-terra/
6•meetpateltech•8m ago•3 comments

SpaceX closes $40B debt deal for AI chips

https://www.cnbc.com/2026/10/26/spacex-closes-40-billion-debt-deal-for-ai-chips-elon-musk-.html
2•Betelbuddy•10m ago•0 comments

Walter Koenig, the Russian Crewman Chekov on 'Star Trek,' Dies at 90

https://www.hollywoodreporter.com/tv/tv-news/walter-koenig-dead-chekov-star-trek-russian-1236740088/
6•gumby•10m ago•1 comments

Anthropic Reveals It Will Pay SpaceX Up to $120.5B for AI Compute

https://teslanorth.com/2026/10/26/anthropic-s1-spacex-120b-compute/
1•entryleveljobsc•10m ago•1 comments

Is technology bossing us around too much?

https://www.rnz.co.nz/life/lifestyle/is-technology-bossing-us-around-too-much
3•billybuckwheat•10m ago•0 comments

Defense of Japan 2026 Annual White Paper Digest [pdf]

https://www.mod.go.jp/j/press/wp/wp2026/pdf/DOJ2026_Digest_EN.pdf
1•sb057•10m ago•0 comments

GPT 6.1 Terra

https://developers.openai.com/api/docs/models/gpt-6.1-terra
2•pcwelder•11m ago•0 comments

Meta Employees Denounce Interference in Brazilian Elections

https://www.panamericandispatch.org/p/meta-employees-denounce-interference
9•guitcastro•12m ago•0 comments

Oldest GUI application that still runs on Windows 11

https://blog.enlyth.com/posts/oldest-windows-gui-app-win-11/
3•enlyth•13m ago•0 comments

Consumer credit costs in Poland are rising despite falling rates

https://download.ssrn.com/2026/9/25/7525781.pdf?response-content-disposition=inline&X-Amz-Securit...
1•tszymaniak•14m ago•0 comments

So you say you hate 'surveillance pricing'

https://www.cnn.com/2026/10/19/business/surveillance-prices-government-bans
20•mooreds•15m ago•0 comments

In Leaked Audio, Flock CEO Tells Cops Backlash to the Company Isn't Real

https://www.404media.co/in-leaked-audio-flock-ceo-tells-cops-backlash-to-the-company-isnt-real/
2•Frieren•16m ago•1 comments

A Man from the Future: Why Johnny Can't Stop Abstracting

http://muratbuffalo.blogspot.com/2026/10/the-man-from-future-why-johnny-cant.html
8•aray07•20m ago•0 comments

What Are Cipher Suites – TLS Algorithm Negotiation Explained

https://www.qcecuring.com/education/cryptography-fundamentals/what-are-cipher-suites
1•eustoria•26m ago•0 comments

A cinematic 3D graph view for Obsidian

https://community.obsidian.md/plugins/galaxy-view
1•eustoria•27m ago•0 comments

Survey: What do you use to manage your cap table?

https://tally.so/r/J11O8Y
1•MKBSP•27m ago•0 comments

Tiny Computers for iPhone Duo

https://www.fountaininteractive.com/TinyComputers/
2•eustoria•27m ago•1 comments

Apple's Foldable iPhone Duo Draws Early Complaints of the Screen Cracking

https://www.bloomberg.com/news/articles/2026-10-26/apple-s-foldable-iphone-duo-draws-early-compla...
3•0xedb•28m ago•0 comments

Code as schema: how we generate the Increase API

https://increase.com/articles/code-as-schema
11•jackflintermann•28m ago•1 comments

Cubic Boron Arsenide: An emerging semiconductor (2025)

https://www.sciencedirect.com/science/article/abs/pii/S2590238525001742
2•peter_d_sherman•29m ago•0 comments

What WordPress Calendar Vulnerabilities Reveal About Trusting User Content

https://www.cybersecurity-insiders.com/what-wordpress-calendar-vulnerabilities-reveal-about-trust...
2•mooreds•29m ago•0 comments