[{"data":1,"prerenderedAt":170},["ShallowReactive",2],{"project-49781032":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":9,"stance_mix":28,"scored_comments":32,"aspects":33,"strip":36,"post_text":37,"what":38,"said":78,"maker_in_thread":111,"shape":117,"grid":120,"attempts":131,"same_week":132,"maker_shows":161,"maker_hidden":162,"reader_version":163,"card":164},"49781032","Lightspeed","Lightspeed, build real time apps the Laravel way (+asteroids demo)","title","Show HN: Lightspeed, build real time apps the Laravel way (+asteroids demo)",null,"jv22222",1789945348,2026,18,5,2128,4366,49,"shown","infrastructure","websocket server","library",[23,24,25,26],"laravel websockets","real time php","pusher compatible server","swoole","quiet",{"positive":29,"neutral":30,"mixed":31,"critical":31},1,2,0,3,{"idea":34,"docs":35},{"positive":31,"critical":31},{"positive":29,"critical":31},[32,31,32,31,14],"Hi HN!\n\nLaravel has worked with websockets for years but generally speaking it's a one way push architecture (i.e. http in, sockets out).\n\nLightspeed is kind of like node in that it's a single server that serves your http and your websockets all under one roof. Auth runs in 0.03ms (a Redis read, no database). Your Laravel handler runs inside the full container and the reply comes back down the same socket. I think this could be really cool for creating new ways of working with Laravel.\n\nAnyway, I put together a live demo to show it in action. Basically a cross between slither.io and Asteroids.",{"problem":39,"audience":48,"pricing":9,"motivation":54,"time_to_build":9,"stack":58,"openness":75,"stage":76,"team_size":77},{"value":40,"source":41,"evidence":42},"Laravel's websocket support is one-way push; browsers cannot send messages back into Laravel over the socket","maker",[43,45],{"id":44},"post",{"id":46,"by":10,"text":47},"49781409","It doesn't! Livewire is a way to build UI\u002Fform interactions over http\u002Fjs. Lightspeed is a websocket server. Livewire talks to the server over normal HTTP requests and for…",{"value":49,"source":50,"evidence":51},"Laravel developers building real-time apps","inferred",[52,53],{"id":44},{"id":46,"by":10,"text":47},{"value":55,"source":41,"evidence":56},"Bring node-style real-time serving to Laravel, enabling new ways of working with it",[57],{"id":44},[59,63,67,71],{"value":60,"source":50,"evidence":61},"PHP",[62],{"id":44},{"value":64,"source":41,"evidence":65},"Laravel",[66],{"id":44},{"value":68,"source":41,"evidence":69},"Swoole",[70],{"id":44},{"value":72,"source":41,"evidence":73},"Redis",[74],{"id":44},"open_source","prototype","unknown",{"praise":79,"objections":80,"requests":81,"questions":90,"alternatives":98},[],[],[82],{"value":83,"source":84,"evidence":85},"More documentation of game controls","commenter",[86],{"id":87,"by":88,"text":89},"49787285","lwi00","would be great to have the control commands for the game",[91],{"value":92,"source":84,"evidence":93},"How does it relate to Laravel Livewire?",[94],{"id":95,"by":96,"text":97},"49781321","AlchemistCamp","How does this relate to Laravel LiveWire?",[99,103,107],{"value":100,"source":84,"evidence":101},"Laravel Livewire",[102],{"id":95,"by":96,"text":97},{"value":104,"source":41,"evidence":105},"Laravel Reverb",[106],{"id":46,"by":10,"text":47},{"value":108,"source":41,"evidence":109},"Node.js",[110],{"id":46,"by":10,"text":47},{"comments":30,"answered":29,"key":112},[113,114],{"id":46,"text":47},{"id":115,"text":116},"49787576","They're on the idle screen under the title, but easy to miss: space (or W \u002F up) to fly and fire, one key does both, A D (or arrows) to turn, S for shield. On a phone, turn it…",{"commenters":32,"max_depth":32,"maker_replies":30,"first_comment_mins":118,"lifespan_hours":119},40,34,[121,123,124,126,128],[95,31,32,122,96,31],"project\u002Fneutral\u002Fidea",[46,31,31,122,10,29],[87,29,32,125,88,31],"project\u002Fneutral\u002Fdocs",[115,29,31,127,10,29],"maker\u002Fneutral\u002Fdocs",[129,29,14,130,88,31],"49798332","maker\u002Fpositive\u002Fdocs",[],[133,138,143,148,153,157],{"id":134,"name":135,"points":136,"category":137},"49823738","Bastardica",862,"creative",{"id":139,"name":140,"points":141,"category":142},"49783133","Mini-AGI",277,"ai",{"id":144,"name":145,"points":146,"category":147},"49740105","Setup",251,"productivity",{"id":149,"name":150,"points":151,"category":152},"49801329","Drop",193,"dev_tools",{"id":154,"name":155,"points":156,"category":152},"49800574","JevBench",154,{"id":158,"name":159,"points":160,"category":142},"49776523","Tiny Brains",116,9,false,"v2",{"id":165,"name":5,"line":6,"ai":162,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":9,"top":17,"kw":166,"maker":10,"domain":167,"tier":18,"attempts":31,"strip":168,"url":-1,"mix":169,"praise":-1,"objection":-1,"sub":20},49781032,[23,24,25,26],"","30305",[29,30,31,31],1793991167434]