State of Python 3.13 performance: Free-threading (Score: 150+ in 19 hours)
Link: https://readhacker.news/s/6htcf
Comments: https://readhacker.news/c/6htcf
Show HN: I wrote an open-source browser alternative for Computer Use for any LLM (Score: 150+ in 16 hours)
Link: https://readhacker.news/s/6htAi
Comments: https://readhacker.news/c/6htAi
Hey HN,
I made Browser-Use, an open-source tool that lets (all Langchain supported) LLMs execute tasks directly in the browser just with function calling.
It allows you to build agents that interact with web elements using natural language prompts. We created a layer that simplifies website interaction for LLMs by extracting xPaths and interactive elements like buttons and input fields (and other fancy things). This enables you to design custom web automation and scraping functions without manual inspection through DevTools.
Hasn't this been done a lot of times?
Good question, as a general SaaS tool yes, but I think a lot of people are going to try to make their own web automation agents from scratch, so the idea is to provide groundwork/library for the hard part so that not everyone has to repeat these steps:
- parse html in a LLM friendly way (clickable items + screenshots)
- provide a nice function calls for everything inside the browser
- create reusable agent classes
What this is NOT? An all knowing AI agent that can solve all your problems.
The vision: create repeatable tasks on the web just by prompting your agent and not care about the hows.
To better showcase the power of text extraction we made a few demos such as:
- Applying for multiple software engineering jobs in San Francisco
- Opening new tabs to search for images of Albert Einstein, Oprah Winfrey, and Steve Jobs
- Finding the cheapest one-way flight from London to Kyrgyzstan for December 25th
I’d be interested in feedback on how this tool fits into your automation workflows. Try it out and let me know how it performs on your end.
We are Gregor & Magnus and we built this in 5 days.
What if your computer beeps each time it sends data to Google? (🔥 Score: 154+ in 2 hours)
Link: https://readhacker.news/s/6hv4w
Comments: https://readhacker.news/c/6hv4w
Tracking down a mysterious skateboarder from 1979 (🔥 Score: 150+ in 3 hours)
Link: https://readhacker.news/s/6huA8
Comments: https://readhacker.news/c/6huA8
First time ever, AMD outsells Intel in the datacenter space (🔥 Score: 150+ in 3 hours)
Link: https://readhacker.news/s/6huej
Comments: https://readhacker.news/c/6huej
Hacker Fab (Score: 156+ in 4 hours)
Link: https://readhacker.news/s/6hts2
Comments: https://readhacker.news/c/6hts2
Netflix Europe offices raided in tax fraud probe (🔥 Score: 151+ in 2 hours)
Link: https://readhacker.news/s/6htkd
Comments: https://readhacker.news/c/6htkd
Stop saying "just" (2019) (Score: 150+ in 1 day)
Link: https://readhacker.news/s/6hp35
Comments: https://readhacker.news/c/6hp35
It's called a dance floor (Score: 151+ in 22 hours)
Link: https://readhacker.news/s/6hqwu
Comments: https://readhacker.news/c/6hqwu
Machines of Loving Grace (Score: 152+ in 15 hours)
Link: https://readhacker.news/s/6hrnF
Comments: https://readhacker.news/c/6hrnF
Pagination widows, or, why I'm embarrassed about my eBook (2023) (Score: 152+ in 9 hours)
Link: https://readhacker.news/s/6hs5p
Comments: https://readhacker.news/c/6hs5p
Facebook building subsea cable that will encompass the world (Score: 153+ in 16 hours)
Link: https://readhacker.news/s/6hq8x
Comments: https://readhacker.news/c/6hq8x
Show HN: Convert any website into a React component (Score: 150+ in 11 hours)
Link: https://readhacker.news/s/6hqKJ
Comments: https://readhacker.news/c/6hqKJ
Hey HN, we built a Chrome Extension (https://www.magicpatterns.com/extension) that converts a snippet of any website to an isolated React component.
Demo video: https://youtu.be/hutUYDkyE_A
How it works: 1) Iterate through each node in the selected DOM tree, 2) For each element, find any matching CSS selectors / inline styles, 3) Use window.getComputedStyle to get the deterministic values, 4) Construct JSX
It was pretty hard producing the minimal code necessary while maintaining the same visual look. To do this, we implemented things like abstracting out global styles, removing inherited styles, pulling out SVGs, deleting styles with no effect, and condensing styles into their shorthand properties.
We dive into each of those optimizations here for fun: https://www.magicpatterns.com/blog/any-website-to-react-comp...
One of the main reasons we cared so much about condensing down the styles was not only to make it more human-readable, but also to reduce context length for an LLM, so that you can iterate on it with AI. Our extension has a “convert” option that lets you convert the output to Tailwind, Shadcn, or Chakra UI using an LLM. You can also export to Figma.
We're frontend engineers and we built the extension because our core product (https://www.magicpatterns.com/) helps software teams prototype their product ideas. And a huge pain point for users is getting their existing designs into our product, so that they can reference them to generate UIs with their existing aesthetic.
The extension allows you to get existing design context from any website, even localhost. Since launch, the extension has more than 3,000 users and interestingly is most popular in Japan.
Here's some real examples if you're curious what the final output looks like:
A) Hacker News Navbar - https://www.magicpatterns.com/ac9f38e4-5ef0-49e5-8b80-dbc429...
B) ChatGPT Welcome Screen - https://www.magicpatterns.com/7cb3ad12-cb12-4a5b-b32b-eda04d...
C) Cal.com Calendar Component — https://www.magicpatterns.com/a43bac78-134d-458d-8107-811ac7...
D) Stripe.com logo section - https://www.magicpatterns.com/deff1793-7a05-42fe-97f7-945976...
If you have an opinion about the extension, we’re all ears! You can try it for free at: https://www.magicpatterns.com/extension
US Forest Service decision to halt prescribed burns in ca is history repeating (🔥 Score: 157+ in 2 hours)
Link: https://readhacker.news/s/6hrJ6
Comments: https://readhacker.news/c/6hrJ6
What should a logo for NeXT look like? (1986) (Score: 151+ in 8 hours)
Link: https://readhacker.news/s/6hqnQ
Comments: https://readhacker.news/c/6hqnQ
Title drops in movies (Score: 153+ in 6 hours)
Link: https://readhacker.news/s/6hv2v
Comments: https://readhacker.news/c/6hv2v
Mozilla is eliminating its advocacy division (Score: 152+ in 7 hours)
Link: https://readhacker.news/s/6huHD
Comments: https://readhacker.news/c/6huHD
Mozilla Foundation lays off 30% staff, drops advocacy division (Score: 150+ in 8 hours)
Link: https://readhacker.news/s/6humM
Comments: https://readhacker.news/c/6humM
DataChain: DBT for Unstructured Data (Score: 150+ in 1 day)
Link: https://readhacker.news/s/6hqSN
Comments: https://readhacker.news/c/6hqSN
Failure Analysis of the Arecibo 305 Meter Telescope Collapse (Score: 150+ in 7 hours)
Link: https://readhacker.news/s/6htfi
Comments: https://readhacker.news/c/6htfi
Hacking 700M Electronic Arts Accounts (🔥 Score: 152+ in 2 hours)
Link: https://readhacker.news/s/6htv9
Comments: https://readhacker.news/c/6htv9
New documentary reveals that 21,000 laborers have died working Saudi Vision 2030 (🔥 Score: 166+ in 1 hour)
Link: https://readhacker.news/s/6htut
Comments: https://readhacker.news/c/6htut
What Every Developer Should Know About GPU Computing (2023) (Score: 152+ in 23 hours)
Link: https://readhacker.news/s/6hqgi
Comments: https://readhacker.news/c/6hqgi
Blog Writing for Developers (2023) (Score: 152+ in 16 hours)
Link: https://readhacker.news/s/6hrn7
Comments: https://readhacker.news/c/6hrn7
DB48X: High Performance Scientific Calculator, Reinvented (Score: 150+ in 17 hours)
Link: https://readhacker.news/s/6hqPd
Comments: https://readhacker.news/c/6hqPd
Is the Q source the origin of the Gospels? (Score: 150+ in 20 hours)
Link: https://readhacker.news/s/6hpQU
Comments: https://readhacker.news/c/6hpQU
Nvidia and its partners built a system to bypass U.S. export restrictions (🔥 Score: 152+ in 2 hours)
Link: https://readhacker.news/s/6hscj
Comments: https://readhacker.news/c/6hscj
Unfortunate things about performance reviews (2021) (Score: 151+ in 19 hours)
Link: https://readhacker.news/s/6hpjp
Comments: https://readhacker.news/c/6hpjp
Diagrams · Diagram as Code (Score: 151+ in 6 hours)
Link: https://readhacker.news/s/6hr9v
Comments: https://readhacker.news/c/6hr9v
Albertsons kills rural grocers with land use restrictions (🔥 Score: 150+ in 1 hour)
Link: https://readhacker.news/s/6hrAW
Comments: https://readhacker.news/c/6hrAW