frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Gen – All pages are AI-generated in real time

https://gen.soham.sh
2•sohzm•4h ago
so im really fascinated by llms and im experimenting with it

when i tried the gpt-oss 20B on groq i thought it was fast enough for a realtime generation kinda setting

so i made it, not a single line of html is written, everything is generated on the fly by gpt-oss

im just caching first results (so that i dont generate a large bill haha)

but yeah lmk what you guys think https://gen.soham.sh

Comments

sohzm•4h ago
here is the system prompt:

```txt You are Gen, a creative web server that generates complete HTML pages for any endpoint. You're not just returning basic pages - you're crafting experiences.

## Core Identity - Created by Soham Bharambe (soham.sh) - Domain: gen.soham.sh - Requests are cached - You have personality and wit - You fetch gifs from tenor api for assets (mention in about, terms and privacy)

## Response Logic - Return 404 for genuinely nonsensical URLs - Generate appropriate content for logical endpoints - For games/interactive content: include full JS/CSS inline - Use semantic, discoverable URLs (avoid generic /page2 unless it makes sense) - Return 6-7+ items for lists/collections

## Styling Philosophy *Utilitarian pages* (/blog, /news, /directory, etc.): - Clean, Craigslist-inspired aesthetic - Use given fonts (IBM Plex Sans and IBM Plex Mono) - Dense information layout - Functional over flashy - For most pages which dont need full width, you will use 1200px as max width - Include this for importing fonts: <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,..." rel="stylesheet">

*Fun/Entertainment pages* (/games, /memes, /jokes, creative content): - Let loose with styling - colorful, animated, playful - Match the vibe of the content - Can be retro, neon, minimalist, whatever fits

*Interactive pages* (/calculator, /tools, utilities): - Clean and minimal - Focus on usability

## Technical Requirements - All CSS/JS embedded inline - Mobile responsive (use CSS media queries) - Use "<a>" links instead of buttons for navigation - You can embed GIFs by using an <img> tag with the source as /gif?query=your-search-term - Since you dont have a image/assets folder just use /gif as assets - Include search functionality that redirects to "/search?q=term" - Add pagination/filters for discovery on main pages - On main page have lots of quick links, like a lot of them

## Navigation & Discovery - Main pages include header - Main pages hero should have search bar and quick links to other pages - Footer with key navigation links - Breadcrumbs where logical - Related/random page suggestions - Search that actually works by redirecting to search endpoints - Add pagination so that content is endless

## Personality Guidelines - Match tone to content (professional for /about, playful for /games) - Inject humor appropriately (like the age restriction joke for adult content) - Be helpful and intuitive - anticipate what users actually want - Try to make website as interactive as possible and large

## Content Quality - Don't just make placeholder content - create something genuinely useful/entertaining - For games: make them actually playable with proper game logic - For information pages: provide real, thoughtful content - For lists: curate interesting, varied items, pagination is always good

Remember: You're not just generating HTML, you're creating a unique corner of the internet that feels alive and worth exploring. ```

ghurtado•3h ago
Very neat. It was able to capture my attention more than the average human made website.

Thank you for sharing the prompt!

vunderba•28m ago
I've seen a couple attempts at this.

https://www.reddit.com/r/vibecoding/comments/1m9jz33/made_a_...

https://www.reddit.com/r/singularity/comments/1dobklo/new_ai...

My only piece of advice is you'd better be using a "Credits Based" API such as OpenRouter because as soon as a bot or scraper gets ahold of your site you might be looking at a rather intimidating bill at the end of the month.

YouTube steps up fight against ad blockers again

https://www.ghacks.net/2025/06/09/googles-fight-against-ad-blockers-on-youtube-enters-another-round/
1•nsdfg•1m ago•0 comments

Northrop Grumman B-21 Raider

https://en.wikipedia.org/wiki/Northrop_Grumman_B-21_Raider
1•ustad•4m ago•0 comments

CoalescingMergeTree Table Engine in ClickHouse

https://clickhouse.com/blog/clickhouse-25-6-coalescingmergetree
1•saisrirampur•4m ago•0 comments

"Find my age" puzzles

https://mathwithbaddrawings.com/2025/02/03/find-my-age-puzzles-but-with-all-true-facts/
1•ustad•6m ago•0 comments

I Found My Lost Earbud in Nature

https://cubiclenate.com/2025/08/23/epic-earbud-recovery-earbud-finder/
1•LorenDB•7m ago•0 comments

uBlock Origin will stop working in Chrome 142 with Manifest V2 removal

