The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more! Learn more →
Top 23 TypeScript SDK Projects
-
Project mention: Show HN: A self-hosted and open-source feature flags platform | news.ycombinator.com | 2023-07-13
This pretty much looks like Unleash.
-
Project mention: Show HN: Bedframe – open-source Browser Extension Development framework | news.ycombinator.com | 2023-09-05
Ooof!! It is an... interesting time right now in extensions land. The switch from MV2 to MV3 is a bit chaotic but hopefully tools like this (Bedframe) and tools like [Plasmo](https://github.com/PlasmoHQ/plasmo) start to inject some freshness in the space.
-
Appwrite
Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!
-
The package @actions/github provides a hydrated Octokit.js client. Octokit.js is the SDK of GitHub and contains several subpackages like @octokit/rest and @octokit/graphql to interact with the REST or GraphQL API.
-
Solid Start a metaframework (think Next/SvelteKit/Remix) is still a work in progress: https://github.com/solidjs/solid-start
-
While the Lisk Interoperability Solution is not yet live, it is part of the Lisk SDK 6.0 Alpha. We are waiting for the Beta release (testnet).
-
The order of resource creation notably varied. For a deeper technical explanation of the fix, feel free to explore the corresponding pull request.
-
Project mention: Show HN: Langfuse – Open-source observability and analytics for LLM apps | news.ycombinator.com | 2023-08-29
Hi HN! Langfuse is OSS observability and analytics for LLM applications (repo: https://github.com/langfuse/langfuse, 2 min demo: https://langfuse.com/video; try it yourself: https://langfuse.com/demo)
Langfuse makes capturing and viewing LLM calls (execution traces) a breeze. On top of this data, you can analyze the quality, cost and latency of LLM apps.
When GPT-4 dropped, we started building LLM apps – a lot of them! [1, 2] But they all suffered from the same issue: it’s hard to assure quality in 100% of cases and even to have a clear view of user behavior. Initially, we logged all prompts/completions to our production database to understand what works and what doesn’t. We soon realized we needed more context, more data and better analytics to sustainably improve our apps. So we started building a homegrown tool.
Our first task was to track and view what is going on in production: what user input is provided, how prompt templates or vector db requests work, and which steps of an LLM chain fail. We built async SDKs and a slick frontend to render chains in a nested way. It’s a good way to look at LLM logic ‘natively’. Then we added some basic analytics to understand token usage and quality over time for the entire project or single users (pre-built dashboards).
Under the hood, we use the T3 stack (Typescript, NextJs, Prisma, tRPC, Tailwind, NextAuth), which allows us to move fast + it means it's easy to contribute to our repo. The SDKs are heavily influenced by the design of the PostHog SDKs [3] for stable implementations of async network requests. It was a surprisingly inconvenient experience to convert OpenAPI specs to boilerplate Python code and we ended up using Fern [4] here. We’re fans of Tailwind + shadcn/ui + tremor.so for speed and flexibility in building tables and dashboards fast.
Our SDKs run fully asynchronously and make network requests in the background. We did our best to reduce any impact on application performance to a minimum. We never block the main execution path.
We've made two engineering decisions we've felt uncertain about: to use a Postgres database and Looker Studio for the analytics MVP. Supabase performs well at our scale and integrates seamlessly into our tech stack. We will need to move to an OLAP database soon and are debating if we need to start batching ingestion and if we can keep using Vercel. Any experience you could share would be helpful!
Integrating Looker Studio got us to first analytics charts in half a day. As it is not open-source and does not work with our UI/UX, we are looking to switch it out for an OSS solution to flexibly generate charts and dashboards. We’ve had a look at Lightdash and would be happy to hear your thoughts.
We’re borrowing our OSS business model from Posthog/Supabase who make it easy to self-host with features reserved for enterprise (no plans yet) and a paid version for managed cloud service. Right now all of our code is available under a permissive license (MIT).
Next, we’re going deep on analytics. For quality specifically, we will build out model-based evaluations and labeling to be able to cluster traces by scores and use cases.
Looking forward to hearing your thoughts and discussion – we’ll be in the comments. Thanks!
[1] https://learn-from-ai.com/
[2] https://www.loom.com/share/5c044ca77be44ff7821967834dd70cba
-
Amplication
Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.
-
foal
Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
-
BotFramework-Emulator
A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
One of the really interesting things about chatbots on Azure is the Bot Framework Emulator tool that lets you test a chatbot locally and get detailed information about the request the bot received and the response the bot generated.
-
Project mention: Education Blog Post | HeliusLabs - How do Solana RPCs work? | /r/solana | 2023-03-06
In practice, no one really works with direct JSON-RPC requests like this (although you certainly can!). Most developers prefer working with RPC clients. The most commonly used one is the Solana Web3 JS library, which can be found here.
-
Project mention: I am configuring Sentry for React Native - I don't find the documentation especially clear. Am I the only one? | /r/reactnative | 2022-12-21
Thanks, I went over them a couple of times already. I think I was not clear about the concept of builds & automatic uploads of source maps (and apparently , I was not alone: https://github.com/getsentry/sentry-react-native/issues/2609)
-
Project mention: [Typia] I made Protocol Buffer library of TypeScript, easiest in the world | dev.to | 2023-09-18
Also, I'd introduced my another library nestia, which utilizes typia in the NestJS framework, so that boosts up backend server performance 30x up. And since typia analyzes the NestJS backend source code at the compiler level, I also provided convenient generators such as SDK and Mockup Simulator.
-
-
botbuilder-js
Welcome to the Bot Framework SDK for JavaScript repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using JavaScript.
-
Project mention: Show HN: Podcastsaver.com – a search engine testbench dressed as a podcast site | news.ycombinator.com | 2022-10-24
Thanks! I removed the URLs and now the searchable attributes are only title, description and some author fields!
> Just a detail, if you're making a `du -sh` on your computer, the size on the disk will stay unchanged because we are doing soft deletion ;). Don't worry. It will be physically deleted after a while if you need it in the future.
Ah I was just wildy undershooting the size I gave the PVC! I just gave it much more and it's fine -- right now it's resting around 19Gi of usage, which is actually a bit of a problem considering the data set was only like 4GB or something like that originally. That said, disk is really not an issue so I'll just throw more at it, maybe leave it at 32GB and call it a day (it's around 1.6MM documents out of ~2MM), so shouldn't be too much more.
> If you kept the default configuration of Meilisearch, the maximum size of the HTTP payload is 100Mb (for security). You change it here -> https://docs.meilisearch.com/learn/configuration/instance_op...
Thanks for this, I'll keep this in mind -- so I could actually pass off HUGE chunks to Meilisearch.
It seems like the larger the chunk the more efficient? There didn't seem to be much of a change in how much time it took to work through a chunk of documents, more just that having lots of smaller chunks would go slower. I started off with 10k in a batch, then went to 1k then back to 5k, maybe I should go to 100k docs in a batch and see the performance.
There's a blog post waiting to be written in here...
> addDocumentsInBatches() is just an helper to send your big json array into multiple parts, not absolutely sure you'll need it. (Code -> https://github.com/meilisearch/meilisearch-js/blob/807a6d827...)
Thanks! Was this something someone requested? Is there a tangible benefit (were there some customers that didn't want to split up the payloads themselves)? Because it seems like unnecessary cruft in the API otherwise.
-
-
-
The package @actions/github provides a hydrated Octokit.js client. Octokit.js is the SDK of GitHub and contains several subpackages like @octokit/rest and @octokit/graphql to interact with the REST or GraphQL API.
-
Project mention: Show HN: TypeAPI – An OpenAPI alternative optimized for code generation | news.ycombinator.com | 2023-04-16
https://github.com/readmeio/api
In my case I had a backend with annotatted swagger docs, which generated the OpenAPI spec from it using https://www.npmjs.com/package/next-swagger-doc
but basically it will take any openapi spec url, and generate an SDK for it. So you'll get your named routes for free as sdk a la mySDK.allUsers() or mySDK.findUser(id) or whatever your openapi spec exposes
-
etherspot-sdk
The only SDK you need to Go Multichain A managed, Smart Wallet platform that allows you to leverage the best features of the Ethereum Multiverse quickly with minimal effort and cost. Etherspot is an all-in-one, EVM-compatible platform that accelerates ideas and their execution. Get real-time notifications and have your application bootstrapped in a matter of hours instead of months. With just few lines of code you can instantiate Etherspot SDK on compatible EVM-chains such as: Polygon, BSC, G
and also some docs: https://docs.etherspot.dev/
-
-
Project mention: What are some examples of "parasitic" SASS companies that inject HTML into client code? | /r/webdev | 2023-05-26
I'm talking about products like https://developers.intercom.com/ or https://www.rokt.com/tech/, Where the the SASS product code gets injected into client codebase.
-
-
SurveyJS
A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.
TypeScript SDK related posts
- [Typia] I made Protocol Buffer library of TypeScript, easiest in the world
- Why are WebSockets so hard?
- 10 things about feature flags that will speed-up your workflow
- ReductStore v1.5.0 has been released
- ReductStore v1.4.0 in Rust has been released
- [Nestia] I made backend simulator for frontend developers (similar with MSW, but fully automated)
- [NestJS] I made backend server simulator without backend server
-
A note from our sponsor - Appwrite
appwrite.io | 27 Sep 2023
Index
What are some of the best open-source SDK projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | unleash | 9,115 |
2 | plasmo | 6,804 |
3 | octokit.js | 6,405 |
4 | solid-start | 3,812 |
5 | lisk-sdk | 2,758 |
6 | wing | 2,482 |
7 | fern | 1,845 |
8 | foal | 1,817 |
9 | BotFramework-Emulator | 1,717 |
10 | solana-web3.js | 1,470 |
11 | sentry-react-native | 1,450 |
12 | nestia | 1,342 |
13 | contentful.js | 1,087 |
14 | botbuilder-js | 616 |
15 | meilisearch-js | 593 |
16 | react-native-agora | 593 |
17 | v3-sdk | 505 |
18 | graphql.js | 424 |
19 | api | 403 |
20 | etherspot-sdk | 364 |
21 | javascript-sdk | 353 |
22 | intercom-node | 344 |
23 | analytics-next | 334 |