mrkeyoor.comAsk

521xueweihan/GitHub520tested 07 Nov 2026commit 5bb329c

GitHub520 review

Use GitHub520 if you control your workstation's hosts file, can restore the original, and want to compare a reversible address change while keeping certificate checks enabled.

  • Safety failed
  • Build 1 s
12 sto install
  • 62 packages
Automationevaluationupdated 28 Nov 2026
+19stars / 7d

GitHub520 publishes GitHub hostname-to-IP mappings for your computer's hosts file. Its Chinese README documents manual editing, SwitchHosts and AdGuard. Ordinary feed users do not need to install the Python generator.

Verdict

Use GitHub520 if you control your workstation's hosts file, can restore the original, and want to compare a reversible address change while keeping certificate checks enabled. Choose another approach if dependable unattended release downloads are the requirement. Our generator install took 12 seconds and its build took 1 second at 5bb329c; tests were skipped because no target existed.

GitHub520 infographic: publishes GitHub mappings for your computer's hosts file, plus our test result and who it suits
Tested 7 November 2026: the source install took 12 s and the build 1 s.

We ran it

Lab card: what happened when we ran GitHub520
Lab card from our sandbox run
Screenshot of GitHub520 (github.com/521xueweihan/GitHub520)
github.com/521xueweihan/GitHub520
Install✓ · 12s62 packages · 60 MB
Build✓ · 1s
Testsn/ano test script
Known vulns12(pip-audit)
Repo17 files~332 lines of source · 1.5 MB · 1 CI workflows

Answers from our run

Does GitHub520 build from source?

Dependencies installed in 12 seconds (62 packages), and the build succeeded in 1 seconds. We cloned commit 5bb329c into a clean Debian container with 3 CPUs and no project-specific setup.

Does GitHub520 have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Does GitHub520 have known vulnerabilities in its dependencies?

pip-audit flagged 12 known advisories in the dependency tree at the time of our run.

Who should not use GitHub520?

Developers choosing a dependable unattended release-download solution: issue #22 describes package-manager updates still blocked by slow downloads.

What are the alternatives to GitHub520?

SwitchHosts, XboxDownload, github-hosts. Use GitHub520 if you control your workstation's hosts file, can restore the original, and want to compare a reversible address change while keeping certificate checks enabled.

Setup4/5Our source checkout installed in 12 s and built in 1 s with 62 dependencies, but we did not run a README task.Editor’s note: Generator installation completed, but applying the feed and restoring the hosts file were not exercised.
Docs4/5The README has an install command and a usage section (“二、使用方法”); we did not run its quickstart ourselves, and the README is mostly in Chinese, not English.Editor’s note: The Chinese README documents three setup routes; their operation across supported systems was not exercised.
Community5/5Last push on 2026-11-28, 30,387 stars and maintainers answered or closed 9 of the 10 most-discussed issues we sampled.Editor’s note: Sampled issues show replies and workarounds, without a representative measure of support capacity.
Maturity1/5No tagged GitHub release, repository created 2020-05-13 and no licence file GitHub recognises.Editor’s note: The run found one CI workflow and no test target; operational reliability and current certificate validation lack assessment.

How we score

Who it’s for

Developers who control their hosts file and can compare GitHub access before and after a reversible change.
SwitchHosts users who want a Remote entry for the published feed.
Python users interested in inspecting the generator or following the maintainer's suggestion to run address selection locally.

Who it’s NOT for

Developers choosing a dependable unattended release-download solution: issue #22 describes package-manager updates still blocked by slow downloads.
People who cannot obtain permission to change their system hosts file.
Anyone prepared to bypass certificate errors to restore access: issue #310 reports a mapping returning another hostname's certificate.

Setup reality

Our November 7, 2026 run at commit 5bb329c installed in 12 seconds and built in 1 second. It recorded 62 dependencies, 60 MB on disk and 12 known vulnerabilities from pip-audit. Tests were skipped because no tests script or target existed. The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image label ghcr.io/astral-sh/uv:python3.12-bookworm.

