All Projects → lukechampine → jr

lukechampine / jr

Licence: MIT license
A tiny Command Line Interface JavaScript Object Notation Remote Procedure Call client

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to jr

Mjson
C/C++ JSON parser, emitter, JSON-RPC engine for embedded systems
Stars: ✭ 136 (+750%)
Mutual labels:  json-rpc
Aria2p
Command-line tool and library to interact with an aria2c daemon process with JSON-RPC.
Stars: ✭ 201 (+1156.25%)
Mutual labels:  json-rpc
odooly
Python library and CLI to interact with Odoo and OpenERP.
Stars: ✭ 53 (+231.25%)
Mutual labels:  json-rpc
Jsonrpc C
JSON-RPC in C (server only for now)
Stars: ✭ 155 (+868.75%)
Mutual labels:  json-rpc
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (+1075%)
Mutual labels:  json-rpc
Jquery.terminal
jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
Stars: ✭ 2,623 (+16293.75%)
Mutual labels:  json-rpc
Jrpc
JSON-RPC implementation in C++17
Stars: ✭ 113 (+606.25%)
Mutual labels:  json-rpc
WebApiClient.Extensions
WebApiClient项目的第三方扩展:Autofac、DependencyInjection、HttpClientFactory、SteeltoeOSS.Discovery、MessagePack、Protobuf、Json-Rpc
Stars: ✭ 73 (+356.25%)
Mutual labels:  json-rpc
Rpc
Simple RPC style APIs with generated clients & servers.
Stars: ✭ 192 (+1100%)
Mutual labels:  json-rpc
Web3swift
Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions.
Stars: ✭ 237 (+1381.25%)
Mutual labels:  json-rpc
Nginx upstream module
Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
Stars: ✭ 157 (+881.25%)
Mutual labels:  json-rpc
Jsonrpc
A simple go implementation of json rpc 2.0 client over http
Stars: ✭ 170 (+962.5%)
Mutual labels:  json-rpc
Php Bitcoinrpc
Fully unit-tested Bitcoin JSON-RPC client based on GuzzleHttp.
Stars: ✭ 231 (+1343.75%)
Mutual labels:  json-rpc
Jsonrpc
The jsonrpc package helps implement of JSON-RPC 2.0
Stars: ✭ 143 (+793.75%)
Mutual labels:  json-rpc
node-mole-rpc
Transport agnostic spec compliant JSON RPC client and server
Stars: ✭ 54 (+237.5%)
Mutual labels:  json-rpc
Jsonrpcserver
Process JSON-RPC requests in Python
Stars: ✭ 126 (+687.5%)
Mutual labels:  json-rpc
Ethereumex
Elixir JSON-RPC client for the Ethereum blockchain
Stars: ✭ 225 (+1306.25%)
Mutual labels:  json-rpc
mqtt-json-rpc
JSON-RPC protocol over MQTT communication
Stars: ✭ 31 (+93.75%)
Mutual labels:  json-rpc
transmission
Go wrapper for the transmission API
Stars: ✭ 34 (+112.5%)
Mutual labels:  json-rpc
Brayns
Visualizer for large-scale and interactive ray-tracing of neurons
Stars: ✭ 232 (+1350%)
Mutual labels:  json-rpc

jr

jr is a JSON-RPC command-line client written in Go. It is based on jsonrpcake, which was based on HTTPie. Usage of jr should be familiar to users of those programs.

jr does not support the @ syntax or colored output of the aforementioned programs. I'll add them if someone asks me to.

jr does support an alternative parameter syntax: if you pass a single value without a =, it will be sent without being enclosed in an object. Ideally, you would be able to send multiple values this way (as an array), but Go's jsonrpc package does not support this.

Installation

go get github.com/lukechampine/jr

Usage

# no hostname means localhost
$ jr :3000 hello
Hello, World!

# string parameter
$ jr :3000 hello name=Luke
Hello, Luke!

# bool parameter
$ jr :3000 hello name=Luke excited:=false
Hey, Luke.

# stdin is not processed; must be valid JSON
$ cat | jr :3000 hello
{
	"name": "Luke",
	"excited": false
}
^D
Hey, Luke.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].