SShortSingh.
Back to feed

turbo-browser-mcp v0.7.6 pulls page data from embedded JSON in 204 tokens

0
·1 views

The turbo-browser-mcp v0.7.6 release adds a structured format to extract_clean_text that reads JSON-LD, Next.js and Nuxt hydration data, and common state objects instead of scraping the DOM. On a local Next.js product fixture, this approach used 204 tokens, about 89% fewer than raw HTML and 87% fewer than a Playwright ARIA snapshot, while still capturing fields like stock count and variants. The release also adds an opt-in --trace flag that logs each tool call as a JSON line, with arguments and URL query parameters masked to protect secrets. Pages that load all content client-side without embedded JSON return a notice so agents can fall back to other formats. The author is considering an opt-in XHR JSON buffer for pure client-rendered single-page apps next.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Adding mechanical keyboard sounds to a Windows 11 laptop: what works, what lags, and when to disable

Windows 11 only plays typing clicks for the on-screen keyboard, so making a physical laptop keyboard sound mechanical requires a third-party app. Such apps use a low-level keyboard hook to detect each key press and play a matching sound, and the author's app, Boardtone, either synthesises clicks or uses recorded switch samples. The total delay before a sound is heard includes the hook, the app's audio path, the Windows audio engine and driver, and the output device, and the app controls only some of these parts. Measurements on the author's test PC showed the app itself adding about 5 ms, with larger lag coming from Bluetooth headphones. The article also notes that the same hooking mechanism could in principle log keystrokes, which is why users should consider trust before installing such software.

0
ProgrammingDEV Community ·

IstiakBD Image Editor Offers Offline Photo Editing Without Uploading Images

IstiakBD Image Editor is a desktop application built with Electron that handles cropping, resizing, rotation, colour correction, filters, text, shapes and freehand painting. All processing happens locally on the user's computer, so pictures are never uploaded and the app makes no network calls. The interface defaults to Bengali and can be switched to English with one click. It supports PNG, JPG, WebP, GIF and BMP files up to 60 MB and offers seven ratio presets for cropping. The developer says it is aimed at users who want to keep personal and work photos private while editing them.

0
ProgrammingDEV Community ·

Early-year births can fall under two Chinese zodiac signs, depending on the calendar used

The popular zodiac animal follows the lunar calendar, which changes at Chinese New Year, while the BaZi Four Pillars system switches its year at Lichun, the solar term marking Start of Spring. Because these two dates usually fall a few days to a couple of weeks apart, people born between them can receive different animal signs from each system. The article's calculations, made with the Skyfield library and NASA's DE421 ephemeris and cross-checked against PyEphem, give exact timings for 2026 and 2027. In 2026 the gap runs from 4 February to 16 February, so a person born on 10 February is a Snake lunar-wise but a Horse in BaZi. The discrepancy also depends on time zones and on the hour around midnight, since the new moon in 2027 arrived just minutes before midnight in Beijing.

0
ProgrammingDEV Community ·

Germany's 2027 e-invoice mandate: what accounts payable teams should check before paying XRechnung or ZUGFeRD invoices

From 1 January 2027, German suppliers with prior-year turnover above €800,000 must issue structured e-invoices, so many businesses will start receiving XML invoices in their accounts payable inboxes. Those recipients will need to open these files, verify their correctness, and then pay them. The article focuses on which formats to expect, which elements are worth checking, and how free tools can help with validation. Under the amended § 14 UStG, a PDF is classed as an 'other invoice' rather than an e-invoice, and a Federal Ministry of Finance FAQ update permits pre-2027 supplies to be invoiced as PDFs if issued by 30 June 2027. Exemptions apply to small-value invoices up to €250 and travel tickets, and the federal government has indicated no plans to postpone the schedule.