{"id":15524120,"url":"https://github.com/fmjsjx/libcommon","last_synced_at":"2026-01-16T21:18:45.633Z","repository":{"id":57719800,"uuid":"324282861","full_name":"fmjsjx/libcommon","owner":"fmjsjx","description":"A set of some common useful libraries.","archived":false,"fork":false,"pushed_at":"2026-01-15T08:59:47.000Z","size":1307,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T11:27:26.815Z","etag":null,"topics":["java","json","mongodb","redis"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fmjsjx.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-25T03:50:48.000Z","updated_at":"2026-01-15T08:59:48.000Z","dependencies_parsed_at":"2024-05-13T04:27:34.596Z","dependency_job_id":"43a5b999-d4d6-428f-9b99-d27a448a6b0a","html_url":"https://github.com/fmjsjx/libcommon","commit_stats":null,"previous_names":[],"tags_count":91,"template":false,"template_full_name":null,"purl":"pkg:github/fmjsjx/libcommon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmjsjx%2Flibcommon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmjsjx%2Flibcommon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmjsjx%2Flibcommon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmjsjx%2Flibcommon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmjsjx","download_url":"https://codeload.github.com/fmjsjx/libcommon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmjsjx%2Flibcommon/sbom","scorecard":{"id":405481,"data":{"date":"2025-08-11","repo":{"name":"github.com/fmjsjx/libcommon","commit":"bceb5369c0171dc08db6c9b532fef1b658b3ca2d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"11 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T21:08:59.162Z","repository_id":57719800,"created_at":"2025-08-18T21:08:59.162Z","updated_at":"2025-08-18T21:08:59.162Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["java","json","mongodb","redis"],"created_at":"2024-10-02T10:49:14.141Z","updated_at":"2026-01-16T21:18:45.627Z","avatar_url":"https://github.com/fmjsjx.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LibCommon Project\n\nA set of some common useful libraries.\n\n## JDK version compatibility list\n| version | JDK version |\n|---------|-------------|\n| 4.x     | JDK 21+     |\n| 3.x     | JDK 17+     |\n| older   | JDK 11+     |\n\n## Add Dependencies\n\n### Add Maven Dependencies\n```xml\n\u003cpom\u003e\n  \u003cdependencyManagement\u003e\n    \u003cdependencies\u003e\n      \u003c!-- BOM --\u003e\n      \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.fmjsjx\u003c/groupId\u003e\n        \u003cartifactId\u003elibcommon-bom\u003c/artifactId\u003e\n        \u003cversion\u003e4.1.0\u003c/version\u003e\n        \u003ctype\u003epom\u003c/type\u003e\n        \u003cscope\u003eimport\u003c/scope\u003e\n      \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n  \u003c/dependencyManagement\u003e\n  \u003cdependencies\u003e\n    \u003c!-- Common Utility --\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.fmjsjx\u003c/groupId\u003e\n      \u003cartifactId\u003elibcommon-util\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003c!-- JSON library based on Jackson2 --\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.fmjsjx\u003c/groupId\u003e\n      \u003cartifactId\u003elibcommon-json-jackson2\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003c!-- JSON library based on Json-Iter --\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.fmjsjx\u003c/groupId\u003e\n      \u003cartifactId\u003elibcommon-json-jsoniter\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n  \u003c/dependencies\u003e\n\u003c/pom\u003e\n```\n\n### Add Gradle Dependencies\n\n#### Groovy DSL\n```groovy\nrepositories {\n    mavenCentral\n}\n\ndependencies {\n    // BOM\n    implementation platform('com.github.fmjsjx:libcommon-bom:4.1.0')\n    // Common Utility\n    implementation 'com.github.fmjsjx:libcommon-util'\n    // JSON library based on Fastjson2\n    implementation 'com.github.fmjsjx:libcommon-json-fastjson2'\n    // JSON library based on Jackson2\n    implementation 'com.github.fmjsjx:libcommon-json-jackson2'\n    // JSON library based on Json-Iter\n    implementation 'com.github.fmjsjx:libcommon-json-jsoniter'\n}\n```\n#### Kotlin DSL\n```kotlin\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    // BOM\n    implementation(platform(\"com.github.fmjsjx:libcommon-bom:4.1.0\"))\n    // Common Utility\n    implementation(\"com.github.fmjsjx:libcommon-util\")\n    // JSON library based on Fastjson2\n    implementation(\"com.github.fmjsjx:libcommon-json-fastjson2\")\n    // JSON library based on Jackson2\n    implementation(\"com.github.fmjsjx:libcommon-json-jackson2\")\n    // JSON library based on Json-Iter\n    implementation(\"com.github.fmjsjx:libcommon-json-jsoniter\")\n}\n```\n\n## Modules\n\nThere are a number of modules in LibCommon, here is a quick overview:\n\n### libcommon-util\n\nThe [`libcommon-util`](libcommon-util) module provides some common utility classes.\n\n### libcommon-collection\n\nThe [`libcommon-collection`](libcommon-collection) module provides additional collection/map.\n\n### libcommon-function\n\nThe [`libcommon-function`](libcommon-function) module provides additional functional interfaces.\n\n### libcommon-json\n\nThe [`libcommon-json`](libcommon-json) module provides a library interface to encode/decode JSON.\n\n### libcommon-json-fastjson2\n\nThe [`libcommon-json-fastjson2`](libcommon-json-fastjson2) module provides an implementation of [`libcommon-json`](libcommon-json) based on [`Fastjson2`](https://github.com/alibaba/fastjson2).\n\n### libcommon-json-fastjson2-kotlin\n\nThe [`libcommon-json-fastjson2-kotlin`](libcommon-json-fastjson2-kotlin) module provides the kotlin extensions of [`libcommon-json-fastjson2`](libcommon-json-fastjson2).\n\n### libcommon-json-jackson2\n\nThe [`libcommon-json-jackson2`](libcommon-json-jackson2) module provides an implementation of [`libcommon-json`](libcommon-json) based on [`Jackson2`](https://github.com/FasterXML/jackson).\n\n### libcommon-json-jackson2-kotlin\n\nThe [`libcommon-json-jackson2-kotlin`](libcommon-json-jackson2-kotlin) module provides the kotlin extensions of [`libcommon-json-jackson2`](libcommon-json-jackson2).\n\n### libcommon-json-jackson3\n\nThe [`libcommon-json-jackson3`](libcommon-json-jackson3) module provides an implementation of [`libcommon-json`](libcommon-json) based on [`Jackson3`](https://github.com/FasterXML/jackson).\n\n### libcommon-json-jackson3-kotlin\n\nThe [`libcommon-json-jackson3-kotlin`](libcommon-json-jackson3-kotlin) module provides the kotlin extensions of [`libcommon-json-jackson3`](libcommon-json-jackson3).\n\n### libcommon-json-jsoniter\n\nThe [`libcommon-json-jsoniter`](libcommon-json-jsoniter) module provides an implementation of [`libcommon-json`](libcommon-json) based on [`json-iterator`](https://jsoniter.com/).\n\n### libcommon-json-jsoniter-kotlin\n\nThe [`libcommon-json-jsoniter-kotlin`](libcommon-json-jsoniter-kotlin) module provides the kotlin extensions of [`libcommon-json-jsoniter`](libcommon-json-jsoniter).\n\n### libcommon-jwt\n\nThe [`libcommon-jwt`](libcommon-jwt) module provides a library to build/parse JWTs.\n\n### libcommon-kotlin\n\nThe [`libcommon-kotlin`](libcommon-kotlin) module provides some utilitiy class for [**Kotlin**](https://kotlinlang.org/).\n\n### libcommon-prometheus (legacy)\n\nThe [`libcommon-prometheus`](libcommon-prometheus) module provides Hotspot JVM metrics exports, that allow users set custom labels, based on [**prometheus simple client**](https://github.com/prometheus/client_java/tree/simpleclient).\n\n### libcommon-prometheus-client\n\nThe [`libcommon-prometheus-client`](libcommon-prometheus-client) module provides Hotspot JVM metrics exports, that allow users set custom labels, based on [**prometheus client java**](https://prometheus.github.io/client_java/).\n\n### libcommon-yaml\n\nThe [`libcommon-yaml`](libcommon-yaml) module provides a library interface to encode/decode YAML, with the default implementation based on [`Jackson2`](https://github.com/FasterXML/jackson).\n\n### libcommon-redis\n\nThe [`libcommon-redis`](libcommon-redis) module provides additional utility functions for [`Lettuce`](https://lettuce.io/).\n\n### libcommon-redis-kotlin\n\nThe [`libcommon-redis-kotlin`](libcommon-redis-kotlin) module provides the kotlin extensions of [`Lettuce`](https://lettuce.io/).\n\n### libcommon-jdbc\n\nThe [`libcommon-util`](libcommon-util) module provides additional utility functions for JDBC.\n\n### libcommon-bson\n\nThe [`libcommon-bson`](libcommon-bson) module provides some additional utility functions for [`BSON`](https://www.mongodb.com/basics/bson).\n\n### libcommon-bson-kotlin\n\nThe [`libcommon-bson-kotlin`](libcommon-bson-kotlin) module provides some additional kotlin extensions for [`BSON`](https://www.mongodb.com/basics/bson).\n\n### libcommon-uuid\n\nThe [`libcommon-uuid`](libcommon-uuid) module provides additional implementations of `UUID`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmjsjx%2Flibcommon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmjsjx%2Flibcommon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmjsjx%2Flibcommon/lists"}