{"id":15678286,"url":"https://github.com/4drian3d/jdwebhooks","last_synced_at":"2025-05-05T21:02:25.872Z","repository":{"id":169936711,"uuid":"645445319","full_name":"4drian3d/JDWebHooks","owner":"4drian3d","description":"A Java library to send Discord WebHooks easily","archived":false,"fork":false,"pushed_at":"2025-04-24T03:31:20.000Z","size":310,"stargazers_count":13,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T04:27:13.647Z","etag":null,"topics":["discord","java","java-17"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4drian3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null},"funding":{"github":"4drian3d","custom":"https://paypal.me/4drian3d"}},"created_at":"2023-05-25T17:06:16.000Z","updated_at":"2024-11-11T22:00:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"9edcc47d-9292-4b50-95a0-883054ff4e21","html_url":"https://github.com/4drian3d/JDWebHooks","commit_stats":null,"previous_names":["4drian3d/jdwebhooks"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4drian3d%2FJDWebHooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4drian3d%2FJDWebHooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4drian3d%2FJDWebHooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4drian3d%2FJDWebHooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4drian3d","download_url":"https://codeload.github.com/4drian3d/JDWebHooks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252576985,"owners_count":21770720,"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":["discord","java","java-17"],"created_at":"2024-10-03T16:19:35.898Z","updated_at":"2025-05-05T21:02:25.831Z","avatar_url":"https://github.com/4drian3d.png","language":"Java","funding_links":["https://github.com/sponsors/4drian3d","https://paypal.me/4drian3d"],"categories":[],"sub_categories":[],"readme":"# JDWebHooks\n\nA library to send Discord WebHooks easily\n\n## Requirements\n- Java 17\n\n## Usage\n\n### Dependency\n```kotlin\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation(\"io.github.4drian3d:jdwebhooks:1.0.1\")\n}\n```\n\n### Example\n\n```java\n\nimport java.net.http.HttpResponse;\nimport java.util.concurrent.CompletableFuture;\n\npublic class Main {\n    public static void main(String[] args) {\n        final WebHookClient client = WebHookClient.from(\"id\", \"token\");\n        final Embed embed = Embed.builder()\n                .author(Embed.Author.builder().name(\"4drian3d\").build())\n                .timestamp(Instant.now())\n                .color(0xFF0000)\n                .title(\"My first Discord WebHook\")\n                .build();\n\n        final WebHook webHook = WebHook.builder()\n                .username(\"4drian3d was here\")\n                .embed(embed)\n                .build();\n\n        final CompletableFuture\u003cHttpResponse\u003cString\u003e\u003e futureResponse = client.sendWebHook(webHook);\n    }\n}\n\n```\n\n![](https://github.com/4drian3d/JDWebHooks/assets/68704415/e0950431-24c6-42b7-9f3b-302a7e7be8ef)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4drian3d%2Fjdwebhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4drian3d%2Fjdwebhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4drian3d%2Fjdwebhooks/lists"}