TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I made an AppleTV party game using HTML SSE

1 pointsby mr_donkalmost 8 years ago
Hi Hacker News, I was experimenting with HTML SSE (alternative to web socktets), and made a fun Apple TV party game in the process. It turned out to be great for my situation (where you need to do realtime synchronization from server to client(s) but web sockets were overkill).<p>You can check out the game here: <a href="https:&#x2F;&#x2F;electrollama.net&#x2F;alphaparty" rel="nofollow">https:&#x2F;&#x2F;electrollama.net&#x2F;alphaparty</a><p>I wrote a post about configuring Nginx to work with SSE when used as a reverse proxy for node (this was a bit tricky... my server worked fine when connecting straight to node, but not through a proxy without some monkeying around) <a href="https:&#x2F;&#x2F;www.electrollama.net&#x2F;blog&#x2F;2017&#x2F;6&#x2F;22&#x2F;html-sse-with-nodejs-and-nginx" rel="nofollow">https:&#x2F;&#x2F;www.electrollama.net&#x2F;blog&#x2F;2017&#x2F;6&#x2F;22&#x2F;html-sse-with-no...</a><p>Also, my first post on HN, despite being a lurker here for over 5 years! I apologize if I&#x27;ve formatted this wrong...

2 comments

stephenralmost 8 years ago
It&#x27;s good to see someone making use of SSE&#x2F;EventSource. so many devs just jump on the web sockets bandwagon when all they need is one way data flow with maybe occasional data sent from the client, which imo works better using sse and xhr when required.<p>A key thing to me is that sse can be polyfilled for older browsers. Websockets cannot.
sjs382almost 8 years ago
Is the app itself using HTML or TVML? If I recall correctly, it&#x27;s against Apple&#x27;s TOS to use a WebView on tvOS.
评论 #14659187 未加载