2023-10-12 22:13:24 +02:00
# e2e-irc
This is an IRC bouncer that supports end-to-end encryption and is horribly written.
2023-10-15 13:23:59 +02:00
# Setup CWD
2023-10-12 22:13:24 +02:00
To use this you need to build it and in your CWD you need to add two files. One called `secret.gpg` and one called `public.gpg` that are just pgp keys.
2023-10-15 13:23:59 +02:00
You also need a .env file in your CWD like this:
```bash
SERVER={address of the server you want to connect to (has to support tls)}
PORT={the port you want the program to bind to and the port that the IRC client should connect to}
PASSWD={password of your pgp key} # Optional
```
2023-10-12 22:13:24 +02:00
2023-10-15 13:23:59 +02:00
# Run
Then you just run the binary with:
`cargo run --release`
or build the project to get a binary
```bash
cargo build --release
cp target/release/e2e-irc ~/.local/bin/
```
and after running that once you can run the program with
```bash
e2e-irc
```
but you have to have the .env in the CWD