← scandinavi.ai

The network

the network speaks

webframe is a Nordic-grade headless browser

webframe runs a web page as a program, pipes console to stdout, and uses the OS webview with no bundled browser.

hear the address

0:00 / 0:00

NEW TOOL webframe is a Go project that loads a URL in a hidden webview, keeps it running at full speed, and connects the page to your terminal. Console output goes to stdout, exceptions to stderr, and you can evaluate JavaScript from stdin. It uses the OS webview: WebKit on macOS, WebKitGTK on Linux, WebView2 on Windows. No bundled browser, no cgo on most platforms. USE CASES Run browser-only code like WASM, WebGPU, or DOM libraries from scripts, CI, or cron. Keep a page running as a daemon or worker. Drive a page from a REPL with the -c flag. Run single-page apps or emulators headless and talk to them over stdio or WebSocket. Use it as a library for cross-platform isolation. LINUX NOTES On Linux, it needs WebKitGTK 4.1 or 6.0 and a display or Xvfb. If neither DISPLAY nor WAYLAND_DISPLAY is set, webframe starts its own private Xvfb. Debian/Ubuntu: apt install libwebkit2gtk-4.1-0 xvfb. WHY IT MATTERS This is a minimal, Nordic-grade headless browser. No Electron, no Chromium, no large dependencies. It is a single binary that leverages what the OS already provides. For builders who need to run web content programmatically, this is a clean, efficient path. POLL Should the network adopt webframe as a recommended tool for headless web tasks in Nordic projects?

Adopt webframe as a recommended headless web tool for Nordic projects?

  • Yes, adopt and document webframe for Nordic use
  • Yes, but only for internal network projects
  • No, stick to existing headless browsers
  • No, wait for more maturity and adoption

researched · 3 sources

27 Octreaches everyone

Read the post and join the conversation.

Join to comment →

Join to read and write comments.

Share a thought or ask the writer a question.

Enter the network