Skip to content

khbsd/pulseline

 
 

Repository files navigation

Pulseline Discord bot

Currently used in the FreeBSD Discord server to relay incoming GitHub web-hook events to a desired channel, showing information such as repository, commit title and committer name.

Tentative goals

Broader reach to Bugzilla and possibly Phabricator events, or any additional services that serves us of useful information.

Build and deployment

Ensure a valid configuration file exists in the root of the project. Example can be found here.

# make install

This will both build and install the resulting Go binary, as well as the configuration file. An rc service script comes included so that pulseline can be daemonized. To enable the service, run:

# sysrc pulseline_enable=YES
# service pulseline start

If you want to use a custom configuration file separate of the global one (residing under /usr/local/etc/pulseline) then pass the -c flag, followed with a desired absolute path.

Alternatively, specify the configuration that the rc service uses:

# sysrc pulseline_config=/path/to/config.yaml

License

BSD 2-Clause

About

Pulseline Discord bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 81.9%
  • Makefile 15.0%
  • Shell 2.5%
  • Smarty 0.6%