{"id":21606017,"url":"https://github.com/onelitefeathernet/plugin-debug","last_synced_at":"2026-01-05T16:40:47.186Z","repository":{"id":159789617,"uuid":"634842028","full_name":"OneLiteFeatherNET/Plugin-Debug","owner":"OneLiteFeatherNET","description":"A simple library to upload plugin debugs for developer to fix bugs easier","archived":false,"fork":false,"pushed_at":"2025-07-04T19:43:47.000Z","size":397,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-08T16:40:54.552Z","etag":null,"topics":["api","bukkit","debug","debugging","hacktoberfest","libary","minecraft-plugin-development","plugin"],"latest_commit_sha":null,"homepage":"https://discord.onelitefeather.net","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OneLiteFeatherNET.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["OneLiteFeatherNET"]}},"created_at":"2023-05-01T10:49:45.000Z","updated_at":"2025-01-14T07:50:17.000Z","dependencies_parsed_at":"2023-09-23T10:43:46.191Z","dependency_job_id":"6e1b4020-24e9-4059-9d65-ca6b4701cb0f","html_url":"https://github.com/OneLiteFeatherNET/Plugin-Debug","commit_stats":{"total_commits":74,"total_committers":2,"mean_commits":37.0,"dds":"0.20270270270270274","last_synced_commit":"28c608b9d7ae40773661f80a8cf64c26c8d0ee2e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/OneLiteFeatherNET/Plugin-Debug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneLiteFeatherNET%2FPlugin-Debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneLiteFeatherNET%2FPlugin-Debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneLiteFeatherNET%2FPlugin-Debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneLiteFeatherNET%2FPlugin-Debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneLiteFeatherNET","download_url":"https://codeload.github.com/OneLiteFeatherNET/Plugin-Debug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneLiteFeatherNET%2FPlugin-Debug/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265568949,"owners_count":23789631,"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":["api","bukkit","debug","debugging","hacktoberfest","libary","minecraft-plugin-development","plugin"],"created_at":"2024-11-24T20:18:34.742Z","updated_at":"2026-01-05T16:40:47.154Z","avatar_url":"https://github.com/OneLiteFeatherNET.png","language":"Java","funding_links":["https://github.com/sponsors/OneLiteFeatherNET"],"categories":[],"sub_categories":[],"readme":"# Plugin Debug\n\n[![javadoc](https://javadoc.io/badge2/dev.themeinerlp/plugin-debug/javadoc.svg)](https://javadoc.io/doc/dev.themeinerlp/plugin-debug)\n![GitHub issues](https://img.shields.io/github/issues/OneLiteFeatherNET/Plugin-Debug)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/OneLiteFeatherNET/Plugin-Debug)\n\n## Description\nPlugin Debug is a simple and modern library for collect some debug information of your plugin.  \nThis library is inspired by Debug Paste of @IntellectualSites [IntellectualSites](https://github.com/IntellectualSites)  \nAs a backend we use from lucko [bytebin](https://github.com/lucko/bytebin) service to host/upload the debug files\n\n## Motivation\nWe maintain now more than one plugin/software plugin in java. Now it's time to build an api/library to help us to provide better support for users there use our plugins. \n\n## Focus\nOur focus lies within a basic implementation of a generic api for collect server information and upload to a (custom) [bytebin](https://github.com/lucko/bytebin) server .\n\n## More information / external links\n\nDiscord: https://discord.onelitefeather.de\n\n## Get started\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eGroovy\u003c/strong\u003e\u003c/summary\u003e\n\n```groovy\ndependencies {\n    // Core\n    implementation 'dev.themeinerlp:plugin-debug:1.0.0'\n    // Bukkit Extension\n    implementation 'dev.themeinerlp.plugin-debug:bukkit-extension:1.0.0'\n}\n```\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eKotlin DSL\u003c/strong\u003e\u003c/summary\u003e\n\n```kotlin\ndependencies {\n    // Core\n    implementation(\"dev.themeinerlp:plugin-debug:1.1.0\")\n    // Bukkit Extension\n    implementation(\"dev.themeinerlp.plugin-debug:bukkit-extension:1.1.0\")\n}\n```\n\u003c/details\u003e\n\n### Example\n\nWe have an example [gradle module](example) with an example bukkit command to retrieve a debug log.\nAlso, we provide already a pre-hosted web ui for view your logs.\n\nThe hosted ui follows this structure:\n```\nhttps://debugpaste.onelitefeather.net/#/BYTEBIN_CODE/ENCODED_URL/\n```\n* BYTEBIN_CODE\n  * The returned code from ByteBin Server when the upload is successfully\n* ENCODED_URL\n  * The ByteBin Server URL encoded in a friendly style\n\n---\n### Example code(Kotlin):\n```kt\n// Example json object from GSON LIB\nval obj = JsonObject()\nobj.addProperty(\"Test\", \"Test\")\n\nval result =\n    DebugBuilder.builder(BYTEBIN_BASE_URL)\n        // Adds a file from path wrapped in a placeholder object\n        .addFile(DebugFile(Path.of(\"config\", \"config.yml\"), FileType.YAML, \"Config as file object\"))\n        // Add a simple text to the debug\n        .addText(\"Text test\", \"Text test\")\n        // Add json formatted string to the debug\n        .addJson(Gson().toJson(obj), \"Json test\")\n        // Upload to a bytebin server\n        .upload()\n// Encodes the URL as string\nval encodedUrl = URLEncoder.encode(\n    result.uploadServer,\n    StandardCharsets.UTF_8\n)\n// ByteBin Code from Server\nval code = result.code\n// Prettified url \nval openUrl = \"https://debugpaste.onelitefeather.net/#/$code/$encodedUrl/\"\nval component = MiniMessage.miniMessage().deserialize(\"\u003c#05b9ff\u003e[Example] \u003cyellow\u003e\u003cclick:OPEN_URL:'$openUrl'\u003eClick \u003cu\u003ehere\u003c/u\u003e to open the debug paste\u003c/click\u003e\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonelitefeathernet%2Fplugin-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonelitefeathernet%2Fplugin-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonelitefeathernet%2Fplugin-debug/lists"}