0.0.2 • Published 6 years ago

system-gql v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

system-gql.

A graphql interface to query system information WIP

DEMO

Feel free to poke with the DEMO

Installation

Get it: npm install -g system-gql

Usage

$ system-gql
System info on 3333

Sample Query:

{
  info {
   os {
     arch
     type
     release
     hostname
   }
  cpus {
    model
    speed
    count
  }
  }
}

Port will be picked up from process.env.SYSQL or defaults to 3333

TODO

  • Add more fields to the schema.
  • Implement generic filters.
  • Add default query to the editor.

License

MIT © Hemanth.HM