{"id":28242401,"url":"https://github.com/sxmurxy0/discord-webhook-api","last_synced_at":"2026-05-01T00:31:50.604Z","repository":{"id":178799762,"uuid":"662191933","full_name":"sxmurxy0/Discord-Webhook-API","owner":"sxmurxy0","description":"Java API tool for easy work with discord webhooks.","archived":false,"fork":false,"pushed_at":"2023-07-05T02:44:23.000Z","size":68,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T20:32:25.627Z","etag":null,"topics":["discord","discord-api","discord-webhook","discord-webhook-api","webhook"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sxmurxy0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-04T14:52:08.000Z","updated_at":"2025-02-23T19:29:13.000Z","dependencies_parsed_at":"2023-09-24T14:51:19.056Z","dependency_job_id":null,"html_url":"https://github.com/sxmurxy0/Discord-Webhook-API","commit_stats":null,"previous_names":["sxmurxy2007/discord-webhook-api","sxmurxy2005/discord-webhook-api","sxmurxy0/discord-webhook-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sxmurxy0/Discord-Webhook-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxmurxy0%2FDiscord-Webhook-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxmurxy0%2FDiscord-Webhook-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxmurxy0%2FDiscord-Webhook-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxmurxy0%2FDiscord-Webhook-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sxmurxy0","download_url":"https://codeload.github.com/sxmurxy0/Discord-Webhook-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxmurxy0%2FDiscord-Webhook-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32481553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","discord-api","discord-webhook","discord-webhook-api","webhook"],"created_at":"2025-05-19T06:08:54.758Z","updated_at":"2026-05-01T00:31:50.577Z","avatar_url":"https://github.com/sxmurxy0.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align='center'\u003eDiscord-Webhook-API:stars:\u003c/h1\u003e \u003c/br\u003e\n\nJava API tool for easy work with discord webhooks. Send files, embeds or just text messages. \u003c/br\u003e\nMore information and examples are [**here**](https://birdie0.github.io/discord-webhooks-guide/index.html). You can also use discord text formatting in your messages.\n\n## Example message\n\u003cimg width=\"264\" alt=\"Снимок экрана 2023-07-05 004509\" src=\"https://github.com/sxmurxy2007/Discord-Webhook-API/assets/46312126/00e033ad-4787-4303-93cc-e9c07432a139\"\u003e\n\n## Example's code\nIt doesn't matter in what order you will add components. Discord manages it itself.\n```java\n    private final WebhookAgent webhook = new WebhookAgent(\"your.webhook.url\");\n    \n    public void test() {\n    \tDiscordMessage message = DiscordMessage.builder()\n    \t\t.withUsername(\"CUSTOM USERNAME\")\n    \t\t.withAvatar(\"https://foni.club/uploads/posts/2023-01/1673429102_foni-club-p-super-puper-mega-krutie-oboi-48.jpg\")\n    \t\t.withContent(\"Your message. **You can** `write anything you` __want__\")\n    \t\t.addEmbed(DiscordEmbed.builder()\n    \t\t\t\t.withTitle(\"Testing testing title!\")\n    \t\t\t\t.withDescription(\"Description time\")\n    \t\t\t\t.withColor(Color.WHITE)\n    \t\t\t\t.withAuthor(new AuthorEmbed(\"sxmurxy\", \"https://sun6-21.userapi.com/s/v1/if1/dBGCgSOmmhlMRrHKvpRg7-tBe2C61B-SF37DfOxFIlJWolDCE9o0KIsegJXqzaaCX1if5y4k.jpg?size=639x639\u0026quality=96\u0026crop=0,76,639,639\u0026ava=1\", \"https://vk.com/traplicate\"))\n    \t\t\t\t.withImage(new ImageEmbed(\"https://yt3.googleusercontent.com/wxbc8Sby-cCy3zjWtFeLr3iO-j8hg_PfaSCiGJ-WioNTxv29EzNF6l07Ce0M4jsxoCE9EC_VXg=s900-c-k-c0x00ffffff-no-rj\"))\n    \t\t\t\t.withThumbnail(new ThumbnailEmbed(\"https://sun6-21.userapi.com/s/v1/if1/dBGCgSOmmhlMRrHKvpRg7-tBe2C61B-SF37DfOxFIlJWolDCE9o0KIsegJXqzaaCX1if5y4k.jpg?size=639x639\u0026quality=96\u0026crop=0,76,639,639\u0026ava=1\"))\n    \t\t\t\t.withTimestamp(System.currentTimeMillis())\n    \t\t\t\t.addFields(new FieldEmbed(\"Field1\", \"Value1\", true),\n    \t\t\t\t\t\tnew FieldEmbed(\"Field2\", \"Value2\", true),\n    \t\t\t\t\t\tnew FieldEmbed(\"Field3\", \"Value3\", true), \n    \t\t\t\t\t\tnew FieldEmbed(\"Field4\", \"Value4\", true))\n    \t\t\t\t.withFooter(new FooterEmbed(\"Footer text right there!\", \"https://sun6-21.userapi.com/s/v1/if1/dBGCgSOmmhlMRrHKvpRg7-tBe2C61B-SF37DfOxFIlJWolDCE9o0KIsegJXqzaaCX1if5y4k.jpg?size=639x639\u0026quality=96\u0026crop=0,76,639,639\u0026ava=1\"))\n    \t\t\t\t.build())\n    \t\t.addFile(new File(\"C:/Users/%USERNAME%/Downloads/file\"))\n    \t\t.build();\n    \t\n    \twebhook.execute(message);\n    }\n```\n## Dependencies\n```gradle\ndependencies {\n    implementation 'com.google.code.gson:gson:2.10'\n    implementation 'org.apache.httpcomponents:httpmime:4.5.14'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsxmurxy0%2Fdiscord-webhook-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsxmurxy0%2Fdiscord-webhook-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsxmurxy0%2Fdiscord-webhook-api/lists"}