Skip to content

myzsh/myzshbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myzshbot

Adding events

Simply modify http_router.zsh to include a test for the new event. Pull needed bits out of jason.

Testing

  1. Modify http_router.zsh as needed.
  2. Start nc -vvlp 7000 to catch the rpc message in one terminal.
  3. Run http.zsh in another terminal.
  4. Copy the webhook from the github interface to test.body
  5. Run test.curl to submit the webhook in test.body to http.zsh

Deployment

The recommended method is to a Docker image with the included Dockerfile.

Manual steps are basically running irc.zsh and http.zsh at the same time. Expose 8080/tcp via a load balancer.

Releases

No releases published

Packages

No packages published

Languages