typed-graphql-builder
peerjs
typed-graphql-builder | peerjs | |
---|---|---|
5 | 22 | |
45 | 11,969 | |
- | 0.5% | |
5.0 | 9.0 | |
5 days ago | 8 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
typed-graphql-builder
-
tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
I'm honestly pretty happy with TypeGraphQL. TypeGraphQL works code-first and lets you integrate request-scoped DI for resolvers, which makes writing more complex resolves significantly more pleasant.
Admittedly for the front end I couldn't find a satisfactory tool so I built typed-graphql-builder (https://typed-graphql-builder.spion.dev/). You do have to run it if your backend schema changes, but not when your queries change as the queries are written in typescript and inferred on the fly. (I should probably write a watch mode for the cli, that should largely take care of the rest of the toil when quickly prototyping)
-
Ask HN: Those making $0/month or less on side projects – Show and tell
Can we do projects that we think will stay at $0 but we still hope might gain traction?
OSS: typed-graphql-builder https://typed-graphql-builder.spion.dev/ is a TypeScript based graphql query builder.
It was inspired by tql (https://tql.dev/) but generates a much smaller client and has full, automatic type inference for query variables used in input objects.
-
Ent: An Entity Framework for Go
FWIW I've given up the SQL query builder route and instead went with GraphQL query builder / Hasura route (https://typed-graphql-builder.spion.dev/).
-
Recommendations for GraphQL and TypeScript?
Check this: https://github.com/typed-graphql-builder/typed-graphql-builder
-
Unpopular opinoin GraphQL kinda sucks
Agreed. I'm working on a typed query builder for GraphQL and TS but secretly I'm a little mad that nobody gave some thought to making it easier to integrate in a type-safe way at least in the client languages
https://github.com/typed-graphql-builder/typed-graphql-build...
No docs yet, that's WIP
peerjs
-
Help us prioritize features for our decentralized p2p chat app
this app is using peerjs to connect peers over a webrtc connection. check out thier docs for more info. with webrtc, things like file-transfer, should be very performant compared to cloud storage providers... especially over LAN. network speed doesnt seems to be an issue i have experienced.
- Blockchain as a Datastructure
-
Some things I learned, retrofitting a browser-based RTS for network multiplayer.
I'm using the client-side PeerJS https://peerjs.com/ library for networking. As the name may imply, a direct connection is established between two peers using WebRTC via "handshake" through an intermediary server they host - and, they provide source for the server as well. I have found it to be quite reliable, thus far.
-
A question about webrtc
You kind of sound like a beginner. The browser APIs are a bit painful to work with. It might be easier to use PeerJS: https://peerjs.com/
-
Create a Keyword Generator Chrome Extension🔥
If you want you can use Preact. PreactJS is a lightweight alternative to ReactJS, designed for high performance and compatibility. is often used in applications where performance is critical and has a small footprint.
-
Do you feel that programming has been easier to understand in game development versus other types of programming because of your experience with actual videogames?
This opens up a lot of neat possibilities, and fortunately I found a very easy JavaScript library for handling multiplayer called PeerJS. The way you can send packets from player to player is very simple and something even a beginner to JavaScript could understand.
-
Ask HN: Those making $0/month or less on side projects – Show and tell
You might be able to eliminate the VPS by making it P2P using something like PeerJS [1]. PeerJS provides a free shared connection broker server.
[1]: https://peerjs.com/
-
New to WebRTC and Node.js, Need Help Getting Started
Note: peerjs is a good starting point!
-
We just release our first version of TOONKS, a 3D Multiplayer Game where you can play a tiny tank against your friends directly on your browser without any installation.
We use peer.js module to create a WebRTC connection between clients
-
CRDTs and Distributed Consistency - Part 3: Building a distributed counter
Now that we have all the required boilerplate we can start building the actual game. For the communications between peers we are going to use PeerJS a peer-to-peer library built on top of WebRTC.
What are some alternatives?
wundergraph - WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition.
simple-peer - 📡 Simple WebRTC video, voice, and data channels
sq - sq is a type-safe data mapper and query builder for Go.
Socket.io - Realtime application framework (Node.JS server)
vlcn-orm - Develop with your data model anywhere. Query and load data reactively. Replicate between peers without a central server.
mediasoup - Cutting Edge WebRTC Video Conferencing
vellum-client-generator - Vellum’s Fern API which is used to generate SDKs.
Pion WebRTC - Pure Go implementation of the WebRTC API
fern-java - Generate Java models, clients, and server interfaces from your API definition.
coturn - coturn TURN server project
node-sql - SQL generation for node.js
simple-peer-files - A library to send files over WebRTC