{"id":28455057,"url":"https://github.com/luna-devv/githook","last_synced_at":"2025-10-10T09:49:28.062Z","repository":{"id":231765165,"uuid":"782631727","full_name":"Luna-devv/githook","owner":"Luna-devv","description":"Git boat that sends webhook events into your discord server","archived":false,"fork":false,"pushed_at":"2025-06-27T15:01:46.000Z","size":58,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T16:59:33.641Z","etag":null,"topics":["discord","github","golang","logging","webhook"],"latest_commit_sha":null,"homepage":"https://wamellow.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Luna-devv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"ko_fi":"mwlica"}},"created_at":"2024-04-05T17:34:26.000Z","updated_at":"2025-06-27T15:01:50.000Z","dependencies_parsed_at":"2024-10-22T17:38:36.133Z","dependency_job_id":null,"html_url":"https://github.com/Luna-devv/githook","commit_stats":null,"previous_names":["luna-devv/githook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Luna-devv/githook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luna-devv%2Fgithook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luna-devv%2Fgithook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luna-devv%2Fgithook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luna-devv%2Fgithook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luna-devv","download_url":"https://codeload.github.com/Luna-devv/githook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luna-devv%2Fgithook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003406,"owners_count":26083581,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["discord","github","golang","logging","webhook"],"created_at":"2025-06-06T21:14:55.799Z","updated_at":"2025-10-10T09:49:28.054Z","avatar_url":"https://github.com/Luna-devv.png","language":"Go","readme":"[![](https://img.shields.io/discord/828676951023550495?color=5865F2\u0026logo=discord\u0026logoColor=white)](https://lunish.nl/support)\n![](https://ghcr-badge.egpl.dev/luna-devv/githook/latest_tag)\n![](https://ghcr-badge.egpl.dev/luna-devv/githook/size)\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/I3I6AFVAP)\n\n**⚠️ In development, breaking changes ⚠️**\n\n## About\nGitHook is a Discord -\u003e GitHub middleware designed to improve GitHub notifications for discord. Basically just a modern and nicer version of the discord built-in GitHub webhook support.\n\nIf you need help developing with this, join **[our Discord Server](https://discord.com/invite/yYd6YKHQZH)**.\n\n![image](https://github.com/user-attachments/assets/4a52bba8-b71f-413a-be10-f0a5e626906d)\n\n## Deploy\nTo deploy this project, create the following `docker-compose.yml`:\n```yml\nservices:\n  app:\n    image: ghcr.io/luna-devv/githook:latest\n    container_name: githook\n    ports:\n      - \"8080:8080\"\n    restart: unless-stopped\n    volumes:\n      - ./.env:/app/.env\n```\n\nCreate a `.env` file with the following values:\n```env\nREDIS_USR=\"\"\nREDIS_PW=\"\"\nREDIS_ADDR=\"127.0.0.1:6379\"\nSECRET=\"replace-me-with-a-random-string\"\n```\n\nTo deploy the project, run:\n```sh\ndocker compose up -d\n```\n\n## Develope\nClone this repo and start the server with the following commands:\n```bash\ngit clone https://github.com/Luna-devv/githook\ngo run .\n```\n\n## Usage\nTo create a webhook, you have to follow the following steps:\n1. Go to [localhost:8080/create?url=\u003cdiscord-webhook\u003e](http://localhost:8080/create?url=); replace `\u003cdiscord-webhook\u003e` with an actual webhook url.\n2. Go to your repostitories webhook settings.\n3. Enter `http://localhost:8080/incomming/\u003chash\u003e`; replace `\u003chash\u003e` with the hash returned from step 1 and 2.\n4. Set **Content Type** to `application/json`, **Secret** to none, enable *SSL Verification** and enable all events.\n\n![image](https://github.com/user-attachments/assets/20f5d319-482a-418d-a20a-b81ac79cc572)\n\n*Please don't be stupid, localhost won't work with GitHub*\n","funding_links":["https://ko-fi.com/mwlica","https://ko-fi.com/I3I6AFVAP"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluna-devv%2Fgithook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluna-devv%2Fgithook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluna-devv%2Fgithook/lists"}