News for hackers. Stuff that matters.

logscore

Re:Show HN: Borea: generate typesafe SDKs from OpenAPI on Friday March 07, 2025 @10:15PM (#43297170)
Our primary advantage right now is extensibility and simplicity. We are working with users that want to implement features that cant be generated with current generators and we enable them to implement those. Our generator does work for those basic use cases when you want a client to interact with an API, but if you need something more, like state management, sse, etc, we make the SDK easy to work with and extend.

If you've used some oss generators, their code is often a complete headache to just read. OpenAPI generator is a good example.

Hope that answers your question :P

Show HN: Borea: generate typesafe SDKs from OpenAPI

https://borea.dev/

Today we publicly launch Borea on Product hunt and Hackernews.The SDK gen ecosystem is a mess. Either the tools don't work or they are way too expensive. We aim to fix that with an open source solution that gives you all the functionality you want without killing your wallet or giving you a headache.Our generators give you typed, documented, idiomatic SDKs that enable you to add custom code...

( Read More... | 4 comments | 2 points | on HN )

Ask HN: Is there a dev friendly alternative to Gmail, Outlook, etc.?

I have had this idea in my head for a few months for an open-source email client, but i want to know if one exists already.I'd like to:1. Add my email providers like gmail, outlook, yahoo, apple mail, etc and manage them in one place2. Make email aliases that I can manage and delete. Like firefox relay3. Navigate with my keyboard like in an IDE4. Write custom automations like Arc browsers...

( Read More... | 3 comments | 3 points | on HN )
Re:Rust Is Eating JavaScript on Wednesday February 26, 2025 @10:31PM (#43191030)
THis is very similar to what Oxide.computer has done. They wrote their own tooling to go from Rust API to spec to Rust and TS client. Very specific to their use case, but I think its the right approach. If something is wrong in the client, you probably generated a bad spec, and therefore something in the API is rotten and should be adjusted. Using the spec as an intermediate to know if upstream is bad, can be a great benchmark for developers. My co-founder and i have a long term goal of building an end to end tooling chain for OpenAPI to generate spec and clients/tests/docs under one roof. Its definitely far off in development, but think its where devs are moving
Re:Rust Is Eating JavaScript on Wednesday February 26, 2025 @10:12PM (#43190923)
You can write OpenAPI in JSON, which can help a bit with encompassing the complex and frankly fractured ecosystem of OpenAPI.

I have found that the tooling tends to have the problem of not knowing how to catch edge cases like webhooks, websockets, complex auth and additional logic beyond just an HTTP request. Many tools add layers of configuration and extension to work around these, but i feel it misses the mark.

I'm building Borea.dev to solve this pain by keeping the source of truth in your OpenAPI doc and allowing for custom code implementations. We support Python rn, are building out generators for multiple other languages and we're open source :P hope it helps

Show HN: An open source generator for complex SDKs

https://github.com/Borea-dev/python-client-generator

Hi It's Logan (op) and David, we are launching our first open source Python SDK generator with other languages to come :)We built this because we believe that the OpenAPI Generator project is a mess and simply doesn't work for most users (us included). Additionally, proprietary generators miss the mark for complex use cases, and restrict developers from doing what they do best: writing code. On...

( Read More... | no comments | 2 points | on HN )
Re:Ask HN: Who Uses SDKs for Unity/Unreal/Godot? on Monday February 10, 2025 @12:46PM (#43002990)
Yes, that was what I'm referencing.

I understand these engines have their own full SDK for developing with the engine, but I'm curious about the external ecosystem/integrations/libraries. It isn't a space I'm super familiar with, but I'm interested in it, not only from the standpoint of it being an interesting technology I've never played with before, but also because I'm curious if there are similar issues in the game engine SDK space as there are in the application SDK space.

Or maybe even a whole different host of issues and practices. Not sure, that's what I'm looking into.

Ask HN: Who Uses SDKs for Unity/Unreal/Godot?

My co-founder and I have been working on SDK generators for application APIs, and we recently discovered that SDKs also exist in the game dev world. Honestly its probably dumb that we didnt know this, but we had never even considered the space so it was quite a blind spot So I have two questions: 1. For game devs: how common is it to use an SDK for Godot/Unity/Unreal/other, and what is that...

( Read More... | 4 comments | 2 points | on HN )

Ask HN: Where do SDK generators break down?

I've been looking the OpenAPI tooling and it seems to be all over the place. Part of it is on the tools, part of it is the nature of generating code, clients/stubs, types, tests and docs for dozens of languages. I also feel like OpenAPI spec isn't equipped for what the tools aim to do, but I lack the experience to say for sure.To get to the chase, I'm looking for your insights into this space...

( Read More... | no comments | on HN )