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•52m ago
# Show HN: pw-repl - A Playwright-powered browser tool for you and your agents

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

Russia pursuing spacecraft from companies helping Ukraine including Starlink

https://meduza.io/en/feature/2026/10/26/russia-is-escalating-its-confrontation-with-the-west-in-o...
1•BaudouinVH•2m ago•0 comments

Show HN: ShellSprint – A typing game-ish for Linux and Kubernetes commands

https://shellsprint-dev.pages.dev
1•kowskirz•2m ago•0 comments

Musk says he was behind Starlink speed restriction in Ukraine

https://www.cbc.ca/news/world/ukraine-starlink-satellite-restored-9.7394719
1•doener•4m ago•0 comments

"AI Skills" are worthless in 2026

https://fishbowl.pastiche.org/2026/10/26/ai-skills
1•sgiannopoulos•5m ago•0 comments

Fabrication of CheckUser Logs and Subnet Bans in Wikimedia Infrastructure

https://abdullah417161.substack.com/p/volunteers-are-mere-unpaid-puppets-abe
1•sceleton_135•7m ago•0 comments

The Internet Breaks

https://www.noahpinion.blog/p/the-internet-breaks
1•malloryerik•11m ago•0 comments

How to Create Your Own Software Factory

https://akoskm.substack.com/p/how-to-create-your-own-software-factory
1•cmpit•12m ago•0 comments

The Slurptop: A home-built luggable that runs on power tool batteries

https://slurpburgers.com/slurpbuilds/the-slurptop/
1•birdculture•12m ago•0 comments

OLM to PST Converter Software

https://www.perfectdatasolutions.com/en/olm/olm-to-pst-converter.html
1•tieanderson•12m ago•0 comments

Anemoia: Nostalgia for a time one did not personally experience

https://en.wikipedia.org/wiki/Anemoia
2•janandonly•19m ago•0 comments

Ask HN: Why Is ChatGPT secretly Chinese?

2•dingdong2026•20m ago•0 comments

The America-Ukraine link grows even spottier

https://www.economist.com/europe/2026/10/22/the-america-ukraine-link-grows-even-spottier
2•doener•23m ago•0 comments

Exploration of a more library-oriented approach to contracts

https://isocpp.org/files/papers/P4324R0.html
1•bmacho•25m ago•0 comments

How to Make Things and Why

https://www.youtube.com/watch?v=7yeH1DqK984
1•cleansy•26m ago•0 comments

Show HN: I made an open-source phone app that debloats your Google TV over Wi-Fi

https://github.com/man15h/tellyscope
1•man15h•28m ago•0 comments

Show HN: A clipboard manager that protects secrets

https://clipaudit.app/
2•trungdq88•28m ago•1 comments

TokenGate: Adapting LLMs for pre-fill with learned skimming for ~11x speedup

https://github.com/token-gate-llms/TokenGate
1•anandvc•28m ago•1 comments

Show HN: FazerWM, a scrollable tiling window manager for macOS

https://fazerwm.app/
1•realityloop•29m ago•0 comments

How to grow a cacao tree at home

https://www.cocoterra.com/guide-on-how-to-grow-chocolate-at-home/
1•felipevb•30m ago•0 comments

PRINTABLE.MD

https://printable.md/
2•drorwolmer•35m ago•0 comments

The Five Stages of Being Replaced by Your Autocomplete

https://www.vincentschmalbach.com/five-stages-of-being-replaced-by-your-autocomplete/
2•vincent_s•36m ago•0 comments

PIZD, a Rust compressor exploring structural deduplication

https://pizd.spedo.dev/
1•torxx666•39m ago•0 comments

How to Start a Defence Tech Startup in the UK: Part 1

https://foxandlion.pub/analysis/how-to-start-a-defence-tech-startup-in-the-uk-part-1
4•fascinnn•39m ago•0 comments

A React component for building Web forms from JSON Schema

https://github.com/rjsf-team/react-jsonschema-form
2•saikatsg•42m ago•0 comments

Show HN: Continue Your Google AI Mode Chats in Gemini/Claude

https://chromewebstore.google.com/detail/relay-continue-google-sea/fjjfadgooapnegipjocinojjhaajghag
2•mahami•45m ago•0 comments

Probably NOT use the Linux eBPF/Rust XDR I built alone

https://github.com/visiongaiatechnology/gedefense
1•visiongaiatech•45m ago•0 comments

Nvidia Eyes Software Revenue with a $2k per GPU Yearly Figure from Huang

https://www.techpowerup.com/354113/nvidia-eyes-software-revenue-with-a-usd-2-000-per-gpu-yearly-f...
1•theanonymousone•50m ago•0 comments

RTX 4000 Pro Blackwell SFF performance hacks

https://piszczek.pl/blog/rtx-pro-4000-blackwell-sff-120w-qwen-benchmark
2•jacquesm•51m ago•0 comments

A tiny app for C# dotnet design Window Form

https://github.com/macauhome/winform-designer
1•macauhome•51m ago•0 comments

Thiel's leaked lectures on the end of the world

https://www.theverge.com/tech/1014252/peter-thiel-antichrist-lectures-analysis
2•izhak•52m ago•1 comments