gachette
Version, currently 0.11 version
- 0.1latestAug 9, 2019
github.com/blankoworld/gachette
Webhook server for Gitlab, Github and Gitea to run arbitrary commands
7 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
gachette:
github: blankoworld/gachette
version: ~> 0.1Then run:
shards installshard.yml
- Crystal
0.27.2- License
- MIT
- Author
- Olivier DOSSMANN <git@dossmann.net>
- Target
gachettefrom src/gachette.cr
Dependencies
Runtime Dependencies
- kemal0.25.2github: kemalcr/kemal
- spec-kemal0.5.0github: kemalcr/spec-kemal
README
# gachette Webhook server for Gitlab, Github and Gitea to run arbitrary commands. ## Installation You need to create the binary like this: ```bash shards install make ``` As a result, the executable `bin/gachette` will appear. ## Usage Launch the `bin/gachette` binary: ```bash KEMAL_ENV=production gachette -p 3030 -k github -n blankoworld/gachette -c "ls /" ``` Which means: * you run in **production** mode * port: **3030** * you accept webhooks formed as **github** one * user namespace is **blankoworld/gachette** * each time you receive the well-formed request you launch a command: **ls /** That's all! ## Development ### Webhooks documentation * [Github examples](https://developer.github.com/v3/activity/events/types/#pushevent) * [Gitlab examples](https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#push-events) * [Gitea examples](https://docs.gitea.io/en-us/webhooks/) * [Other examples](https://github.com/adnanh/webhook/blob/master/docs/Hook-Examples.md) ### Tests Pretty testing can be launched via these commands: ```bash shards install KEMAL_ENV=test crystal spec ``` ## Contributing 1. Fork it (<https://github.com/blankoworld/gachette/fork>) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request ## Contributors - [Olivier DOSSMANN](https://github.com/blankoworld) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1- Tagged
- Aug 9, 2019
- Commit
313041131085- Crystal
0.27.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/blankoworld/gachette
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1