• Stars
    star
    144
  • Rank 247,612 (Top 6 %)
  • Language
    JavaScript
  • Created over 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

HoloPortOS config initialization and management

hpos-config

Ownership Info

Codeowner: @zo-el Codeowner - gen-web (quickstart UI): @mateuszRybczonek Consulted: None Informed: None

This repo contains

  • A web UI called Quickstart
  • A Rust library called hpos-config-core
  • A bunch of utility binaries for interacting with the data structures provided by hpos-config-core
    • (gen-cli, into-base36-id, is-valid, seed-bundle-explorer, seed-encoder)

Quickstart UI allows registered HoloPort owners to generate configuration files and private keys for their HoloPorts and walks them through the set up process.

hpos-config-core contains the structure of initial HoloPort configuration files and the keypair generation algorithms used during Quickstart. It is used as a dependency by Quickstart UI through Wasm, as well as by various other services that run on the HoloPort. For a (hopefully) complete list of downstream dependents, see hpos-config-core.

The production copy of Quickstart UI is deployed at https://quickstart.holo.host/. The staging/development copy is deployed at https://holo-host.github.io/hpos-config and follows the gh-pages branch of this repo.

Quickstart UI Development

Quickstart UI is written in vanilla JS and does not use any web framework. The code lives in the gen-web folder of this repository.

Membrane Proof Service

After the user enters a Registration Code, Quickstart makes a request to a Membrane Proof Service (see this function). When working with Quickstart, you need to choose which Membrane Proof Service to use.

Serving the UI

(inside gen-web)

Once you've picked a Membrane Proof Service (e.g http://localhost:8800), you can run the following command to serve the UI in optimized mode. (Takes longer to build each time)

MEMBRANE_PROOF_SERVICE_URL=http://localhost:8800 yarn serve

You can serve the UI in unoptimized mode using

yarn start

Note: yarn start currently has MEMBRANE_PROOF_SERVICE_URL=http://localhost:8800 hardcoded.

If you encounter the "Generating your Keys" page taking a long time in unoptimized mode, try switching to optimized. There seems to be some issue with the unoptimized Wasm.

Deploying the UI to GitHub Pages

You need to push a commit to the gh-pages branch that contains the built files from gen-web/dist/. Here is an example of the exact commands you could use to deploy. (Perhaps this should be made into a script)

