{"id":18252239,"url":"https://github.com/dreaming-codes/axios-tauri-http-adapter","last_synced_at":"2025-10-05T11:19:18.771Z","repository":{"id":200162069,"uuid":"705282760","full_name":"Dreaming-Codes/axios-tauri-http-adapter","owner":"Dreaming-Codes","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-08T01:22:57.000Z","size":95,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-17T06:52:10.756Z","etag":null,"topics":["adapter","axios","axios-adapter","http","tauri","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/axios-tauri-http-adapter","language":"TypeScript","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/Dreaming-Codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":["Dreaming-Codes"]}},"created_at":"2023-10-15T15:28:00.000Z","updated_at":"2025-02-23T08:34:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a9ea940-eb31-4971-b250-fb20c7996d42","html_url":"https://github.com/Dreaming-Codes/axios-tauri-http-adapter","commit_stats":null,"previous_names":["dreaming-codes/axios-tauri-http-adapter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dreaming-Codes/axios-tauri-http-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dreaming-Codes%2Faxios-tauri-http-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dreaming-Codes%2Faxios-tauri-http-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dreaming-Codes%2Faxios-tauri-http-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dreaming-Codes%2Faxios-tauri-http-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dreaming-Codes","download_url":"https://codeload.github.com/Dreaming-Codes/axios-tauri-http-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dreaming-Codes%2Faxios-tauri-http-adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278444552,"owners_count":25987790,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["adapter","axios","axios-adapter","http","tauri","typescript"],"created_at":"2024-11-05T09:50:33.244Z","updated_at":"2025-10-05T11:19:18.741Z","avatar_url":"https://github.com/Dreaming-Codes.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Dreaming-Codes"],"categories":[],"sub_categories":[],"readme":"# axios-tauri-http-adapter\n\nThis is an adapter for the tauri plugin http v2. This requires tauri 2.\n\nTo install this adapter, run:\n\n```bash\n# with pnpm\npnpm install axios-tauri-http-adapter\n# with npm\nnpm install axios-tauri-http-adapter\n# with yarn\nyarn add axios-tauri-http-adapter\n# with bun\nbun add axios-tauri-http-adapter\n```\n\nThen add the official plugin to your cargo dependencies:\n\n```toml\n# src-tauri/Cargo.toml\n[dependencies]\n# ...\ntauri-plugin-http = { git = \"https://github.com/tauri-apps/plugins-workspace\", branch = \"v2\" }\n```\n\nThen add the plugin to your tauri config:\n\n```json5\n// src-tauri/tauri.conf.json\n{\n  // ...\n  \"plugins\": {\n    \"http\": {\n      // Customize the scope as needed, this will allow all http requests\n      \"scope\": [\n        \"http://**\",\n        \"https://**\"\n      ]\n    }\n  }\n}\n```\n\nThen initialize the plugin in your tauri app:\n\n```rust\n// src-tauri/src/lib.rs or src-tauri/src/main.rs (it may differ depending on how you set up your tauri app)\npub fn run() {\n    tauri::Builder::default()\n        // ...\n        .plugin(tauri_plugin_http::init())\n        // ...\n        .run(tauri::generate_context!())\n        .expect(\"error while running tauri application\");\n}\n```\n\nThen add the adapter to your axios instance:\n\n```js\nimport axiosAdapter from \"axios-tauri-http-adapter\";\n\nconst axiosClient = axios.create({\n    adapter: axiosAdapter()\n})\n```\n\nEnjoy blazingly fast http requests in your tauri app with axios without having to worry about CORS and other browser limitations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreaming-codes%2Faxios-tauri-http-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreaming-codes%2Faxios-tauri-http-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreaming-codes%2Faxios-tauri-http-adapter/lists"}