summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 35fab45d4a105438b31e7c65c045f589be59a74c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# discord.c

an alternative client for the discord messaging platform, written in the C programming language.

## requirements

* a POSIX system
*	GNU C library
* GNU compiler collection
* GNU Make
* libcurl 7.17.0 or newer with HTTPS support
* ncursesw6
* libcjson-dev

## instructions

### debian (ubuntu as well)

```
wget https://sijanec.eu/pgp-key.txt -qO- | sudo apt-key add -
sudo echo deb http://prog.sijanec.eu/ $(lsb_release -sc) main \>\> /etc/apt/sources.list
sudo echo deb-src http://prog.sijanec.eu/ $(lsb_release -sc) main \>\> /etc/apt/sources.list # optional
sudo apt update
sudo apt install discord.c
```

built packages only exist for the `amd64`. for i386 grab the source package:

```
apt source discord.c
# untar and follow install from source
```

### caveman style install

```
make
./discord.c -e email@address.example -p password
```

## missing features

* direct messages
* check for permissions before join