COMMIT_HASH="$(git rev-parse HEAD)"
cd gen-web
yarn install
rm -r dist/
MEMBRANE_PROOF_SERVICE_URL=https://hbs.dev.holotest.net yarn build
git checkout gh-pages
cd ..
git rm assets/ *.js *.wasm *.css *.png *.html
mv gen-web/dist/* .
git commit -a -m "Deploy $COMMIT_HASH (https://hbs.dev.holotest.net)"
git push

More Repositories

1

web-sdk

Standard development kit for creating Web UIs that work with Holo Hosting.
TypeScript
175
star
2

holo-envoy

Server that facilitates communication between hosted Agents and a Host's Holochain Conductor
JavaScript
156
star
3

holo-hosting-app-redux

Holo hosting app is an app that connects Providers and Hosts (DNA)
Rust
43
star
4

host-console-ui

Vue
40
star
5

holo-auth

Holo authentication infrastructure
Rust
40
star
6

ui-common-library

Common UI library code
Vue
39
star
7

holo-auto-installer

auto-pilot for managing hosted happs on holoport
Rust
38
star
8

hpos-service-crates

Install self-hosted hApps from a YAML file into holochain
Rust
34
star
9

hds-releases

For public releases of Holo-dev-server
Nix
33
star
10

hp-admin

The entry point into the world of Holo as a Host
JavaScript
32
star
11

deepkey-redux

A holochain core app to manage device and agent keys
Rust
31
star
12

dummy-dna

This is a test dna for Holo or Holochain services testing
TypeScript
31
star
13

hp-admin-crypto

A client for signing and server for verification of calls from HP Admin UI to HPOS
Rust
30
star
14

holo-cache

Cloudflare Worker that sets up max TTL for Nix binary cache artifacts at https://cache.holo.host
JavaScript
28
star
15

loader

A JavaScript framework to bootstrap loading of a P2P Holochain app in a web browser via Holo hosting services.
JavaScript
25
star
16

holo-host

[WIP] Holo Host container and CLI
Rust
23
star
17

holo-hosting-app-proto

Holo hosting app prototype (superseded by Holo Hosting App)
TypeScript
23
star
18

hclient

Client side javascript module for converting a Holochain web UI to be Holo enabled
CSS
22
star
19

holojs-sample-app

Simple reference hApp for testing Holo Hosting and holo.js communication
HTML
22
star
20

wasm-key-manager

Holochain-compatible key management for Holo web users
Rust
21
star
21

talking-stickies

Svelte
20
star
22

ico

Ethereum smart contracts for the Holo ICO / crowd sale. Includes the ERC-20 token contract that models surrogate fuel tokens which will be replaced by Holo's final implementation on Holochain.
JavaScript
20
star
23

dummy-ui

Example holo-rsm ui for dummy happ using the web-sdk
Vue
19
star
24

hcadmin-proto-gui

App manager for Holochain prototype (superseded by Holoscape)
JavaScript
18
star
25

accountant-app

The DNA used by Holo Hosts to record service logs
Rust
18
star
26

holo-host-tools

Command-line tools for working with the Holo Host whitelist, ZeroTier network, etc.
Ruby
18
star
27

holo-hosting-app-gui

A simple and clean UI pairing with the Holo Hosting App to provide a space for Hosts and App Providers to interact when hosting on Holo.
TypeScript
18
star
28

servicelogger

Holo Service Logger app
Rust
17
star
29

holo-communities-dna

DNA for the holo communities hApp
Rust
16
star
30

holofuel-model

A model of the Holo Fuel value-stable currency system.
Jupyter Notebook
15
star
31

holo-communities

JavaScript
15
star
32

holofuel-gui

Simple and intuitive interface allowing users to transact with HoloFuel.
TypeScript
14
star
33

cross-origin-message-bus

Facilitates communication between a hApp UI and Holo Chaperone
JavaScript
14
star
34

holofuel-service-crates

Crates that provide diffrent services for holofuel running on hpos
Rust
14
star
35

mock-conductor

Javascript library for mocking the Holochain Conductor.
JavaScript
13
star
36

happ-template

Example for hApp CI and development environment setup
Rust
12
star
37

holo-proto

Prototypes of all services needed to demonstrate Holo hosting capability, orchestrated by Docker Compose
TypeScript
12
star
38

net-stats-daemon

Rust
12
star
39

hosting-app

[WIP] The Holo Hosting app used by Hosts and App Providers
Rust
12
star
40

did-holo-resolver

Prototype did:holo: method driver
JavaScript
11
star
41

hc-multiplexer

Web connector for multiplexing a Holochain conductor to main UI instances.
JavaScript
11
star
42

chess-ui

Deployment repo for elemental chess UI. Required for cloudflare pages
HTML
11
star
43

hp-stats-api

Public API for Holo's match service
Rust
11
star
44

holo-cli

Command line tool for Holo developers
JavaScript
10
star
45

hcinstaller

Holochain installer (superseded by Holoscape)
JavaScript
10
star
46

MJB-holofuel-ui-deploy

Built files for Matt Brisebois's HoloFuel UI to test Holo-hosting infrastructure
JavaScript
10
star
47

holoportOS

Legacy HoloPortOS stripped down to upgrade to Holo Nixpkgs version
Nix
10
star
48

holoports-monitor

Script for testing uptime of holoports assigned for test
JavaScript
10
star
49

dpki-lite.js

The browser-side crypto for holo light clients
JavaScript
10
star
50

holo-auth-notifier

script that monitors and notifies the status of a holoport
Rust
10
star
51

identicon

JavaScript
9
star
52

kizuna-ui

temporary repo for built Kizuna UI files - needed for Cloudflare pages
HTML
9
star
53

hrl-gateway-node

A gateway for agentless HTTP queries to hosted DHTs
JavaScript
9
star
54

cryptolib-js

Cross-compatible cryptographic utilities for node/web
JavaScript
8
star
55

holo-envoy-legacy

Legacy server that facilitates communication between hosted agents and a host's conductor
TypeScript
8
star
56

web-sdk-ionic-demo

TypeScript
7
star
57

hc-react-redux-framework

A react-redux framework for building Holo and Holochain applications
TypeScript
7
star
58

chaperone-scaletest-deploy

HTML
7
star
59

lair-shim

JavaScript
7
star
60

hcrust-scaffold

Web wizard for generating Holochain application scaffolding
7
star
61

branding

A repository for information, tools, components, etc. for building Holo user interfaces.
6
star
62

saltmine

Cloudflare Worker that manages salt for Holochain identities derived from email/password pairs
JavaScript
6
star
63

chaperone-dev-deploy

Chaperone develop branch deployment to Github pages
HTML
6
star
64

chaperone-deploy

HTML
6
star
65

holo-api-test-template

Scaffold and template for api tests
Gherkin
5
star
66

hpos-update

Simple channel update script to make testing easier
5
star
67

holoport-manager-ui

HoloPort Manager app UI (superseded by HPOS Admin UI)
CSS
5
star
68

holoport-manager

Holoport Manager app (superseded by HPOS Admin)
Python
5
star
69

service-worker-logger

A basic logging library for Node.js that works in a service worker context
JavaScript
5
star
70

hpos-seed

Wormhole-based hpos-config.json transfer library, CLI, and desktop app for initializing HoloPortOS instances without USB access
Python
4
star
71

el-chat-qa

4
star
72

data-translator-js

A tool for translating payloads across Holo services.
JavaScript
4
star
73

holofuel-python

Python modules supporting accessing and testing Holo Fuel APIs and models
Python
4
star
74

holo-update-conductor-config

Rust
3
star
75

holo-cuckoo

JavaScript
3
star
76

self-hosted-happs-node

JavaScript
3
star
77

bump-dna

Bash script for quick altering of hashspace of selfhosted DNAs on HPOS
Shell
3
star
78

holofuel-ui

UI for holofuel app
JavaScript
3
star
79

chat-test

HTML
3
star
80

holo-cdn

JavaScript
2
star
81

hydra-testing-repo

Repository to test hydra, please ignore, this will be deleted in few hours
Nix
2
star
82

holo-init

Script that sets up ZeroTier access, Cloudflare DNS entries and proxy routes for legacy Kong/Zato infrastructure (superseded by Holo Nixpkgs hpos-init)
Python
2
star
83

holo-zato-api

Holo Kong/Zato routing infrastructure (deprecated in favor of Holo Router)
Python
2
star
84

holo-monitor

JavaScript
2
star
85

hpstatus

Holo network authorization status pages (superseded by Holo Auth)
CSS
1
star
86

holofuel-issue-tracker

HoloFuel issue tracker
1
star
87

template

1
star
88

hpos-admin-server

HPOS Admin API backend (deprecated in favor of Holo Nixpkgs hpos-admin)
Python
1
star