Go to file
John Olheiser 045c0a6f60 Actually fix info page (#5)
Actually fix info page

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #5
2020-05-19 03:16:25 +00:00
config Fix validation and convert Gitea to HMAC (#2) 2020-05-19 02:48:32 +00:00
router Actually fix info page (#5) 2020-05-19 03:16:25 +00:00
service Fix validation (#4) 2020-05-19 03:12:16 +00:00
.gitignore Move to TOML and add info page 2020-05-10 23:18:30 -05:00
go.mod Fix infinite loop and add index 2020-05-12 19:58:35 -05:00
go.sum Fix infinite loop and add index 2020-05-12 19:58:35 -05:00
horcrux.example.go Move to TOML and add info page 2020-05-10 23:18:30 -05:00
horcrux.example.yml Fix validation and convert Gitea to HMAC (#2) 2020-05-19 02:48:32 +00:00
main.go Run imp and clean up error messages 2020-05-11 22:14:36 -05:00
Makefile Add version 2020-05-12 23:00:31 -05:00
README.md Fix validation and convert Gitea to HMAC (#2) 2020-05-19 02:48:32 +00:00

Horcrux

Split your soul source code into multiple repositories.

This project was mostly a silly idea, but it seemed to have just enough use-case for me to seriously think about implementing.

The idea is, whenever you push changes to a remote, that remote sends a webhook to horcrux, which then clones and pushes those changes to any number of configured services.

For an example config, check out horcrux.example.yml

Webhook Endpoints

The format for a webhook endpoint is https://horcrux.domain.tld/<name>/<service> where name is the name of your configured repository and service is the type of service sending the webhook. (gitea, github, or gitlab)

What if I want to replicate to multiple Gitea instances?

Create two configs for the same repository, with different names. Add a webhook for any alternate instance.
As you (or horcrux) pushes to an instance, it could kick off a webhook to any number of horcrux endpoints.

Examples

Check out this repository on