Skip to content

nilscc/irc.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

** WIP **

Native Rust IRC client for the web with a minimal set of dependencies.

Main Dependencies

There are also a bunch of development dependencies:

  • websocket for testing IRC websocket clients against real servers
  • dotenv for defining e.g. host address and passwords

Installing

For development rustup for your basic rust installation. This can also be done with your favorite package manager of your choice. Then install current stable together with the wasm32 target via:

rustup default stable
rustup target add wasm32-unknown-unknown

Next install trunk with cargo:

cargo install trunk

TailwindCSS

Check which version of tailwind is being used by trunk, it might be necessary to upgrade:

trunk tools

TO BE CONTINUED

Testing

Tests requiring a dotenv environment will be ignored by default, as to not cause any issues in e.g. github actions. To run them use the following command:

cargo test -- --ignored

For these to work, define your own .env file in the source directory. As template use:

WEBSOCKET_HOST="wss://..."
WEBSOCKET_PASSWORD="..."

Make sure to use wss:// protocol to not transmit any clear text passwords!

About

Native Rust WASM IRC client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages