blob: 304e6c2cd4796d294b2369a03dacb690b20f1b35 (
plain)
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
|
# 👧️ Gigi
> A Finger protocol server for risk takers
Gigi is a Finger protocol server with few features.
- Gigi can respond to Finger requests statically
- Gigi can respond to Finger requests dynamically
<p align="center">
<br>
<img src="https://i.imgur.com/RddckKP.png" width="75%">
</p>
## Usage
### Local
```bash
$ git clone [email protected]:Fuwn/gigi.git
$ cd gigi
$ tup
```
### Configuration
Gigi is configured through the `./gigi` directory.
Dynamic response mode is disabled by default in [`gigi.c`](./gigi.c)
because it is very unsafe. If you wish to live on the edge, uncomment the
`GIGI_DYNAMIC` macro.
Dynamic mode runs any and all executables located at the path `./gigi/do`, and
passes any arguments from the Finger request to the executable.
Static mode is enabled by default. A Finger request for `test` will return the
contents of `./gigi/test`. A Finger request of nothing will return the contents
of `./gigi/default`.
## Licence
This project is licensed with the [GNU General Public License v3.0](./LICENSE).
|