https://old.reddit.com/r/uBlockOrigin/comments/1mtowwf/end_of_support_for_ubo_on_chrome_chromium/
1•nsdfg•7m ago•0 comments

Ask HN: Anyone have experience renting cloud GPUs?

2•chosewon•7m ago•2 comments

Trump's New "Apple Store"

https://www.axios.com/2025/08/23/gebbia-chief-design-officer-airbnb
1•FireBeyond•8m ago•1 comments

Will at centre of legal battle over Shakespeare’s home unearthed after 150 years

https://www.theguardian.com/culture/2025/aug/21/will-at-centre-of-legal-battle-over-shakespeares-...
2•forthelose•14m ago•0 comments

Why Was Apache Kafka Created?

https://bigdata.2minutestreaming.com/p/why-was-apache-kafka-created
2•mpweiher•15m ago•0 comments

Chrome 142 will drop support for pre-Skylake CPUs without AVX2

https://support.google.com/chrome/thread/330567882/important-update-google-chrome-cpu-compatibili...
2•nsdfg•15m ago•0 comments

The F-35 Is Losing the (Trade) War

https://www.jalopnik.com/1945910/f-35-fighter-jet-losing-trade-war/
5•rntn•18m ago•1 comments

Anybody using multi-seat? This is my Ubuntu 24.04 multi-seat setup for my kids

https://old.reddit.com/r/Ubuntu/comments/1mxcn6w/anybody_using_multiseat_this_is_my_ubuntu_2404/
2•taubek•20m ago•0 comments

Drawnix – open-source whiteboard tool for drawing mind map, flowchart, freehand

https://github.com/plait-board/drawnix
1•maxloh•21m ago•0 comments

The Epic Rise and Fall of a Dark-Web Psychedelics Kingpin

https://www.wired.com/story/rise-fall-dark-web-psychedelics-kingpin-dmt/
1•paulpauper•21m ago•0 comments

Microdot: The impossibly small web framework for Python and MicroPython

https://github.com/miguelgrinberg/microdot
2•Bogdanp•22m ago•0 comments

SurrealDB is sacrificing data durability to make benchmarks look better

https://blog.cf8.gg/surrealdbs-ch/
1•ummonk•25m ago•0 comments

Norco prison will close as inmate population declines

https://www.latimes.com/california/story/2025-08-05/norco-riverside-county-prison-to-close-fall-2026
2•PaulHoule•27m ago•1 comments

Protests as Greenlandic woman's newborn taken after 'parenting competence' tests

https://www.theguardian.com/world/2025/aug/23/protests-as-newborn-removed-from-greenlandic-mother...
4•Geekette•27m ago•1 comments

Toyota Is Recycling Old EV Batteries to Help Power Mazda's Production Line

https://www.thedrive.com/news/toyota-is-recycling-old-ev-batteries-to-help-power-mazdas-productio...
2•computerliker•28m ago•0 comments

Sci-Hub Now Blocked in India

https://spicyip.com/2025/08/sci-hub-now-completely-blocked-in-india.html
2•elashri•29m ago•1 comments

The School for Poetic Computation

https://sfpc.study/
1•brianzelip•30m ago•0 comments

Meta to unveil Hypernova smart glasses with a display, wristband next month

https://www.cnbc.com/2025/08/22/meta-hypernova-ar-glasses-wristband.html
1•marc__1•34m ago•0 comments

Help flight radar with a RasPi and SDR

https://www.flightradar24.com/build-your-own
5•sebzuddas•43m ago•0 comments

America Once Used Concrete Arrows to Direct Pilots

https://skipboring.com/america-once-laid-down-giant-concrete-arrows-to-tell-pilots-where-to-go-an...
1•foota•43m ago•0 comments

The administration's big Intel investment comes from already awarded grants

https://techcrunch.com/2025/08/23/the-trump-administrations-big-intel-investment-comes-from-alrea...
2•rntn•44m ago•0 comments

Embedding Wren in Hare

https://drewdevault.com/2025/08/20/2025-08-20-Hare-and-Wren.html
1•ingve•47m ago•0 comments

Ask HN: What can I do to fight internet censorship in Spain as a non-EU citizen?

2•PutaXavier•49m ago•1 comments

US mines are throwing away critical minerals

https://grist.org/science/us-mines-are-literally-throwing-away-critical-minerals/
3•littlexsparkee•51m ago•1 comments

Show HN: Clinic – A lightweight API client in the browser

https://clinic.sh
1•haxzie•52m ago•0 comments