GitHub Hosts publishes refreshed hosts entries to speed GitHub browsing and fix image loading issues. You can pull remote lists or run a small local hosts server on your machine.
Overview
GitHub Hosts addresses slow GitHub access and broken images by maintaining up-to-date hosts mappings for GitHub-related domains. The project publishes regularly updated host lists you can apply manually or sync through tools such as SwitchHosts.
A remote hosts option fetches DNS-based entries on a schedule. A local hosts service downloads tested IP lists and can expose them on a port so companion tools can consume fresh entries without manual copying.
Setup instructions cover macOS, Linux (x64, ARM64, ARMv7), and Windows. Documentation also explains manual editing of system hosts files and flushing DNS caches on each platform.
SwitchHosts integration is documented for automated hourly updates. Separate DNS-based and legacy remote hosts flows are described for users who want hands-off synchronization.
Key features
- Timed GitHub hosts list updates
- DNS-based remote hosts fetching
- Local hosts server binaries
- SwitchHosts remote rule setup
- Manual hosts editing guides
- macOS Linux Windows support
Use cases
- Fix GitHub image loading
- Speed up GitHub web access
- Auto-sync hosts via SwitchHosts
- Run local hosts feed