Skip to content

omniedgeio/omniedge-cli

Repository files navigation

Omniedge Cli

OmniEdge CLi for macOS (Intel, M1/M2 MacBook), Linux Distributions, and ARM, Raspberry PI, Nvidia Jetson Embedded System.

Bring the intranet on the internet

🤝 Website 💬 Twitter 😇 Discord

Main repo: https://github.com/omniedgeio/omniedge

Install OmniEdge Cli

curl https://omniedge.io/install/omniedge-install.sh | bash

Install OmniEdge other clients

Cli Command

Login

  • Login By Password
omniedge login -u [email protected]
  • Login By Secret-Key

You can generate secret-key on omniedge web.

omniedge login -s xxxxxx

Join

you can just call omniedge join, it will automatically prompt the available network for you to choose. And you can also add one parameter -n to specify the network id manually.

And then, enjoy the omniedge network.

omniedge join 
// or
omniedge join -n "virtual-network-id" 

Resources

Compile for riscv64

apt-get update
apt-get install -y openssl autoconf build-essential libssl-dev zip wget g++-riscv64-linux-gnu gcc-riscv64-linux-gnu

wget https://go.dev/dl/go1.18.4.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version
export GOOS=linux
export GOARCH=riscv64
export CGO_ENABLED=1
export CC=riscv64-linux-gnu-gcc
git clone https://github.com/yongqianme/omniedge-cli.git
cd omniedge-cli
go mod download
go generate
BUILD_ENV=prod make build-riscv64

Contributing Guildlines

Check the tempalte into .github folder to report an issue or submit a PR:

  1. ISSUE_TEMPLATE.md
  2. PULL_REQUEST_TEMPLATE.md

How to get started?

  1. If you only need a convenient connectivity service Just visit https://omniedge.io/download and download the apps for your platform.

Contributors

@ivyxjc