{"id":20988597,"url":"https://github.com/doorbash/glider-android","last_synced_at":"2026-04-24T11:31:01.084Z","repository":{"id":80553541,"uuid":"586613802","full_name":"doorbash/glider-android","owner":"doorbash","description":"use glider with okhttp","archived":false,"fork":false,"pushed_at":"2023-01-11T16:59:36.000Z","size":25744,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T10:38:59.096Z","etag":null,"topics":["android","glider","okhttp","proxy"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doorbash.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-08T18:42:05.000Z","updated_at":"2023-01-09T17:37:50.000Z","dependencies_parsed_at":"2023-02-28T20:00:26.973Z","dependency_job_id":null,"html_url":"https://github.com/doorbash/glider-android","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/doorbash/glider-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doorbash%2Fglider-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doorbash%2Fglider-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doorbash%2Fglider-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doorbash%2Fglider-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doorbash","download_url":"https://codeload.github.com/doorbash/glider-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doorbash%2Fglider-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32221170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["android","glider","okhttp","proxy"],"created_at":"2024-11-19T06:22:10.645Z","updated_at":"2026-04-24T11:31:01.079Z","avatar_url":"https://github.com/doorbash.png","language":"Java","readme":"# Glider-Android\n\n## Download\n\n```groovy\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\n\ndependencies {\n    implementation 'com.github.doorbash:glider-android:1.0.3'\n}\n```\n\n## Usage\n```kotlin\nval client: OkHttpClient = OkHttpClient.Builder()\n    .retryOnConnectionFailure(false)\n    .socketFactory(GliderSocketFactory(\"-forward tls://api.ipify.org/ -dialtimeout 10\"))\n    .callTimeout(20, TimeUnit.SECONDS)\n    .dns {\n        val addresses = Gliderandroid.resolve(\n            \"-forward doh://1.1.1.1\", // any proxy that supports DialUDP works\n            it,\n            \"8.8.8.8\",\n            53 // must be 53 when using doh://\n        ).toStringList()\n        println(\"addresses: ${addresses.joinToString(\", \")}\")\n        addresses.map { address -\u003e InetAddress.getByName(address) }\n    }\n    .build()\n\ntry {\n    val response = client.newCall(\n        Request.Builder()\n            .addHeader(\"Cache-Control\", \"no-cache\")\n            .cacheControl(CacheControl.FORCE_NETWORK)\n            .url(\"http://api.ipify.org/\")\n            .build()\n    ).execute().body.string()\n\n    println(response)\n} catch (e: Exception) {\n    e.printStackTrace()\n}\n```\n\n## License\nMIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoorbash%2Fglider-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoorbash%2Fglider-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoorbash%2Fglider-android/lists"}