You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can I use the hypercore/hyperswarm/hyperbee libraries with this? #60
Hi @saimon-moore yes you can, although you need to deal with building the native dependencies. We prebuild the native modules in our app CoMapeo to avoid difficulties for individual contributors trying to build locally. We are creating prebuilds for the hyper- deps (no guarantees that these will be reliably maintained, because they are mainly for our own internal use):
It's possible to build the hyper deps as part of the nodejs-mobile build process, without creating prebuilds, but it might need a bit more work setting up the right build environment.
Activity
gmaclennan commentedon Dec 13, 2023
Hi @saimon-moore yes you can, although you need to deal with building the native dependencies. We prebuild the native modules in our app CoMapeo to avoid difficulties for individual contributors trying to build locally. We are creating prebuilds for the hyper- deps (no guarantees that these will be reliably maintained, because they are mainly for our own internal use):
The template we use for creating prebuilds is here: https://github.com/digidem/nodejs-mobile-prebuilds-template
Our build process for loading these prebuilt native modules is here: https://github.com/digidem/CoMapeo-mobile/blob/7e517449306f0a65c2f50f6f5695a4fd474a496d/scripts/build-backend.mjs
It's possible to build the hyper deps as part of the nodejs-mobile build process, without creating prebuilds, but it might need a bit more work setting up the right build environment.