Lurker News
Not sure about anyone else, but I enjoy seeing the posts on side projects making money. Often while reading all of the comments I find new products or services I want, so I buy them and contribute further to that hustle's success. But for every hacker making $100 or more per month with their idea, there are hundreds more working hard, making nothing, struggling to get started. Does that describe you? Maybe the community just needs to hear about what you're offering, what you've been working on. If you've got something cool that has not yet gained traction, maybe it just needs to be seen by a gaggle of like-minded hackers and geeks. So share!

Comments (1,047) 487 threads

Show all comments

Showing thread 20 of 487

spion2 replies#
Can we do projects that we know 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. No more writing untyped strings and running a watcher in the background - generate the builder from the server schema once then write any queries in TS with the help of the language server
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.
(Side note: I feel bad about how similar it is to tql, but the code generation approach was so different (mainly inspired by graphql-zeus) that it felt like poor form to just send a PR changing everything.)

IceDane#
This is very neat, and I've actually been planning on building something similar - just never got around to it. I wasn't aware of tql, though, so it's not unlikely I would have just used that instead.

The only "downside" I can see is that all my projects are already set up to use graphql-codegen, and switching to this or tql would just not be worth the effort. This is because 1. it's really not that much of a hassle to run graphql-codegen on the side, since i'm already running other things on the side anyway 2. I'm also using graphql-codegen for other things, such as generating types for cache updates and such in urql.
I might give this a spin in a fresh project, though. But it probably won't let me drop the codegen dependency completely.

cronos2546#
Having banged my head against the guilds graphql code gen tool for the past two days, I will pay you 10 in the am, if this thing works and you explain to me how the f to get their config file to read both schema and ops files.