<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/very-simple-js-p2p-serverless-chat-on-webrtc-xdgofnf05" -->

---
title: Very simple js p2p serverless chat on WebRTC | daily.dev
description: A developer shares their experience of creating a serverless, peer-to-peer chat application using WebRTC. They discuss the requirement of STUN/TURN servers for...
canonical: https://daily.dev/posts/very-simple-js-p2p-serverless-chat-on-webrtc-xdgofnf05
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Very simple js p2p serverless chat on WebRTC | daily.dev
og:description: A developer shares their experience of creating a serverless, peer-to-peer chat application using WebRTC. They discuss the requirement of STUN/TURN servers for...
og:url: https://daily.dev/posts/very-simple-js-p2p-serverless-chat-on-webrtc-xdgofnf05
og:image: https://api.daily.dev/og/posts/xdGoFNF05.png
og:image:alt: Very simple js p2p serverless chat on WebRTC
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Very simple js p2p serverless chat on WebRTC

**[Frontend news from Michal](https://daily.dev/sources/michal_wrzosek)** · [@michal_wrzosek](https://daily.dev/michal_wrzosek) · 1 upvotes · 0 comments

## Summary

A developer shares their experience of creating a serverless, peer-to-peer chat application using WebRTC. They discuss the requirement of STUN/TURN servers for connection and issues faced with Chrome, while encouraging others to experiment with their own builds using the shared source code and demo app.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://xfor.medium.com/very-simple-js-p2p-serverless-chat-on-webrtc-4982c64b0c53>

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#serverless](https://daily.dev/tags/serverless), [#webrtc](https://daily.dev/tags/webrtc)

[View this post on daily.dev](https://daily.dev/posts/very-simple-js-p2p-serverless-chat-on-webrtc-xdgofnf05)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/very-simple-js-p2p-serverless-chat-on-webrtc-xdgofnf05","headline":"Very simple js p2p serverless chat on WebRTC","text":"Shared: Very simple js p2p serverless chat on WebRTC","url":"https://daily.dev/posts/very-simple-js-p2p-serverless-chat-on-webrtc-xdgofnf05","datePublished":"2024-08-29T16:44:02.055Z","dateModified":"2024-09-01T07:31:18.801Z","author":{"@type":"Person","name":"Michał Wrzosek","url":"https://daily.dev/michal_wrzosek","image":"https://avatars.githubusercontent.com/u/9423016?v=4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":110}},"image":"https://media.daily.dev/image/upload/s--HRgLpUt6--/f_auto/v1722860399/public/Placeholder%2003","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/sQ03vFdOk"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/michal_wrzosek","name":"Frontend news from Michal"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Frontend news from Michal","item":"https://daily.dev/squads/michal_wrzosek"},{"@type":"ListItem","position":3,"name":"Very simple js p2p serverless chat on WebRTC"}]}
```

