{"id":18075002,"url":"https://github.com/lnsp/moordep","last_synced_at":"2025-04-05T19:19:09.844Z","repository":{"id":82588168,"uuid":"58283380","full_name":"lnsp/moordep","owner":"lnsp","description":"Webhook listener for Docker Hub","archived":false,"fork":false,"pushed_at":"2016-05-19T19:28:41.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T16:42:55.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-07T20:32:59.000Z","updated_at":"2016-09-21T21:56:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f080f65-b6d8-400b-9d76-61606bc4f5f6","html_url":"https://github.com/lnsp/moordep","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fmoordep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fmoordep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fmoordep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fmoordep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnsp","download_url":"https://codeload.github.com/lnsp/moordep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247386417,"owners_count":20930636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T10:44:08.436Z","updated_at":"2025-04-05T19:19:09.827Z","avatar_url":"https://github.com/lnsp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moordep for Docker Hub\n\nA webhook listener in Go.\n\n# Getting started\nBefore you download the software, be sure that you have\n\n- a webhook service, that sends POST requests (like Docker Hub)\n- a valid and signed SSL certificate\n- command line access to the server where you host your stuff\n\nIf you are ready, go ahead and run\n```bash\n$ go get github.com/lnsp/moordep\n```\n**Success!** You just installed **moordep**.\n\n# Configuration\nI will provide you with the following configuration file with the path `$CFGPATH`.\nIt should look something like this.\n```json\n{\n    \"host\": \"\",\n    \"port\": 8080,\n    \"token\": \"your-private-token\",\n    \"hooks\": {\n        \"deploy\": \"./deploy-my-server.sh\"\n    }\n}\n```\nChange it for your needs and save it.\n\n# Starting up\nTo simplify running the server, I will use\n`$CERTPATH` for the certificate file and `$KEYPATH` for the key file.\n\nRun the following command to start up the server:\n```bash\n$ $GOPATH/bin/moordep -cert $CERTPATH -key $KEYPATH -config $CFGPATH\n```\n\nIf you do not get an error, everything should be fine. I recommend running the job detached from your terminal using\ncommands like `disown`.\n\n# Testing\nYou can use **cURL** to test your moordep installation.\n\n```bash\n$ curl -X POST \"https://[YOUR_HOSTNAME]:[PORT]/?hook=[YOUR_HOOK]\u0026token=[YOUR_TOKEN]\"\n```\n\nReplace the strings inside the brackets to match your configuration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fmoordep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnsp%2Fmoordep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fmoordep/lists"}