Better HN
topnewbestaskshowjobs
Log inSign up

GabrielMusat

3 karma · joined Jun 20, 2023 (3y ago) · 14 submissions

https://github.com/gabotechs
Submissions

1.

Integrating AI into High Traffic Rails Applications(katalyst.com.au ↗)

1 points · by GabrielMusat · 2y ago · discuss

comment 3y ago · link · parent

That's a good observation! people that have tried Signway for the OpenAI use case tend to care a lot about tracking usage. The OSS version uses structured logging for reporting usage (just measured by bytes in/out), which can be good enough for some scenarios, but definitely something worth keeping track of.

comment 3y ago · link · parent

Hi HN community, I'm excited to share my latest Open Source project, Signway – a proxy server designed to simplify and secure the process of re-streaming API responses in serverless and traditional architectures.

The core idea behind Signway is to enable frontend applications to request third-party APIs "directly" through short-lived signed URLs, created synchronously by the backend. This approach not only enhances security by preventing credential leaks but also optimizes serverless setups where streaming responses can be a challenge.

Signway is built for high throughput and is written in Rust, ensuring performance and efficiency. It's particularly useful for scenarios where you need to stream large amounts of data or leverage Server-Sent Events (SSE), but find traditional methods cumbersome or expensive.

We've developed SDKs for Python, JavaScript, and Ruby to easily integrate Signway into your workflow. I believe this tool can be a game-changer for many developers dealing with API integrations, and I'm keen to hear your thoughts, feedback, or any questions you might have!

Check out the GitHub repo for more details and examples: https://github.com/gabotechs/signway. Looking forward to your insights and discussions!

4.

Show HN: Signed URLs Gateway – The Missing Infra Piece for Building Modern Apps(github.com ↗)

6 points · by GabrielMusat · 3y ago · 3 comments

comment 3y ago · link · parent

Hi everyone!

I made this tool for helping maintaining dependency management clean in a JavaScript or TypeScript project.

It allows to render an interactive graph in the terminal for visualising how different parts of a project depend one on another.

It also allows to set specific "dependency rules" and act as a linter in the CI, so people working on the project don't introduce coupling points between parts of the project that are supposed to be decoupled.

The main goal is to enforce a correct and clean code architecture as the project scales, that way stays maintainable as it grows.

It is published as open source, so hope it can be useful for someone else.

6.

Show HN: Render your JS or TS project's file dependency graph in the terminal(github.com ↗)

2 points · by GabrielMusat · 3y ago · 1 comment

comment 3y ago · link · parent

Hey there!

While I was doing some LLM project with OpenAI's API, I stepped with the challenge of streaming OpenAI's API responses to the browser so that responses appear progressively on the user's screen.

This was a real challenge as my backend was deployed in AWS lambda, which does not support streaming. I was also using a backend framework that did not support streaming anyways... I thought, it would be awesome if OpenAI offered some pre-signed URLs the same way AWS S3 does with their buckets.

Then I came up with this idea, a gateway that sits in front of any API, that listens to requests that provide a valid cryptographic signature, and if authentic and not expired, redirecting the requests to the specified destination. There is a sequence diagram explaining this in the Readme.md https://github.com/gabotechs/signway.

It would be awesome to get feedback from the community!

8.

Show HN: Signway – An open source pre-signed URLs gateway written in Rust(github.com ↗)

4 points · by GabrielMusat · 3y ago · 1 comment