{"id":16935699,"url":"https://github.com/bvolpato/ghostme4j","last_synced_at":"2025-04-11T18:54:12.584Z","repository":{"id":68522694,"uuid":"54681741","full_name":"bvolpato/ghostme4j","owner":"bvolpato","description":":ghost: Ghost Me - Java HTTP Proxifier","archived":false,"fork":false,"pushed_at":"2017-08-12T05:24:22.000Z","size":37,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T14:51:15.830Z","etag":null,"topics":["anonymous","java","privacy","proxy","user-agent"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bvolpato.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":"2016-03-24T23:51:55.000Z","updated_at":"2023-09-08T17:08:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"73b117b5-da0b-40e2-b886-833f86fbd434","html_url":"https://github.com/bvolpato/ghostme4j","commit_stats":null,"previous_names":["brunocvcunha/ghostme4j"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvolpato%2Fghostme4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvolpato%2Fghostme4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvolpato%2Fghostme4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvolpato%2Fghostme4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bvolpato","download_url":"https://codeload.github.com/bvolpato/ghostme4j/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248464720,"owners_count":21108238,"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":["anonymous","java","privacy","proxy","user-agent"],"created_at":"2024-10-13T20:55:09.122Z","updated_at":"2025-04-11T18:54:12.576Z","avatar_url":"https://github.com/bvolpato.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"ghostme4j\n========\n:ghost: Ghostme4j - HTTP Proxifier\nSearch and use proxies in an easy way.\n\n\n[![Apache License](http://img.shields.io/badge/license-ASL-blue.svg)](https://github.com/brunocvcunha/ghostme4j/blob/master/LICENSE)\n[![Build Status](https://travis-ci.org/brunocvcunha/ghostme4j.svg)](https://travis-ci.org/brunocvcunha/ghostme4j)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.brunocvcunha.ghostme4j/ghostme4j/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.brunocvcunha.ghostme4j/ghostme4j)\n\n\n\nDownload\n--------\n\nDownload [the latest JAR][1] or grab via Maven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eorg.brunocvcunha.ghostme4j\u003c/groupId\u003e\n  \u003cartifactId\u003eghostme4j\u003c/artifactId\u003e\n  \u003cversion\u003e0.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\nor Gradle:\n```groovy\ncompile 'org.brunocvcunha.ghostme4j:ghostme4j:0.2'\n```\n\nSnapshots of the development version are available in [Sonatype's `snapshots` repository][snap].\n\nghostme4j requires at minimum Java 6.\n\n\nUsage Example\n--------\n\n```java\n  Proxy used = GhostMe.ghostMySystemProperties(true); //true if it needs to test proxy connectivity/anonymity\n  URL url = new URL(\"https://github.com/brunocvcunha/ghostme4j\");\n  URLConnection conn = url.openConnection(used.getJavaNetProxy());\n```\n\nor apply to the system properties (`http.proxyHost` and `http.proxyPort`), and no need to pass it in parameters:\n\n```java\n  Proxy used = GhostMe.getProxy(true);  //true if it needs to test proxy connectivity/anonymity\n  URL url = new URL(\"https://github.com/brunocvcunha/ghostme4j\");\n  URLConnection conn = url.openConnection();\n```\n\n\nYou can also get a random User-Agent, to fake a real browser connection (e.g. `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36`)\n\nTo apply in the system properties:\n```java\n  GhostMe.applyUserAgent();\n```\n\nOr to get an User-Agent:\n```java\n  String userAgent = GhostMe.getRandomUserAgent();\n```\n\nFull GhostMe example:\n```java\n  Proxy used = GhostMe.ghostMySystemProperties(true); //true if it needs to test proxy connectivity/anonymity\n\n  URL url = new URL(\"https://github.com/brunocvcunha/ghostme4j\");\n  URLConnection conn = url.openConnection(used.getJavaNetProxy());\n  conn.addRequestProperty(HttpHeaders.USER_AGENT, GhostMe.getRandomUserAgent());\n\n```\n\n\n [1]: https://search.maven.org/remote_content?g=org.brunocvcunha.ghostme4j\u0026a=ghostme4j\u0026v=LATEST\n [snap]: https://oss.sonatype.org/content/repositories/snapshots/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvolpato%2Fghostme4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbvolpato%2Fghostme4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvolpato%2Fghostme4j/lists"}