Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heapwolf/peerchan

Fully decentralized p2p IRC for your terminal
https://github.com/heapwolf/peerchan

chat irc p2p peer peerlinks

Last synced: about 2 months ago
JSON representation

Fully decentralized p2p IRC for your terminal

Awesome Lists containing this project

README

        

# SYNOPSIS
A terminal based client for the peerlinks protocol.

![screenshot](screenshot.png)

- Fully peer to peer
- Multiline input editing
- Command autocomplete
- Customizable color scheme
- Buffer scrollback
- Create channels
- Request and accept invites

# INSTALL

```sh
npm install peerchan -g
```

# GETTING STARTED

- Launch the app by typing `peerchan` from your terminal.
- Create an identity by typing `/id `.
- Make a request to join someone's channel by typing `/r` or
create your own channel by typing `/create `.

# CONFIG
Optional example config stored in `~/.peerchan.json`.

```js
{
"bg": 255,
"fg": 234,
"comment": { // system comments
"fg": 246,
"bg": 255
},
"prompt": { // the text message input
"bg": 4,
"fg": 15
},
"timestamp": { // message timestamp
"fg": 244,
"bg": 255
},
"status": { // the status bar at the top
"fg": 4,
"bg": 15
},
"prefix": "▌", // prefix system comments
"scrollback": 3, // scrollback rate
"id": "heapwolf" // your default id
}
```

# DEBUGGING
This has been tested on node `12.16.3 LTS`, but latest, `14.1.0` seems
to have some issues.

In terminal window A...

```sh
DEBUG_COLORS=false DEBUG='peerlinks:*' INST=0 node ./bin/peerchan.js
```

In terminal widow B...
```sh
DEBUG_COLORS=false DEBUG='peerlinks:*' INST=1 node ./bin/peerchan.js
```

In terminal window C...

```sh
tail -f ./peerchan.log
```