{"id":32957868,"url":"https://github.com/mizosoft/methanol","last_synced_at":"2026-04-02T01:01:22.175Z","repository":{"id":41969648,"uuid":"239025775","full_name":"mizosoft/methanol","owner":"mizosoft","description":"⚗️ Lightweight HTTP extensions for Java \u0026 Kotlin","archived":false,"fork":false,"pushed_at":"2026-02-25T02:03:33.000Z","size":20685,"stargazers_count":290,"open_issues_count":14,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-02-25T06:59:50.872Z","etag":null,"topics":["brotli","cache","client","decompression","gson","http","jackson","jaxb","multipart","protobuf"],"latest_commit_sha":null,"homepage":"https://mizosoft.github.io/methanol","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/mizosoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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-02-07T21:28:09.000Z","updated_at":"2026-02-25T02:03:38.000Z","dependencies_parsed_at":"2023-01-30T04:30:24.697Z","dependency_job_id":"904b6e74-33fb-414f-9b72-fc1d9d153bdc","html_url":"https://github.com/mizosoft/methanol","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/mizosoft/methanol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosoft%2Fmethanol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosoft%2Fmethanol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosoft%2Fmethanol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosoft%2Fmethanol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizosoft","download_url":"https://codeload.github.com/mizosoft/methanol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizosoft%2Fmethanol/sbom","scorecard":{"id":113808,"data":{"date":"2025-08-04","repo":{"name":"github.com/mizosoft/methanol","commit":"63c6f0eda53f736d6671895351de8fb863fc5e4c"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":3.9,"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Maintained","score":6,"reason":"5 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/16 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-site.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":5,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1","Warn: binary detected: methanol-brotli/src/main/resources/native/linux/x86-64/libbrotlijni.so:1","Warn: binary detected: methanol-brotli/src/main/resources/native/linux/x86/libbrotlijni.so:1","Warn: binary detected: methanol-brotli/src/main/resources/native/windows/x86-64/brotlijni.dll:1","Warn: binary detected: methanol-brotli/src/main/resources/native/windows/x86/brotlijni.dll:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:120: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-site.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/publish-site.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-site.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/publish-site.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-site.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/publish-site.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mizosoft/methanol/release.yml/master?enable=pin","Warn: pipCommand not pinned by hash: generate-docs.sh:33","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T20:39:44.972Z","repository_id":41969648,"created_at":"2025-08-15T20:39:44.972Z","updated_at":"2025-08-15T20:39:44.972Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["brotli","cache","client","decompression","gson","http","jackson","jaxb","multipart","protobuf"],"created_at":"2025-11-12T23:00:33.570Z","updated_at":"2026-04-02T01:01:22.130Z","avatar_url":"https://github.com/mizosoft.png","language":"Java","funding_links":[],"categories":["Projects","网络编程","项目","\u003ca name=\"Java\"\u003e\u003c/a\u003eJava"],"sub_categories":["HTTP Clients","HTTP客户端"],"readme":"# Methanol\n\n[![CI status](https://img.shields.io/github/actions/workflow/status/mizosoft/methanol/build.yml?branch=master\u0026logo=github\u0026style=flat-square)](https://github.com/mizosoft/methanol/actions)\n[![Coverage Status](https://img.shields.io/coveralls/github/mizosoft/methanol?style=flat-square)](https://coveralls.io/github/mizosoft/methanol?branch=master)\n[![Maven Central](https://img.shields.io/maven-central/v/com.github.mizosoft.methanol/methanol?style=flat-square)](https://search.maven.org/search?q=g:%22com.github.mizosoft.methanol%22%20AND%20a:%22methanol%22)\n[![Javadoc](https://img.shields.io/maven-central/v/com.github.mizosoft.methanol/methanol?color=blueviolet\u0026label=Javadoc\u0026style=flat-square)](https://mizosoft.github.io/methanol/api/latest/)\n\nJava enjoys a neat, built-in [HTTP client](https://openjdk.java.net/groups/net/httpclient/intro.html). However, it lacks key HTTP features like [multipart uploads](https://bugs.openjdk.org/browse/JDK-8235761), caching and response decompression.\n***Methanol*** comes in to fill these gaps. The library comprises a set of lightweight, yet powerful extensions aimed at making it much easier \u0026 more productive to work with `java.net.http`.\nYou can say it's an `HttpClient` wrapper, but you'll see it almost seamlessly integrates with the standard API you might already know.\n\nMethanol isn't invasive. The core library has zero runtime dependencies. However, special attention\nis given to object mapping, so integration with libraries like Jackson or Gson becomes a breeze.\n\nThere's also a Kotlin DSL!\n\n## Prerequisites (at runtime)\n\n- Java 11 or higher\n\nBuild time prerequisites in [CONTRIBUTING](CONTRIBUTING.md).\n\n## Installation\n\n### Gradle\n\n```kotlin\nimplementation(\"com.github.mizosoft.methanol:methanol:1.9.0\")\n```\n\n### Maven\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.mizosoft.methanol\u003c/groupId\u003e\n    \u003cartifactId\u003emethanol\u003c/artifactId\u003e\n    \u003cversion\u003e1.9.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Contributing\n\nSee [CONTRIBUTING](./CONTRIBUTING.md)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizosoft%2Fmethanol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizosoft%2Fmethanol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizosoft%2Fmethanol/lists"}