cli-plugins-index's Issues
Support for local plugin?
For plugin developers, would it make sense to support a subcommand to install local plugins?
Are there examples or guidelines for developing plugins?
ARM architecture support
I was able to build a version of the cli-ext plugin for linux on the ARM architecture but am unable to install this plugin using the hasura CLI. Since it is possible to run the Hasura GraphQL engine and also the Hasura CLI on linux/ARM, the only remaining item for full ARM support is the cli-ext plugin.
Would you be open to a pull request to add ARM architecture support?
Alternatively, is there a way to install the cli-ext plugin without it being added to this index?
For reference, here are the steps that I used to build a version of the cli-ext plugin for linxu/ARM:
git clone https://github.com/hasura/graphql-engine.git
cd graphql-engine/cli-ext
# remove lock file to prevent hang:
rm package-lock.json
# install missing pkg package:
npm install pkg --save-dev
# retrieve node12 ARM binaries:
mkdir ~/.pkg-cache/v2.6
wget \
https://github.com/yao-pkg/pkg-binaries/releases/download/v1.0.0/fetched-v12.18.1-linux-arm64 \
-O \
~/.pkg-cache/v2.6/fetched-v12.18.1-linux-armv6
# build cli-ext for node12-linux-armv6:
npx pkg ./build/command.js --output ./bin/cli-ext-hasura -t node12-linux-armv6
Why not using cdn?
I live in Seoul, Korea, and the download speed is very slow.
Today hasura plugins install cli-ext
consumes almost 5 minutes for downloading a 20 MB file.
(I feel it's slower than usual, but not sure.)
I don't think it's due to my network or ISP, but just GitHub's server is too far and the middle network between is congested.
Thus I want to suggest cdn for static file serving.
If it's possible, maybe the cli itself (e.g. cli-hasura-linux-amd64
) could be served through cdn as well.
Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.