Code Monkey home page Code Monkey logo

cli-plugins-index's Introduction

plugins-index

This is the centralized plugin index for hasura plugin manager.

  • As a hasura CLI user: You can discover available hasura CLI plugins hosted in this repository.
  • As a hasura CLI plugin developer: You can publish your plugins in this repository and make it available to others.

cli-plugins-index's People

Contributors

arvi3411301 avatar dliub avatar hasura-bot avatar manasag avatar ojaswadhwani avatar samirtalwar avatar sandeepsamba avatar scriptonist avatar shahidhk avatar shraddhaag avatar wawhal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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?

Why not using cdn?

- uri: "https://github.com/hasura/graphql-engine/releases/download/v1.3.0/cli-ext-hasura-linux.tar.gz"

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.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.