Live data from Hacker News

Ask HN: What are the best open source TypeScript projects I can learn from?

news.ycombinator.com

31–40 of 76 posts

Re: Ask HN: What are the best open source TypeScript projects I can learn from?

#31
I definitely wouldn’t say it’s the “best” open source project but my side project https://github.com/codeamigo/codeamigo is a full stack project written in TypeScript and I’m happy to answer any questions you have about it. Full project here: https://codeamigo.dev

Re: Ask HN: What are the best open source TypeScript projects I can learn from?

#33
* https://github.com/excalidraw/excalidraw

* https://github.com/calcom/cal.com

* https://github.com/supabase/supabase

* https://github.com/appwrite/appwrite

* https://github.com/n8n-io/n8n

* https://github.com/appsmithorg/appsmith

* https://github.com/directus/directus

* https://github.com/Budibase/budibase

Re: Ask HN: What are the best open source TypeScript projects I can learn from?

#35
Depends whether you actually want to learn TypeScript or just how to consume it. More than 90% of TypeScript code I've seen is not actually taking advantage of TypeScript's static analysis capabilities to write safer more scalable code and is instead just being used as glorified autocomplete.

If you actually want to learn, then take a look at the implementation for stuff like Zod: https://github.com/colinhacks/zod/tree/master/src/helpers

You can do some really powerful stuff that hugely benefits your team. A decent example I stumbled across recently when I went to release my own library (that does the same thing) is https://github.com/leancodepl/ts-routes

Re: Ask HN: What are the best open source TypeScript projects I can learn from?

#36
How about a different approach. Instead doing more of the same, branch out in to a different language. Elm, for example. [0]

Elm specifically will teach you lots on the static types end of things. And it will only take a weekend or so of tinkering to show improvements in your TS life.

0 - https://elm-lang.org/

Re: Ask HN: What are the best open source TypeScript projects I can learn from?

#37
This is such a valuable question for other languages too. I wonder if there's a repo/resource listing such projects..

I asked a similar question about ruby some time ago, and came across one good recommendation (https://github.com/sharetribe/sharetribe), but would love to have many more. I'm also self-taught and feel I haven't read enough great ruby code!

Re: Ask HN: What are the best open source TypeScript projects I can learn from?

#38

* https://github.com/excalidraw/excalidraw * https://github.com/calcom/cal.com * https://github.com/supabase/supabase * https://github.com/appwrite/appwrite * https://github.com/n8n-io/n8n * https://github.com/appsmithorg/appsmith * https://github.com/directus/directus * https://github.com/Budibase/budibase

https://github.com/hasura/graphql-engine

https://github.com/hoppscotch/hoppscotch

https://github.com/nestjs/nest

Re: Ask HN: What are the best open source TypeScript projects I can learn from?

#40

Depends whether you actually want to learn TypeScript or just how to consume it. More than 90% of TypeScript code I've seen is not actually taking advantage of TypeScript's static analysis capabilities to write safer more scalable code and is instead just being used as glorified autocomplete. If you actually want to learn, then take a look at the implementation for stuff like Zod: https://github.com/colinhacks/zod/tr…

So true, a lot of people I've worked with treat adding types as a box to check (eg afterthought) rather than something to leverage.
Post reply on HN