https://github.com/drsensor/example-rpcserver-on-browser
https://github.com/drsensor/example-rpcserver-on-browser
my-study
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/drsensor/example-rpcserver-on-browser
- Owner: DrSensor
- Created: 2018-06-30T00:15:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T08:17:43.000Z (almost 8 years ago)
- Last Synced: 2025-07-04T23:14:32.060Z (12 months ago)
- Topics: my-study
- Language: JavaScript
- Homepage: https://steempeak.com/utopian-io/@drsensor/creating-rpc-server-on-web-browser-part-3-create-reverse-rpc-through-websocket
- Size: 379 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
reverse-rpc
===========
[](https://saythanks.io/to/DrSensor)
PoC for changing behaviour of front-end application via CLI
# Usage
```console
$ reverse-rpc --help
Reverse RPC that can control webapp behaviour
USAGE
$ reverse-rpc CONTENT
ARGUMENTS
CONTENT .html file or directory that contain .html component that want to be served.
Default is `index.html` if it's directory
OPTIONS
-c, --cdn=cdn inject script tag of URL of the external script (CDN)
--open open browser on start
```
# Install
```bash
git clone https://github.com/DrSensor/example-rpcserver-on-browser.git
cd example-rpcserver-on-browser
npm install
sudo npm link
```
# License
[CDDL 1.0](https://opensource.org/licenses/CDDL-1.0)