Normal use consists of retrieving the published hosts feed and applying its block manually or through a client such as SwitchHosts. The README documents the feed URL and system hosts paths. Its GNU one-liner edits the hosts file before downloading the replacement and contains no backup step.

Our November 28 hands-on safety step failed because no Compose file existed; teardown reported ok. The run summary's claim of a Compose deployment conflicts with that failed step. The failure concerns the deployment harness's Compose requirement, whereas the README describes a hosts-feed workflow.

Short answer: use a reversible hosts change, keep TLS warnings intact

Use GitHub520 for a reversible change on a computer you control; choose another approach when dependable unattended GitHub downloads are essential. Our GitHub520 install took 12 seconds and the build took 1 second, but tests were skipped because no target existed. Those are our November 7 generator measurements. In issue #22's package-manager discussion, SamLukeYes described linux-surface updates getting stuck despite already using a browser download userscript.

GitHub520 publishes hostname-to-IP mappings. A hosts file tells your computer which numerical address to use for a named server, overriding its usual DNS lookup. The GitHub520 README describes applying the published text without installing a program. The practical choice is therefore whether to use an externally maintained address list for GitHub connections, rather than whether a Python application is quick to install. Keep the original hosts file available and leave certificate validation enabled.

What people use GitHub520 for

GitHub commenters describe restored browsing, faster access and intermittent connections after applying the mappings. Their reports identify several reasons to try the feed, including replacing a browser proxy extension and recovering access after a hosts edit. The accounts below distinguish what each person changed from the outcome they reported. They also show why opening a repository, fetching its images and completing a release download are separate tasks.

Person and task Reported outcome Practical interpretation
yansheng836 replaced a browser proxy extension Reported a faster experience in issue #59 A browsing success report
Ken9711 changed hosts entries Reported an immediate connection in issue #59 The change restored access for that commenter
The author of issue #63 edited hosts and flushed DNS Reported access after waiting on China Unicom in issue #63 A China-specific network account
Weidows combined the mappings with Clash preprocessing Reported reaching the listed addresses but intermittent connections in issue #136 Reaching the selected IP and maintaining a connection are separate outcomes

The China Unicom account names a particular operator, while the other reports describe different configurations or omit their network details. For a workstation decision, compare the operation you need before and after applying the block. A repository page with its images is one useful task; a release fetch through a package manager is another. The release-download discussion records trouble even after additional download domains were added to the list.

What happened when we ran it

Our November 28 hands-on safety step failed because none of the four accepted Compose filenames existed. The failed safety-step record names compose.yaml, compose.yml, docker-compose.yaml and docker-compose.yml. The harness required one of those files. GitHub520's README instead describes applying a hosts feed, so the recorded failure belongs to that deployment procedure rather than demonstrating a failed feed subscription.

The November 28 run summary says the project was deployed with its own Docker Compose and every port bound to 127.0.0.1. That conflicts with the safety failure, so we retain both records and treat the deployment claim as inconsistent metadata. The teardown record reports "teardown: ok". No successful Compose startup follows from those records.

November 7 source-run observation Recorded result
Date and commit November 7, 2026; 5bb329c
Install Succeeded in 12 seconds
Dependencies 62 recorded; 60 MB on disk
Build Succeeded in 1 second
Tests Skipped: no tests script or target
pip-audit 12 known vulnerabilities
Checkout 17 files, approximately 332 source lines, 1.5 MB
Repository signals One CI workflow file, no Dockerfile, no tests directory
Recorded sandbox configuration 3 CPUs, 8 GB RAM; ghcr.io/astral-sh/uv:python3.12-bookworm

We measured the generator environment at commit 5bb329c separately from the later deployment attempt. The November 7 measurement record gives the install, build, dependency and audit results above. Subscribing to the published hosts text does not install that Python environment. The 62 dependencies and 60 MB therefore describe generator development, while a feed subscriber's operational change is to hostname resolution through a system hosts file.

