2018-08-12 22:57:56 -07:00
|
|
|
Dip
|
|
|
|
===
|
|
|
|
|
|
|
|
[](https://github.com/ansuz/RIIR)
|
|
|
|
|
|
|
|
Configurable webhook server.
|
|
|
|
|
2018-08-13 00:03:13 -07:00
|
|
|
Set up some kind of directory structure like this:
|
|
|
|
|
|
|
|
```
|
|
|
|
root/
|
|
|
|
- config.toml
|
|
|
|
- hooks/
|
|
|
|
- website.com
|
|
|
|
```
|
|
|
|
|
|
|
|
where every file in the `hooks` subdirectory is a TOML document of the following format:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
# The handler to use. This must match one of the handlers defined in the
|
|
|
|
# handlers directory or one of the builtins such as "github"
|
|
|
|
type = "github"
|
|
|
|
|
|
|
|
# wip lol
|
|
|
|
```
|
|
|
|
|
|
|
|
Then run the `dip` binary with the option `-d <root>` where `root` points to the root directory you made above.
|
|
|
|
|
2018-08-12 22:57:56 -07:00
|
|
|
Contact
|
|
|
|
-------
|
|
|
|
|
|
|
|
Author: Michael Zhang
|
|
|
|
|
|
|
|
License: MIT
|