CardanoSolutions / ogmios

❇️ A WebSocket JSON/RPC bridge for Cardano
https://ogmios.dev
Mozilla Public License 2.0
304 stars 90 forks source link

Official prebuilt binaries #140

Closed kayandra closed 2 years ago

kayandra commented 2 years ago

Hi there KtorZ and team, thanks for creating ogmios.

I wanted to ask if it's at all possible to have official prebuilt binaries of ogmios. That way instead of having to build from source (which I haven't been able to do yet) or running docker, we can just have a binary we can dump into our bin folders and have direct access to ogmios CLI.

I checked the previous issues and noticed there's been talk of this. So I wanted to ask if there's any progress on it. Or if I could get better directions for building from source I could contribute to the repo and have it added to workflow.

KtorZ commented 2 years ago

Hey @kayandra , that is something I've been after for a while. The problem so far is that building static binaries in Haskell is non-trivial. Even with Nix and Haskell.nix. I tried to have a go at it a while ago without much success. I could try again to see what I can do. Until then, the closest thing we have to a drop-in binary is containers with Docker. Images are pre-built on every push and releases. So, you can in principle get started with just a docker pull cardanosolutions/ogmios.

kayandra commented 2 years ago

Understood, thanks for the info. If it's ever sorted, please let me know. I'd love to help with the workflow.

KtorZ commented 2 years ago

Fixed in:

The Nix workflow now produces and upload statically linked binary as build artifacts. They'll also now be tagged and attached to next releases for easy download.

kayandra commented 2 years ago

Love you man! Thanks for this. Is there a wallet I can drop a tip? Just to say thank you.

KtorZ commented 2 years ago

My pleasure ☺️, thanks for the feedback. Here's a sponsors page if you may like:

https://github.com/CardanoSolutions/ogmios/blob/master/SPONSORS.md#sponsors

kayandra commented 2 years ago

https://cardanoscan.io/transaction/4bb5f0012d9db628d628db931ce375dc029c59bf756f47d6c99e3629de9e5ca2