JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 92
  • Score
    100M100P100Q101931F
  • License MIT

Discord-first bridge between a bot process and external apps over WebSocket.

Package Exports

  • shardwire
  • shardwire/client

Readme

Shardwire

npm version npm downloads Node.js License: MIT

Shardwire is a Discord-first bridge for running Discord gateway/runtime in one process while app logic runs in another.

Documentation

https://shardwire.js.org/

Install

npm install shardwire

Source and contributing

Monorepo: github.com/unloopedmido/shardwire

Conceptual flow

  1. Start bot side with createBotBridge(...)
  2. Connect app side with connectBotBridge(...)
  3. Subscribe to events and invoke built-in actions

For manifests, strict startup, diagnostics, scoped secrets, deployment, and troubleshooting, use the docs site.

Security

  • Use wss:// for non-loopback deployments.
  • Keep app permissions narrow with scoped secrets.
  • Report vulnerabilities privately to cored.developments@gmail.com.

License

MIT - see LICENSE.