Skip to content

wasmIRCpp is an webassembly implementation of an IRC client

Notifications You must be signed in to change notification settings

jpelizza/wasmIRCpp-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasmIRCpp

wasmIRCpp is a webassembly implementation of the client using the IRC protocol. It is based on the implementation for inspIRCdv3 and uses a simple interface as an example of how to use it.

Building

To build this project you'll need emscripten and make. Generated files will be place inside "wasm" folder

make

Usage

To make use of the client, create a ircController class through importing the emscripten generated ircppwasm.js file

<script src="./wasm/ircppwasm.js">/*IMPORT*/</script>
<script>
  var irc;
  var module;

  async function init() {
    module = await Module();
    irc = new module.ircController();
    return module;
  }
  const m = init();
</script>

Contributing

You can contribute by testing and reporting any issues with the library and suggestions are welcomed as well.

License

Mozilla Public License 2.0

About

wasmIRCpp is an webassembly implementation of an IRC client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages