diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..870922e --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,50 @@ | |||
1 | # MERGIRC TURNEL | ||
2 | |||
3 | a configurable ssh tunneler that I use for IRC | ||
4 | |||
5 | this is a small shell script that'll set up | ||
6 | an IRC tunnel between hosts that you can configure | ||
7 | using a file. | ||
8 | |||
9 | When you run mrgrctrnl, | ||
10 | it'll automagically tunnel the hosts | ||
11 | and let you sign into IRC on your own computer. | ||
12 | Yay! | ||
13 | |||
14 | ## Why | ||
15 | |||
16 | I like running weechat from my computer but have it connected to others. | ||
17 | For example, I like to stay connected to tilde.town's IRC from my laptop. | ||
18 | According to instructions from | ||
19 | [~nick](https://tilde.town/~nick/sshtunnel.html), | ||
20 | you can just set up an SSH tunnel. | ||
21 | But I have multiple servers! | ||
22 | So I made this script. | ||
23 | |||
24 | ### Why the stupid name? | ||
25 | |||
26 | ![gersbermps meme edited so she's holding terminals](mrgrc.jpg "ermahgerd") | ||
27 | |||
28 | ## Config file | ||
29 | |||
30 | The config file is located at `$XDG_CONFIG_HOME/mrgrctrnl/config`. | ||
31 | Each row is an ssh tunnel to run, | ||
32 | with whitespace-separeted fields. | ||
33 | A `#` begins a comment that goes to the end of the line. | ||
34 | |||
35 | ``` | ||
36 | # machine user local remote | ||
37 | example.com ted localhost:6989 localhost:6667 | ||
38 | ``` | ||
39 | |||
40 | ## Requirements | ||
41 | |||
42 | - POSIX environment | ||
43 | - ssh | ||
44 | |||
45 | ## Install | ||
46 | |||
47 | ```` | ||
48 | $ make clean | ||
49 | # make install | ||
50 | ``` | ||