https://github.com/wk989898/web-ipc
:bulb:click in web , excute in server
https://github.com/wk989898/web-ipc
electron ipc nodejs ts typescript web websocket
Last synced: about 2 months ago
JSON representation
:bulb:click in web , excute in server
- Host: GitHub
- URL: https://github.com/wk989898/web-ipc
- Owner: wk989898
- License: mit
- Created: 2021-06-08T05:43:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T12:37:48.000Z (almost 5 years ago)
- Last Synced: 2025-03-01T21:43:04.312Z (over 1 year ago)
- Topics: electron, ipc, nodejs, ts, typescript, web, websocket
- Language: TypeScript
- Homepage:
- Size: 41.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# web-ipc
Electron ipc APIs simply implement on the web,based websocket.
Communicate between the server and web client.
## idea
What we run on electron can also be run on node.
See demo for inspiration.
## notice
* in web client,`createIPC` returned a promise,so use `async await`.
* use '$' and '#' in `invoke/handle`,so don't start with them.