frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Chrome Store–featured extension that writes X replies via DOM observers

https://www.xinsight.me/
3•shashankshukla•2h ago
Hi HN,

A couple of months ago I posted an early version of this Chrome extension. Since then I’ve refined it, fixed a bunch of stability issues, and it was recently featured on the Chrome Web Store’s “Featured” section, which was a nice surprise.

What the extension does: – Detects the active tweet or thread directly in the browser – Collects relevant context (parent tweet, author info, thread shape) – Formats a prompt and sends it to the OpenAI API – Inserts the generated reply straight into Twitter’s native reply box

All of this happens inside the X.com DOM, without storing any user data.

Technical bits: – Uses MutationObserver to track X.com’s constantly changing DOM – Handles dynamically inserted tweet nodes, shadow DOM, and thread expansions – Debounces context extraction to avoid unnecessary re-runs – Simulates native input events to inject the reply so it feels built-in – Avoids backend state; everything is read client-side except the final API call

Challenges: – X.com changes UI structure often, so selectors break unpredictably – Preventing duplicate injections when the DOM re-renders – Keeping prompt size small enough for fast generation – Reducing overhead so the extension doesn’t slow down the page

Recent improvements: – More stable tweet/thread detection – Better context selection logic – Cleaner UI in the reply popup – Small performance fixes and race-condition fixes

Chrome Store page: https://chromewebstore.google.com/detail/xinsightai-ai-reply...

Would appreciate feedback from people who’ve built browser extensions or dealt with X.com’s DOM patterns. Happy to discuss any details.

Show HN: F32 – An Extremely Small ESP32 Board

https://github.com/PegorK/f32
59•pegor•22h ago•9 comments

Show HN: Tangent – DSL-free log pipeline powered by WASM

https://github.com/telophasehq/tangent
7•ethanblackburn•1h ago•0 comments

Show HN: I made a fireplace for your wrist (and widgets)

20•kingofspain•6d ago•18 comments

Show HN: Chrome Store–featured extension that writes X replies via DOM observers

https://www.xinsight.me/
3•shashankshukla•2h ago•0 comments

Show HN: Awesome J2ME

https://github.com/hstsethi/awesome-j2me
63•catstor•6h ago•44 comments

Show HN: I made a down detector for down detector

https://downdetectorsdowndetector.com
558•gusowen•1d ago•161 comments

Show HN: RowboatX – open-source Claude Code for everyday automations

https://github.com/rowboatlabs/rowboat
123•segmenta•1d ago•40 comments

Show HN: OctoDNS, Tools for managing DNS across multiple providers

https://octodns.readthedocs.io/en/latest/
24•gardnr•20h ago•2 comments

Show HN: I built a synth for my daughter

https://bitsnpieces.dev/posts/a-synth-for-my-daughter/
1266•random_moonwalk•1w ago•209 comments

Show HN: DNS Benchmark Tool – Compare and monitor resolvers

https://github.com/frankovo/dns-benchmark-tool
49•ovo101•1d ago•27 comments

Show HN: Wasda – Experience transformer attention as music

https://github.com/farukalpay/wasda
3•kinders•7h ago•0 comments

Show HN: Lamina – A compiler backend that is not LLVM or Cranelift

https://github.com/SkuldNorniern/lamina
3•skuldnorniern•7h ago•0 comments

Show HN: Browser-based interactive 3D Three-Body problem simulator

https://trisolarchaos.com/?pr=O_8(0.6)&n=3&s=5.0&so=0.00&im=rk4&dt=1.00e-4&rt=1.0e-6&at=1.0e-8&bs...
239•jgchaos•2d ago•111 comments

Show HN: Interactive research papers (a big step up from ArXiv HTML)

https://sciencestack.ai
7•cjlooi•8h ago•5 comments

Show HN: Guts – convert Golang types to TypeScript

https://github.com/coder/guts
101•emyrk•2d ago•30 comments

Show HN: Long Courrier – A custom web player for a 1h Barber Beats mix

https://monosky.mateo-siam.com/
2•Mateleo•8h ago•0 comments

Show HN: Parqeye – A CLI tool to visualize and inspect Parquet files

https://github.com/kaushiksrini/parqeye
160•kaushiksrini•2d ago•35 comments

Show HN: ESPectre – Motion detection based on Wi-Fi spectre analysis

https://github.com/francescopace/espectre
208•francescopace•3d ago•50 comments

Show HN: CTON: JSON-compatible, token-efficient text format for LLM prompts

https://github.com/davidesantangelo/cton
7•daviducolo•10h ago•1 comments

Show HN: A subtly obvious e-paper room air monitor

https://www.nicolin-dora.ch/blog/en-epaper-room-air-monitor-part-1/
64•nomarv•2d ago•28 comments

Show HN: Vibe Prolog

https://github.com/nlothian/Vibe-Prolog
27•nl•1d ago•4 comments

Show HN: Marimo VS Code extension – Python notebooks built on LSP and uv

https://github.com/marimo-team/marimo-lsp
58•manzt•1d ago•5 comments

Show HN: Continuous Claude – run Claude Code in a loop

https://github.com/AnandChowdhary/continuous-claude
163•anandchowdhary•5d ago•60 comments

Show HN: Reproducible Dotfiles with Nix Flakes

https://github.com/momeemt/config
2•momeemt•12h ago•0 comments

Show HN: Reversing a Cinema Camera's Peripherals Port

https://3nt3.de/blog/reversing-fs7-comms
47•3nt3•1w ago•2 comments

Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)

https://princejs.vercel.app
150•lilprince1218•2d ago•69 comments

Show HN: Tokenflood – simulate arbitrary loads on instruction-tuned LLMs

https://github.com/twerkmeister/tokenflood
21•twerkmeister•1w ago•0 comments

Show HN: I built a Chrome Extension to inject custom UTM parameters into URLs

https://chromewebstore.google.com/detail/utm-bandit/hgkdaigafpdboigkdogdffiedbbbajep
2•RyanDavid•7h ago•0 comments

Show HN: PgEdge Control Plane, a declarative API for multi-region Postgres mgmt

https://github.com/pgEdge/control-plane
4•pgedge_postgres•21h ago•0 comments

Show HN: Unflip – a puzzle game about XOR patterns of squares

https://unflipgame.com/
180•bogdanoff_2•1w ago•53 comments