1
0
Fork
You've already forked doll
0
performer of tasks, on request
  • Go 89.3%
  • Shell 10.7%
2026年05月09日 06:42:10 +01:00
init initial 2026年05月08日 17:20:19 +01:00
go.mod initial 2026年05月08日 17:20:19 +01:00
go.sum initial 2026年05月08日 17:20:19 +01:00
main.go split auth out into it's own function 2026年05月09日 06:42:10 +01:00
README.md readmee 2026年05月09日 05:52:36 +01:00

doll

what is doll?

doll will perform basic pre-defined actions when it receives a http request with a valid token

why is doll?

i wanted to be able to run an action on a webhook but didn't want to rely on external services or overkill CI platforms

how to doll?

go build

doll's config is simple:

bindAddress = "localhost:8080"
[tasks.test]
key = "2ドルa10ドル9ドルkJCq41mvxqzyxGqO4EzAeqSTdb2MEfZiSiGORy8u.xvrUjIZcGWK"
path = "/path/to/thing"
command = "make"
args = ["target"]
[tasks.task2]
...

doll mkpass <password> generates a bcrypt password to use in the key section of a task config

doll serve config.toml starts doll from a config file

curl -H "Authorization: <key>" http(s)://<doll-uri>/<task-name>

where is doll going?

things i'll add eventually:

  • logging
  • stats and metrics