Where people get stuck: refresh, assets and HTTPS

Issue #53 reports HTTPS port 443 timeouts while ICMP ping and port 80 continued working. Its author described waiting 3 minutes, with 90 TCPing timeouts of 2 seconds, before port 443 recovered after browser retries stopped. The issue #53 account concerns China Unicom broadband and mobile testing. A successful ping and a successful encrypted browser connection are different observations in that report.

Symptom What the discussion records Decision it supports
Hosts changed, GitHub still inaccessible df13954 reported failed hosts edits and DNS flushing, then used a global proxy in issue #59 Compare another connection method
Feed refresh fails Users reported ECONNREFUSED 165.154.5.27:443; the maintainer later said it was fixed in issue #233 Keep a failed download separate from hosts replacement
Page opens without CSS YSB123123123 reported correcting github.githubassets.com and restoring access in issue #170 Inspect the affected asset mapping
Windows updater changes hosts without a backup Orange-es reported that administrator execution produced the copy in issue #136 Look for the actual hosts.bak file
Windows updater reports missing sed Orange-es still saw the command error after the backup appeared in issue #136 File permissions and shell commands need separate attention

The Windows sequence contains two distinct failures. Orange-es first saw changed hosts entries without hosts.bak, then obtained the backup by running as administrator while still receiving the missing-sed error. The upstream README separately requires Git Bash for its Windows command method. For the unstyled page, the reported repair changed github.githubassets.com specifically. Neither story calls for replacing every mapping merely because one part of an update or page load succeeded.

A failed fetch should leave your hosts file alone

The README's GNU one-liner edits /etc/hosts before downloading the replacement feed and contains no backup operation. Its sed command quits at the GitHub520 start marker, which can remove unrelated entries following that marker. The README's command and placement instruction say the GitHub520 content should be at the end of the file. That ordering makes the existing file's layout part of the command's behavior.

In issue #233's failed-fetch report, wanlufun ran the GNU command and received "curl: (7) Failed to connect to raw.hellogithub.com port 443: Connection refused". A safer manual sequence is to save the original hosts file, download the feed separately, inspect it, and replace only the intended GitHub520 block. If downloading fails, leave the current hosts file intact. Keep unrelated entries and the saved original available for restoration.

Certificate errors call for removing the suspect mapping

Issue #310 reports NET::ERR_CERT_COMMON_NAME_INVALID after enabling GitHub520, with a github.com mapping returning a certificate for raw.hellogithub.com. The reporter described a macOS proxy setup and traced the selected address to the hosts configuration. In the certificate-mismatch discussion, wangengzheng recommended removing the problematic IP or discontinuing GitHub520. The maintainer subsequently said a revised configuration was available to try.

Keep certificate validation enabled when changing hosts entries. If the browser reports this error after applying a block, remove the suspect override or restore the saved file before continuing. The certificate hostname is part of the service's identity; a responsive address alone does not resolve that error. Another comment accused the service of hijacking, but the discussion's concrete evidence is a mismatched certificate and the configuration changes proposed in response.

Chinese documentation covers the normal setup path

The upstream Chinese README documents manual editing, SwitchHosts and AdGuard, and declares CC BY-NC-ND 4.0. It publishes a text feed at https://raw.hellogithub.com/hosts and JSON at https://raw.hellogithub.com/hosts.json. Its manual setup instructions name the system hosts paths and root editing on Linux and macOS. Feed subscription is the ordinary user path; building the generator is a separate activity.

The README places Windows hosts at C:\Windows\System32\drivers\etc\hosts and Linux and macOS hosts at /etc/hosts. It also says iPhone and iPad editing requires jailbreaking and Android editing requires root. Those requirements make device control part of the setup decision. The licence declaration includes noncommercial and no-derivatives conditions, so a public repository should not be treated as permission for unrestricted commercial redistribution or modified copies.

