# server-sent-events

Published articles for server-sent-events.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Shipping logs to Loki

DevFeed: [Shipping logs to Loki](<https://devfeed.tech/articles/shipping-logs-to-loki-21775.md>)

Original publisher: [Read original article](<https://enoent.fr/posts/production-grade-esphome/02-shipping-logs-to-loki/>)

Author: Marc Plano-Lesay

Published: 2026-04-03T10:10:02Z

Content type: tutorial

Language: en

Sources: [Marc Plano-Lesay](<https://devfeed.tech/sources/marc-plano-lesay.md>)

Topics: [Logging](<https://devfeed.tech/topics/logging.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>)

Tags: [esphome](<https://devfeed.tech/tags/esphome.md>), [iot](<https://devfeed.tech/tags/iot.md>), [logs](<https://devfeed.tech/tags/logs.md>), [loki](<https://devfeed.tech/tags/loki.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [observability](<https://devfeed.tech/tags/observability.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

### AI overview

This tutorial explains how to ship ESPHome device logs to Loki. It contrasts logs with Prometheus metrics, describes the ephemeral nature of device logs, and introduces Server-Sent Events and syslog as ways to extract logs for aggregation.

### Source excerpt

When metrics aren't the whole story In the previous post, we set up metrics collection with Prometheus. We can now see what is happening on our devices -- a sensor is failing, the WiFi signal is degrading, or the main loop is running slow. But metrics alone don't tell us why. When a device reboots, the uptime metric resets -- but what caused the reboot? When an entity fails, the _failed metric goes to 1 -- but what error occurred?

## Behind the build: 2025's BFCM globe in a pinball machine 🌎🕹

DevFeed: [Behind the build: 2025's BFCM globe in a pinball machine 🌎🕹](<https://devfeed.tech/articles/behind-the-build-2025-s-bfcm-globe-in-a-pinball-machine-1276.md>)

Original publisher: [Read original article](<https://shopify.engineering/2025-bfcm-live-globe>)

Author: Shopify Engineering

Published: 2025-12-03T14:28:24Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [Shopify](<https://devfeed.tech/topics/shopify.md>), [Three.js](<https://devfeed.tech/topics/threejs.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [React](<https://devfeed.tech/topics/react.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Three.js shaders](<https://devfeed.tech/topics/three-js-shaders.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [3d](<https://devfeed.tech/tags/3d.md>), [browser](<https://devfeed.tech/tags/browser.md>), [js](<https://devfeed.tech/tags/js.md>), [performance](<https://devfeed.tech/tags/performance.md>), [physics](<https://devfeed.tech/tags/physics.md>), [pixel](<https://devfeed.tech/tags/pixel.md>), [react](<https://devfeed.tech/tags/react.md>), [react-three-fiber](<https://devfeed.tech/tags/react-three-fiber.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [shopify](<https://devfeed.tech/tags/shopify.md>), [stream](<https://devfeed.tech/tags/stream.md>), [three-js](<https://devfeed.tech/tags/three-js.md>)

### AI overview

Shopify describes its 2025 BFCM live globe, implemented as a browser-based pinball machine that visualizes merchant sales in real time. The three.js app uses react-three-fiber, server-sent events, a physics engine, VR support, and shaders for its display animations.

### Source excerpt

Real-time merchant sales rendered on our globe, Easter eggs galore, and a pinball machine because... why not?

## Migrating to Laravel with Lenny the Larva. The Artisan of the Day Is Dave Kiss.

DevFeed: [Migrating to Laravel with Lenny the Larva. The Artisan of the Day Is Dave Kiss.](<https://devfeed.tech/articles/migrating-to-laravel-with-lenny-the-larva-the-artisan-of-the-day-is-dave-kiss-3881.md>)

Original publisher: [Read original article](<https://laravel.com/blog/migrating-to-laravel-with-lenny-the-larva-the-artisan-of-the-day-is-dave-kiss>)

Author: Ana Tavares

Published: 2025-08-15T09:42:25Z

Content type: article

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Next.js](<https://devfeed.tech/topics/next-js.md>), [React](<https://devfeed.tech/topics/react.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Frameworks](<https://devfeed.tech/topics/frameworks.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [javascript](<https://devfeed.tech/tags/javascript.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [migration](<https://devfeed.tech/tags/migration.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [react](<https://devfeed.tech/tags/react.md>), [react-starter-kit](<https://devfeed.tech/tags/react-starter-kit.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [switching](<https://devfeed.tech/tags/switching.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

Dave Kiss presents a Next.js-to-Laravel migration using Mux's video guestbook project as a real-world example. The article highlights Inertia.js, Laravel's built-in solutions for forms and server-sent events, starter kits, and Wayfinder's generation of TypeScript route definitions.

### Source excerpt

Dave Kiss shows that switching frameworks doesn't have to be scary, and walks through a Next.js to Laravel migration in the company of Lenny the larva.

## Supercharge your Firebase Studio workflow with MCP servers

DevFeed: [Supercharge your Firebase Studio workflow with MCP servers](<https://devfeed.tech/articles/supercharge-your-firebase-studio-workflow-with-mcp-servers-16620.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2025/07/supercharge-firebase-studio-with-mcp>)

Author: James O'Reilly

Published: 2025-07-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [Firebase](<https://devfeed.tech/topics/firebase.md>), [Model Context Protocol (MCP)](<https://devfeed.tech/topics/model-context-protocol-mcp.md>), [MCP Server](<https://devfeed.tech/topics/mcp-server.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [development](<https://devfeed.tech/tags/development.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [firebase-studio](<https://devfeed.tech/tags/firebase-studio.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [model-context-protocol](<https://devfeed.tech/tags/model-context-protocol.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [server-sent-events-sse](<https://devfeed.tech/tags/server-sent-events-sse.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

### AI overview

This Firebase team tutorial explains how Firebase Studio integrates with Model Context Protocol servers to extend AI-assisted development with external tools and data sources. It describes MCP server configuration, supported stdio and SSE or Streamable HTTP transports, environment variables, authentication limitations, and the lack of support for GUI-dependent or desktop-session servers.

### Source excerpt

News, tutorials, and updates from the Firebase team.

## LangChain: Streaming Structured Output in JavaScript

DevFeed: [LangChain: Streaming Structured Output in JavaScript](<https://devfeed.tech/articles/langchain-streaming-structured-output-in-javascript-18943.md>)

Original publisher: [Read original article](<https://www.robinwieruch.de/langchain-javascript-stream-structured/>)

Author: Robin Wieruch

Published: 2025-02-10T06:53:46Z

Content type: tutorial

Language: en

Sources: [Robin Wieruch](<https://devfeed.tech/sources/robin-wieruch.md>)

Topics: [LangChain](<https://devfeed.tech/topics/langchain.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>), [Next.js](<https://devfeed.tech/topics/next-js.md>), [API](<https://devfeed.tech/topics/api.md>), [React](<https://devfeed.tech/topics/react.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [backend](<https://devfeed.tech/tags/backend.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [github](<https://devfeed.tech/tags/github.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [langchain](<https://devfeed.tech/tags/langchain.md>), [langchain-javascript-stream-structured-output](<https://devfeed.tech/tags/langchain-javascript-stream-structured-output.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [react](<https://devfeed.tech/tags/react.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [structured-output](<https://devfeed.tech/tags/structured-output.md>)

### AI overview

This tutorial demonstrates how to stream structured output in JavaScript with LangChain, using Next.js and React for the frontend and backend. It explains using Server-Sent Events and the native fetch API with @microsoft/fetch-event-source while building a chatbot application that uses the OpenAI API.

### Source excerpt

How to: Streaming Structured Output in JavaScript with LangChain. A step by step example on how to stream structured data in JavaScript with LangChain ...

## Introducing OkSSE -- Kotlin Multiplatform SSE library

DevFeed: [Introducing OkSSE -- Kotlin Multiplatform SSE library](<https://devfeed.tech/articles/introducing-oksse-kotlin-multiplatform-sse-library-24568.md>)

Original publisher: [Read original article](<https://medium.com/bleeding-edge/introducing-oksse-kotlin-multiplatform-sse-library-7e6e804c885b?source=rss----d8ebe85cdc0f---4>)

Author: Akshay Chordiya

Published: 2020-08-31T11:08:59Z

Content type: tutorial

Language: en

Sources: [Bleeding Edge - Medium](<https://devfeed.tech/sources/bleeding-edge-medium.md>)

Topics: [Kotlin Multiplatform](<https://devfeed.tech/topics/kotlin-multiplatform.md>), [Library](<https://devfeed.tech/topics/library.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [library](<https://devfeed.tech/tags/library.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [sse](<https://devfeed.tech/tags/sse.md>)

### AI overview

OkSSE is an open-source Kotlin Multiplatform client library for Server-Sent Events (SSE). The article explains why Clue built it for a backend-driven UI, describes SSE's unidirectional HTTP data stream, and outlines the library's intended use.

### Source excerpt

Introducing OkSSE -- Kotlin Multiplatform SSE librarySharing is caring -- Illustration by Marta Pucci At Clue, we always want to keep finding new solutions as challenges arise. Recently, we needed to build a dynamic UI driven via backend which motivated the entire team 💪🏻 and eventually led to the development of OkSSE library. And today, I'm super excited 🎉 to share OkSSE -- an open source Server sent events client library made with Kotlin multiplatform and Coroutine for the tech community to use and build their amazing use-cases. OkSSE is a client for Server Sent events protocol written in Kotlin Multiplatform. The implementation is written according to W3C Recommendation 03 February 2015 specification 📝 OkSSE is an SSE client that's modern, efficient and provides an easy-to-use API. The aim of this article is to: walk you through our journey 🛣 of why we set out to use SSE protocol, explain why we decided to build our own library, and share how you can use the library for your use-cases Backstory We started with an idea 💡to have a backend driven UI and build an infrastructure for it. That's where we decided to use SSE [Server Sent Events] protocol to talk with the mobile clients [Android & iOS] in order to continuously stream 🌊 the data from the backend to render the UI on clients. Check out the talk below if you are interested in learning more about how we used SSE for Backend Driven UI: https://medium.com/media/3fb46f5e9db8ea9e4fc9a834c19e2d03/hrefWhat's SSE?Server-sent events (SSE) is a server push technology enabling a browser to receive automatic updates from a server via HTTP connection -- Wikipedia In a nutshell 🥜, SSE is built on top of well known HTTP and establishes a unidirectional connection from server -> client. The server continuously pushes data downstream ⬇, which clients can stream until the app or tab [for web] is closed. Reinvent the wheel 🎡 With backend driven UI in mind, both of our client teams (i.e Android and iOS) started searching for the bes