frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Would you use an app that helps you collect and revisit favorite quotes?

1•relaxy•56s ago•0 comments

Junior Developers Are Turning Productivity Gains to Career Security with AI

https://practicalsecurity.substack.com/p/the-ai-anxiety-antidote-how-junior
1•atilla_bilgic•57s ago•1 comments

On Hack Club: reflections on community, union organizing and authoritarianism

https://place.reeseric.ci/writings/2024-05-05/
1•reesericci•1m ago•0 comments

Chad is a new Y Combinator-backed product so wild, people thought it was fake

https://techcrunch.com/2025/11/12/chad-the-brainrot-ide-is-a-new-y-combinator-backed-product-so-w...
1•gpi•2m ago•0 comments

Claude Code for Web Ruined My Brain (Paul Ford)

https://aboard.com/claude-code-for-web-ruined-my-brain/
1•gbseventeen3331•3m ago•0 comments

DgVoodoo 2

https://dege.freeweb.hu/dgVoodoo2/
1•BruceEel•3m ago•0 comments

Washington Post data breach impacts nearly 10K employees, contractors

https://www.bleepingcomputer.com/news/security/washington-post-data-breach-impacts-nearly-10k-emp...
2•WaitWaitWha•4m ago•0 comments

I've created a website to track the team's activity

https://clickhouse.com/blog/velocity
1•samaysharma•4m ago•0 comments

A Master Table of Truth: Lawyers Using AI

https://craigball.net/2025/11/04/a-master-table-of-truth/
2•WaitWaitWha•6m ago•0 comments

Redmine 6.1 is now available

https://www.redmine.org/news/156
1•mariuz•7m ago•0 comments

Show HN: We charge $10/mo for wealth management that costs hundreds elsewhere

https://wwww.fulfilledwealth.co
2•workworkwork71•8m ago•0 comments

Brooks' Law

https://en.wikipedia.org/wiki/Brooks%27s_law
1•hashim•9m ago•0 comments

Turn Off and Journal Instead

https://basic.bearblog.dev/turn-off-and-journal-instead/
1•speckx•10m ago•0 comments

Claude can identify its 'intrusive thoughts'

https://www.transformernews.ai/p/claude-can-identify-its-intrusive-ai-introspection
1•shakeelhashim•10m ago•0 comments

LLM Chat Platform for iOS, Android, Mac, Windows, and Linux

https://github.com/Chevey339/kelivo
1•james2doyle•10m ago•0 comments

South Korean loan sharks target teen gamblers

https://sigma.world/news/south-korea-loan-sharks-teen-gamblers
1•rawgabbit•12m ago•0 comments

Pequliar is a QR code based compact puzzle sequence

https://pequliar.besttof.nl/
1•gregsadetsky•13m ago•0 comments

Show HN: AI-built tools with security by default

1•zvonimirs•14m ago•0 comments

Proton Launches 8th Annual Lifetime Account Charity Fundraiser

https://proton.me/blog/lifetime-fundraiser-survey-2025
1•PrivacyDingus•15m ago•0 comments

Animalcules and Their Motors

https://press.asimov.com/articles/flagella
1•mailyk•15m ago•0 comments

All Intel GPUs Run on Raspberry Pi and RISC-V

https://www.jeffgeerling.com/blog/2025/all-intel-gpus-run-on-raspberry-pi-and-risc-v
1•mikece•16m ago•0 comments

Show HN: Open-Source NotebookLM Alternative

https://www.noodleflow.ai/notebook
2•nazar_ilamanov•16m ago•0 comments

PDF to TXT Converter Online

https://pdf-to-txt.com
2•Nancy1230•18m ago•0 comments

Robinhood Offers to Bring Cash to Your Doorstep, for a Fee

https://www.wsj.com/finance/investing/robinhood-offers-to-bring-cash-to-your-doorstep-for-a-fee-7...
1•bookofjoe•18m ago•1 comments

Todo iOS app as simple as paper

https://apps.apple.com/dk/app/nauu/id6754856167
1•stoumann•18m ago•0 comments

Canada in the running to headquarter new defence bank

https://www.theglobeandmail.com/business/economy/article-canada-gdp-nato-defence-spending-defence...
1•Teever•20m ago•0 comments

Show HN: Compute CLI – A universal sandbox SDK with direct browser access

https://www.computesdk.com/blog/november-2025-update/
1•heygarrison•21m ago•0 comments

A Hermetic, Transparent Soft Growing Vine Robot System for Pipe Inspection

https://arxiv.org/abs/2510.27010
1•PaulHoule•21m ago•0 comments

Automated PDF Generation with Typst

https://typst.app/blog/2025/automated-generation/
1•leephillips•21m ago•0 comments

You Can Just Buy Things

https://bengoldhaber.substack.com/p/you-can-just-buy-things
1•lindowe•22m ago•0 comments
Open in hackernews

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

https://github.com/goncharom/hikugen
2•goncharom•1h ago
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 newsletter built from arbitrary websites.

Hikugen's main features:

- Automatically generates, runs, regenerates and caches the LLM-generated extraction code. - It uses sqlite to save the current working code for each page so it can be reused across executions. - It uses OpenRouter (https://openrouter.ai/) to call the LLM. - It can fetch the page automatically (it can even reuse Netscape-formatted cookies) but you can also just feed it the raw HTML and leverage the rest of its functionalities.

Here's a snippet of what it looks like:

  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)
Hikugen is intentionally minimal: it doesn't attempt website navigation, login flows, headless browsers, or large-scale crawling. Just "given this HTML, extract this structured data".

A good chunk of this was built with Claude Code (shoutout to Harper’s blog: https://harper.blog/2025/02/16/my-llm-codegen-workflow-atm/.

Would love feedback or ideas—especially from others playing with codegen for scraping tasks.

Comments

goncharom•42m ago
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.