Skip to content

Can I use the hypercore/hyperswarm/hyperbee libraries with this? #60

Closed

Description

@saimon-moore

i.e. Will I have issues building these libraries (since they depend on other native libraries)?

Activity

  1. gmaclennan commented on Dec 13, 2023

    @gmaclennan
    Contributor

    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.

  2. locked and limited conversation to collaborators on Dec 13, 2023
  3. converted this issue into a discussion #61 on Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions