{"id":18437177,"url":"https://github.com/ultreon/ubo","last_synced_at":"2025-06-16T05:08:28.823Z","repository":{"id":134356527,"uuid":"563040155","full_name":"Ultreon/ubo","owner":"Ultreon","description":"NBT inspired data I/O. Made for games.","archived":false,"fork":false,"pushed_at":"2024-06-25T21:35:08.000Z","size":677,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-25T22:50:31.652Z","etag":null,"topics":["api","binary-data","data","data-storage","file-type","game-data","io","library","ubo"],"latest_commit_sha":null,"homepage":"https://ultreon.dev/ubo/docs/latest","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/Ultreon.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}},"created_at":"2022-11-07T19:32:40.000Z","updated_at":"2024-06-25T21:35:11.000Z","dependencies_parsed_at":"2023-11-07T19:33:00.841Z","dependency_job_id":"bc0aeed6-7e3e-4e40-9364-56c91bc16cb9","html_url":"https://github.com/Ultreon/ubo","commit_stats":null,"previous_names":["ultreon/ubo"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ultreon%2Fubo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ultreon%2Fubo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ultreon%2Fubo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ultreon%2Fubo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ultreon","download_url":"https://codeload.github.com/Ultreon/ubo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247725943,"owners_count":20985798,"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","binary-data","data","data-storage","file-type","game-data","io","library","ubo"],"created_at":"2024-11-06T06:13:57.367Z","updated_at":"2025-06-16T05:08:28.815Z","avatar_url":"https://github.com/Ultreon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ultreon Binary Object\n**File Extension:** `.ubo`  \n**API Language:** `Java 8`  \n\n## Usage\nAssuming you use Gradle.\n1. Then, in `build.gradle`, define the dependency:  \n    ```gradle\n    // --- Needed for 1.6.0 or above ---\n    repositories {\n        maven { url = \"https://maven.ultreon.dev/releases\" }\n        maven { url = \"https://maven.ultreon.dev/snapshots\" }\n    }\n    \n    // Add the dependency\n    dependencies {\n        implementation 'dev.ultreon:ubo:1.5.0'\n   \n        // Or use the 1.6.0 snapshot\n        implementation 'dev.ultreon:ubo:1.6.0-SNAPSHOT'\n    }\n    ```\n    Or if you use the Kotlin DSL:\n    ```kotlin\n    // --- Needed for 1.6.0 or above ---\n    repositories {\n        maven(\"https://maven.ultreon.dev/releases\")\n        maven(\"https://maven.ultreon.dev/snapshots\")\n    }\n   \n    // Add the dependency\n    dependencies {\n        implementation(\"dev.ultreon:ubo:1.5.0\")\n   \n        // Or use the 1.6.0 snapshot\n        implementation(\"dev.ultreon:ubo:1.6.0-SNAPSHOT\")\n    } \n2. We can now proceed to the using section. The `DataIo` class is capable of reading and writing UBO data.  \n    Example:\n   ```java\n   import dev.ultreon.ubo.DataIo;\n   import dev.ultreon.ubo.types.MapType;\n   import java.io.File;\n   \n   public class DataTest {\n       public static void main(String[] args) {\n           MapType dataType = new MapType();\n           dataType.putString(\"greetings\", \"Hello World\");\n           \n           DataIo.write(dataType, new File(\"data.ubo\"));\n       }\n   }\n   ```\n   Or if you want to use Kotlin:\n   ```kotlin\n   import dev.ultreon.ubo.DataIo\n   import dev.ultreon.ubo.types.MapType\n   import java.io.File\n   \n   fun main() {\n       val dataType = MapType()\n       dataType.putString(\"greetings\", \"Hello World\")\n       \n       DataIo.write(dataType, File(\"data.ubo\"))\n   }\n   ```\n3. You can now build it. You can change the example in step 2 to suit your needs. \n\n~~Here's the [jitpack listing](https://jitpack.io/#dev.ultreon/ubo) for the current versions and builds you can use.~~\nCheck out the project's 'releases' page for latest releases.\n\n## Naming conventions\nThe following conventions are for map keys:\n * `MapType` and `ListType` are in `PascalCase`.\n * Any other types are in `camelCase`.\n\nDo note that in some cases, keys can have a different case.  \nFor example, if the key is used for identifiers (Like those: `namespace:id`).  \nTho it's generally not recommended to use map keys for objects like identifiers or numbers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultreon%2Fubo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultreon%2Fubo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultreon%2Fubo/lists"}