0.1.2 • Published 1 month ago

@everywhere-computer/every-cli v0.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month ago

EveryCLI

The EveryCLI is a set of utilities for running the Everywhere Computer.

Installation

npm i -g @everywhere-computer/every-cli

Usage

Full docs can be viewed here.

Prerequisites

Create a custom TS or Wasm function(or clone TS examples repo here)

Creating the Everywhere Computer environment

To start a Homestar node, IPFS node, API gateway and Everywhere Computer control panel

every dev <PATH_TO_FUNCTION_FILE>

To create a multi-function Homestar workflow

every dev <PATH_TO_FUNCTION_FILE> <PATH_TO_OTHER_FUNCTION_FILE>

Passing your own Homestar config

By default the EveryCLI will use the default homestar.toml values to specify configuration settings for your Homestar node.

If you would like to specify your own toml file to be used as the configuration for Homestar, you can use the --config argument:

every cli dev <PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm --config ../<YOUR_CONFIG_FILE_NAME>.toml

You can specify as many or as few values in your toml file as you like and the EveryCLI will prioritize the values from your config over the default values.

This means, if you only want to specify a different IPFS port, you simply need to create a toml file with

[node.network.ipfs]
port = 5002

and the EveryCLI will upload your functions to IPFS on port 5002 and configure Homestar to use IPFS port 5002, as well.

If you have specified your own config file, the control panel will run locally so its .env file can be overwritten if necessary:

✔ IPFS is running at http://127.0.0.1:5002/debug/vars
✔ Functions parsed and compiled
✔ Homestar is running at http://127.0.0.1:8020
✔ Control Panel is running at http://127.0.0.1:5178

◐ Starting cloudflared tunnel to http://127.0.0.1:3000/

... a QR code ...

➜ Local:    http://127.0.0.1:3000/
➜ Tunnel:   https://sometimes-comical-word-set.trycloudflare.com
0.1.0

1 month ago

0.1.2

1 month ago

0.1.1

1 month ago

0.0.56

1 month ago

0.0.57

1 month ago

0.0.55

1 month ago

0.0.53

1 month ago

0.0.54

1 month ago

0.0.52

1 month ago

0.0.51

1 month ago

0.0.50

2 months ago

0.0.49

2 months ago

0.0.46

2 months ago

0.0.47

2 months ago

0.0.48

2 months ago

0.0.44

2 months ago

0.0.45

2 months ago

0.0.43

2 months ago

0.0.40

2 months ago

0.0.41

2 months ago

0.0.42

2 months ago

0.0.37

2 months ago

0.0.38

2 months ago

0.0.39

2 months ago

0.0.33

2 months ago

0.0.34

2 months ago

0.0.35

2 months ago

0.0.36

2 months ago

0.0.30

2 months ago

0.0.31

2 months ago

0.0.32

2 months ago

0.0.28

2 months ago

0.0.29

2 months ago

0.0.25

2 months ago

0.0.26

2 months ago

0.0.27

2 months ago

0.0.20

2 months ago

0.0.21

2 months ago

0.0.22

2 months ago

0.0.23

2 months ago

0.0.24

2 months ago

0.0.19

2 months ago

0.0.16

3 months ago

0.0.17

3 months ago

0.0.18

3 months ago

0.0.15

3 months ago

0.0.14

3 months ago

0.0.10

3 months ago

0.0.11

3 months ago

0.0.12

3 months ago

0.0.9

3 months ago

0.0.8

3 months ago

0.0.7

3 months ago

0.0.6

3 months ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago