News for hackers. Stuff that matters.

goncharom

Re:Ask HN: What Are You Working On? (December 2025) on Sunday December 14, 2025 @04:32PM (#46267169)
A multi-purpose scrapper to turn any webpage into structured data: https://news.ycombinator.com/item?id=45870231

It uses LLMs to generate python code to scrap a webpage to fit any Pydantic model provided:

  from hikugen import HikuExtractor
  from pydantic import BaseModel
  from typing import List
  
  class Article(BaseModel):
      title: str
      author: str
      published_date: str
      content: str
  
  class ArticlePage(BaseModel):
      articles: List[Article]
  
  extractor = HikuExtractor(api_key="your-openrouter-api-key")
  
  result = extractor.extract(
      url="https://example.com/articles",
      schema=ArticlePage
  )
  
  for a in result.articles:
      print(a.title, a.author)
Relevant read (not my own): https://simone.org/advertising/
Re:A New AI Winter Is Coming on Monday December 01, 2025 @02:37PM (#46112041)
it has a proper paper attached right at the beginning of the article
Re:A New AI Winter Is Coming on Monday December 01, 2025 @01:11PM (#46110783)
As I said then, and probably echoing what other commenters are saying - what do you mean by understanding when you say computers understand nothing? do humans understand anything? if so, how?
Re:A New AI Winter Is Coming on Monday December 01, 2025 @12:30PM (#46110210)
Every time I see comments like these I think about this research from anthropic: https://www.anthropic.com/research/mapping-mind-language-mod...

LLMs activate similar neurons for similar concepts not only across languages, but also across input types. I’d like to know if you’d consider that as a good representation of “understanding” and if not, how would you define it?

Re:Greggit – Google but it's only the Reddit results on Thursday November 27, 2025 @07:37PM (#46074488)
Yes this is literally just appending site: reddit.com to the query and redirecting to google. This page is a single HTML: https://github.com/goncharom/greggit

This was meant as a silly project! I caught myself adding site:reddit.com to a lot of google searches so I figured I’d just make a shortcut.

The regeneration loop was probably the most interesting part to work on: you need very strict constraints on what “good” content looks like and what the specific issue is when codegen fails. I found Pydantic annotations to be specifically useful for this.

Show HN: Turn any webpage into structured data via LLM codegen

https://github.com/goncharom/hikugen

Hey HN! I wanted to share a little library I've been working on to leverage AI to get structured data from arbitrary pages. Instead of sending the page's HTML to an LLM, Hikugen asks it to generate python code to fetch the data and enforces the generated data conforms to a Pydantic schema defined by the user. I'm using this to power yomu (https://github.com/goncharom/yomu), a personal email...

( Read More... | 2 comments | 2 points | on HN )
Re:Ask HN: What Are You Working On? (Nov 2025) on Sunday November 09, 2025 @07:46PM (#45870880)
I've been working web scraping using LLMs, I just shared one of the libraries I created to get structured data from arbitrary pages: https://news.ycombinator.com/item?id=45870231

Instead of sending the page's HTML to an LLM, Hikugen asks it to generate python code to fetch the data and enforces the generated data conforms to a Pydantic schema defined by the user. I'm using this to power yomu (https://github.com/goncharom/yomu), a personal email newsletter built from arbitrary websites.

Show HN: Hikugen – minimalistic LLM-generated web scrapers for structured data

https://github.com/goncharom/hikugen

Hey HN! I wanted to share a little library I've been working on to leverage AI to get structured data from arbitrary pages. Instead of sending the page's HTML to an LLM, Hikugen asks it to generate python code to fetch the data and enforces the generated data conforms to a Pydantic schema defined by the user. I'm using this to power yomu (https://github.com/goncharom/yomu), a personal email...

( Read More... | no comments | 2 points | on HN )