GitHub520 vs SwitchHosts, proxies and local address selection

The README recommends SwitchHosts as a Remote-feed client with a 1-hour refresh interval. SwitchHosts manages updates to GitHub520's list; it does not replace the list's address source. Issue discussions also describe proxy fallbacks and locally selected addresses. Those options address different parts of the connection process, so the comparison below ties each choice to the documented configuration or the person proposing it.

Option Why consider it Evidence
GitHub520 with manual edits Apply the published mappings directly The upstream README documents copying the block into hosts
SwitchHosts Manage and refresh the same feed The upstream README specifies Remote and a 1-hour refresh
Proxy or VPN Compare another connection route Commenters reported proxy or VPN fallbacks in issue #59 and issue #170
Running the generator locally Select addresses from a local environment The maintainer suggested local execution in issue #35
XboxDownload or feng2208/github-hosts Investigate the alternatives proposed by their commenters Issue #237 contains claims about address selection, IPv6 and SNI blocking
Browser download userscript Provide a manual download route SamLukeYes explained the mismatch with automated linux-surface updates in issue #22

Existing hosts entries affect a comparison with a new address-selection method. The XboxDownload commenter in issue #237 explicitly warned that previous hosts changes should be cleared first. The release-download discussion supplies another useful distinction: a browser button can help a manual download while leaving pacman -Syu blocked. Choose the comparison around the operation that fails, and account for the old overrides before judging the replacement.

What the other reviews get wrong

Solosoft describes a twice-daily publishing workflow, while the earlier MrKeyoor review reports a historical two-hour schedule. The Solosoft article says "currently twice daily"; the earlier MrKeyoor review says the workflow runs every 2 hours. These are descriptions from those reviews, rather than a current workflow-code finding. Solosoft also promises automatic installation backups, whereas the README's GNU command edits the file directly without creating one.

Solosoft's blanket assurance about official CDN addresses goes beyond the certificate mismatch reported in issue #310. Its broad DNS explanation also conflicts with GitHub's connectivity documentation, which names firewalls, proxies and networks configured to block GitHub as common causes. A hosts change is an intervention in address resolution. The reports of HTTPS failures despite working ping show why that intervention should not be presented as a general diagnosis.

Installerpedia describes a localhost:3000 welcome page and Docker Compose startup, while the upstream README describes a hosts-file workflow. Our missing-Compose-file safety failure is consistent with that distinction. The older technical article's ping-based account is also historical: the earlier MrKeyoor review describes commit 03874f6 using multiple DNS sources and three TCP port 443 checks. That older commit is distinct from our November 7 commit 5bb329c.

The LFX page's lifecycle summary includes "regular releases", but the same page says "No release data is available." Those LFX statements do not support a regular-release characterization. Likewise, a null latest-release lookup is not proof that no release exists. Repository activity, generated feed updates and tagged software releases are different records and should retain their own meanings when judging maintenance.

FAQ

GitHub520 can help some users, but issue #59 contains both immediate access and continued failure after hosts edits. Ken9711 reported connecting immediately, while df13954 reported needing a global proxy after editing hosts and flushing DNS. Those contrasting issue #59 accounts answer the practical question more directly than a universal speed promise: the outcome depends on the connection and operation being attempted.

What is GitHub520, and is 521xueweihan/GitHub520 the repository I am looking for?

521xueweihan/GitHub520 is the repository for the GitHub hosts-mapping project. Its README describes an attempt to address slow access and missing images by changing local hosts entries. It publishes text and JSON feeds and documents manual copying, SwitchHosts and AdGuard. The upstream repository is the project identity to use when distinguishing this feed from other GitHub connection tools.

How do I add GitHub520 mappings on Windows, macOS, or Linux, and do I need administrator privileges?

The README says to append the block to the system hosts file, using root editing on Linux and macOS. It lists C:\Windows\System32\drivers\etc\hosts for Windows and /etc/hosts for Linux and macOS. Save the existing file before making changes. The README's paths and editing instructions describe the normal manual route; a managed computer's file permissions determine whether you can apply it.

