{"id":15607914,"url":"https://github.com/ossianaa/node-libcurl","last_synced_at":"2025-04-05T18:06:24.731Z","repository":{"id":65281424,"uuid":"589005644","full_name":"Ossianaa/node-libcurl","owner":"Ossianaa","description":"node-libcurl is a request library that mimics chrome ja3 fingerprints","archived":false,"fork":false,"pushed_at":"2025-04-05T12:50:12.000Z","size":60706,"stargazers_count":56,"open_issues_count":6,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T18:06:02.294Z","etag":null,"topics":["chrome-ja3","curl","ja3","node-libcurl"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@ossiana/node-libcurl","language":"C","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/Ossianaa.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":"2023-01-14T18:53:00.000Z","updated_at":"2025-04-05T12:50:12.000Z","dependencies_parsed_at":"2024-01-31T17:12:15.836Z","dependency_job_id":"91e5bb62-f621-4572-877f-ffe143786bbb","html_url":"https://github.com/Ossianaa/node-libcurl","commit_stats":{"total_commits":445,"total_committers":5,"mean_commits":89.0,"dds":"0.022471910112359605","last_synced_commit":"630e06de5797844eea6fe3fce7fd5dc24d206d30"},"previous_names":[],"tags_count":72,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ossianaa%2Fnode-libcurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ossianaa%2Fnode-libcurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ossianaa%2Fnode-libcurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ossianaa%2Fnode-libcurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ossianaa","download_url":"https://codeload.github.com/Ossianaa/node-libcurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378140,"owners_count":20929296,"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":["chrome-ja3","curl","ja3","node-libcurl"],"created_at":"2024-10-03T05:05:10.639Z","updated_at":"2025-04-05T18:06:24.704Z","avatar_url":"https://github.com/Ossianaa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-libcurl\n\n## Different with Nodejs fetch api\n* The fingerprint can be customized to look like chrome or firefox ,it modified the BoringSSL extension, set the custom cipher suite with Libcurl\n------------\n\n## Attention by custom ja3 fingerprint!!!\n* ssl support for node-libcurl is provided by boringssl\n* boringssl does not provided the following support\n* 1. extension support group only support [P-256, P-384, P-521, X25519, X25519MLKEM768], but the library was modified to provide dummy support groups, like [ffdhe2048, ffdhe3072] (ja3 is 256,257). if you use them, it may cause an SSL connection error. This depends on whether the server selects these two support groups\n* 2. ec_point_format (ja3 is ...,0-1-2) only support 0 (uncompressed)\n* 3. extensions only support (ja3)[0, 65037, 23, 65281, 10, 11, 35, 16, 5, 13, 13172, 18, 30032, 14, 51, 45, 42, 43, 44, 57, 65445, 27, 34, 17513, 28, 41]\n------------\n\n## Build Status\n\n|      Platform       | Support |\n| :-----------------: | :-----: |\n|  __Windows (x64)__  | __Yes__ |\n|  __Windows (x86)__  | __No__  |\n|  __Windows (arm)__  | __No__  |\n| __Ubuntu (x86_64)__ | __Yes__ |\n| __MacOS (x86_64)__  | __Yes__ |\n|  __MacOS (arm64)__  | __Yes__  |\n------------\n\n## How to Install\n\u003e npm i -g pnpm\n\u003e \n\u003e pnpm i @ossiana/node-libcurl\n------------\n\n\n\n## Use Sample\n\n### import as ES Module\n```javascript\nimport { LibCurl, fetch, requests } from '@ossiana/node-libcurl'\n```\n\n### import as CommonJS Module\n```javascript\nconst { LibCurl, fetch, requests } = require('@ossiana/node-libcurl')\n```\n\n### browser fetch  style\n```javascript\nfetch(\"https://xxx.io/api/graphql/\").then(e =\u003e e.json())\n```\n### requests  style (🔥)\n```javascript\nconst session = requests.session();\n\nsession.setCookie('ua', '123=/1a', '.baidu.com', '/');\n\nconst res = await session.get('https://www.baidu.com', {\n    headers: {\n        \"user-Agent\": \"1\"\n    }\n});\nconsole.log(res.headersMap);\nconsole.log(session.getCookiesMap().get('ua'));\nconsole.log(res.text);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossianaa%2Fnode-libcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossianaa%2Fnode-libcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossianaa%2Fnode-libcurl/lists"}