___|  _ \   |  |    |   |_ _|\ \     / ____|
 |     |   |  |  |    |   |  |  \ \   /  __|
 |   | |   | ___ __|  ___ |  |   \ \ /   |
\____|\___/     _|   _|  _|___|   \_/   _____| 

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

A cleaner foundation for Hive Node Beacon

BY: @asgarth | CREATED: March 19, 2026, 5:12 p.m. | VOTES: 276 | PAYOUT: $11.39 | [ VOTE ]

This is one of those updates that is not very flashy on the surface, but it will make working on the project so much easier for me and other contributors (cc @rishi556 and @forkyishere).

I just finished ...ok let's be honest here, Codex just finished a fairly substantial refresh of the Hive Node Beacon codebase (repository link).

[IMAGE: https://files.peakd.com/file/peakd-hive/asgarth/243BkWAsSigNRpDnhJcWCT4Jj8YpvL7TRy3R4AJbz193KkrVZck315CnuNPQUKEQRqdSD.jpg]

The old project structure I originally created was simple and worked fine for a long time. But it was starting to show its age. Backend and frontend were living in different worlds, dependency management was still tied to npm, and even simple upgrades were more annoying than they should have been.

So I took the time to rework the repository into a more modern pnpm monorepo. To put things into perspective this is the amount of changes (consider this is a relative small repository):

[IMAGE: https://files.peakd.com/file/peakd-hive/asgarth/23wN2KngekfjqAuCzSXqJK7Cbm4xs5BSBwuZdRVfjaBNL25ikdsdrxc95fZr6Z9UzcdBh.png]

Current structure is now much cleaner:
- apps/backend for the NestJS API
- apps/frontend for the Vue app
- shared workspace management at the root with pnpm

On top of that, the frontend was moved to a more modern Vue 3 + Vite setup, while the backend was refreshed around the current Nest tooling.

For reference, the project homepage is here: https://beacon.peakd.com/
But many projects simply use it via API: https://beacon.peakd.com/api/nodes

Why this is a win

The biggest benefit is not just newer tools for the sake of newer tools. It is that the project is now easier to reason about, easier to update, and easier to improve without fighting the repo every step of the way.

A few practical wins:

This kind of cleanup work usually does not get much attention, but it is exactly the sort of thing that makes future iteration faster.

Single app deploy, cleaner internals

To keep the website and API compatible with the current deployment pipeline the frontend is built as static assets, and the backend serves it directly while keeping the API under /api.

So from the outside it still behaves like a single app, but internally the codebase is much better organized. That feels like the right compromise here: modern internals without making deployment more complicated than necessary.

And one bonus page

As part of this rework there is also a new Nodes page on HiveHub.dev with a very familiar look and feel. This is an easy win to make HiveHub even more complete in terms of features.

[IMAGE: https://files.peakd.com/file/peakd-hive/asgarth/23w31dVJYRbJyyM7jkjZPAAyProzuiMnSFPnMwVMPc51cdqaRH9GL6o7AuwmeuzNoBBP5.png]

Going forward

This refactor makes Beacon way easier for me and other contributors to work on. The structure now actually supports incremental changes on a modern tech stack.

TAGS: [ #hive ] [ #opensource ] [ #peakd ] [ #dev ] [ #explorer ] [ #hivehub ]

Replies

@mrtats | March 19, 2026, 6:19 p.m. | Votes: 1 | [ VOTE ]

> Not a shiny new feature, but a better foundation to keep building on.

Noooo, not the AI ending :mrtats/kekw:

@asgarth | March 19, 2026, 9:08 p.m. | Votes: 0 | [ VOTE ]

😅

@rishi556 | March 20, 2026, 4:03 p.m. | Votes: 1 | [ VOTE ]

Boo the change! Bring back the old words!

@asgarth | March 20, 2026, 4:31 p.m. | Votes: 0 | [ VOTE ]

😇

@solorzanot | March 19, 2026, 7:10 p.m. | Votes: 1 | [ VOTE ]

Excelente trabajo de optimización. Ese cambio a y la limpieza del repositorio van a dejar el proyecto fino para el futuro.

Excellent optimization work. That move to and the repository cleanup are going to leave the project great for the future.

@steevc | March 19, 2026, 8:27 p.m. | Votes: 1 | [ VOTE ]

It looks like a few nodes need some attention. I suspect a lot of people are not so aware of how this infrastructure works, but it's good to have tools to check on it.

@rishi556 | March 20, 2026, 12:13 a.m. | Votes: 1 | [ VOTE ]

Nice, do packages work on Node 24+ now?

@asgarth | March 20, 2026, 9:30 a.m. | Votes: 2 | [ VOTE ]

Default is Node 22+ but it should work on 24 as well 👍

@rishi556 | March 20, 2026, 4:03 p.m. | Votes: 1 | [ VOTE ]

Awesome! I recall having to drop down to 20 or something when I made my last updates so this is very appreciated!

@jlinaresp | March 20, 2026, 12:28 p.m. | Votes: 0 | [ VOTE ]

!discovery
!PIZZA

@discovery-it | March 20, 2026, 12:28 p.m. | Votes: 1 | [ VOTE ]

https://cdn.steemitimages.com/DQmTAn3c753LR7bHCLPo96g9UvRMaPFwaMYn8VQZa85xczC/discovery_logo_colore%20-%20Copia.png This post was shared and voted inside the discord by the curators team of discovery-it Join our Community and follow our Curation TrailDiscovery-it is also a Witness, vote for us here Delegate to us for passive income. Check our 80% fee-back Program

@pizzabot | March 20, 2026, 12:29 p.m. | Votes: 0 | [ VOTE ]

PIZZA!

$PIZZA slices delivered:
@jlinaresp(11/15) tipped @asgarth

Learn more at https://hive.pizza.

@jona96 | March 22, 2026, 5:53 p.m. | Votes: 1 | [ VOTE ]

cleaner code makes life easier
solid update

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>