How do I configure hourly GitHub520 updates through SwitchHosts?

Create a Remote entry using https://raw.hellogithub.com/hosts and choose a 1-hour automatic refresh interval. Those are the README's SwitchHosts settings. The title can be chosen freely. This interval controls the client's requests for the feed, separately from upstream publishing. The SwitchHosts configuration in the README is the documented route for replacing repeated manual copying with a managed subscription.

What should I do when raw.hellogithub.com times out or SwitchHosts cannot refresh it?

Leave the current hosts file intact when fetching fails, and retrieve a replacement separately before editing. Issue #233 records connection-refused errors, SwitchHosts refresh failures and a later maintainer statement that the problem was fixed. Its failed GNU-command report explains the practical concern: downloading occurs after the command's edit. A saved original and a completed replacement download avoid relying on that ordering.

Why did GitHub release downloads remain slow after changing hosts?

Issue #22 describes release redirects and slow downloads after hosts changes, including a reported speed of 3.0k/b through Xunlei. XIU2 identified additional release and archive domains, and the maintainer said they were added. SamLukeYes later described redirected releases blocking linux-surface updates. The release-download discussion therefore separates repository browsing from downloading the files required by an automated update.

Why does GitHub load as an unstyled page after enabling GitHub520?

YSB123123123 reported an incorrect github.githubassets.com address and said changing that mapping restored access. Another commenter described a page whose CSS had not loaded. The asset-host discussion in issue #170 points to the supporting asset hostname rather than github.com alone. Comparing that entry with the affected resource is a narrower response than replacing every hosts entry at once.

What we have not tested yet

Our November 7 run at 5bb329c contains no browsing-speed, throughput or uptime measurement, and the November 28 attempt stopped at the Compose safety check. We have not tested complete hosts rollback, Windows updater repair, SwitchHosts refresh, AdGuard deployment, proxy configurations or alternative address selectors. The setup safeguards are recommendations from reading commands and reports; no corrected updater code was executed. Actual runtime and operating-system versions require the raw toolchain logs, rather than the configured image label.

The current upstream workflow schedule is unverified: no dated, revision-identified workflow extract establishes it here. The certificate discussion contains no successful reporter retest after the revised configuration, and the later status of PR 319 is unknown. The older account of TCP address selection concerns 03874f6, not a code inspection of 5bb329c. The November audit records 12 vulnerabilities, but lacks the package-level detail needed to assess reachability or remediation.

The AdGuard Home timeout account concerns one phone and Windows 11 setup with an IPv4 answer and an all-zero IPv6 response; it supplies no confirmed repair. The Windows sed suggestion and alternative-tool migration advice likewise lack complete successful retests. Video listings contain no transcript-based demonstration, and no screenshot record accompanies the hands-on attempt. Community reports are individual network observations. For a personal workstation comparison, retain the original hosts file and use the exact GitHub operation you depend on.

Alternatives

ProjectWhat it isPick it when
SwitchHosts gh↗The README's recommended client for managing the GitHub520 feed.Use it alongside GitHub520 when you want a Remote entry with the README's recommended 1-hour refresh.
XboxDownloadAn alternative proposed in issue #237, where its commenter claims automatic address selection and IPv6 support.Investigate it when comparing address-selection methods; the commenter says previous hosts changes must first be cleared.
github-hostsA project proposed by feng2208 in issue #237 with a claim about mitigating SNI blocking.Investigate the commenter's proposal when changing IP mappings has failed, keeping that capability attributed to its author.

Sources

  1. GitHub520 upstream README
  2. GitHub520 README command record
  3. Windows updater and Clash reports
  4. Release download and package-manager reports
  5. Certificate mismatch report
  6. Refresh connection-refused reports
  7. Local-selection alternatives
  8. GitHub connectivity troubleshooting

More automation reviews