All Projects → henson → hosts

henson / hosts

Licence: Apache-2.0 license
自动生成 Hosts 文件,科学上网

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to hosts

Skraper
Kotlin/Java library and cli tool for scraping posts and media from various sources with neither authorization nor full page rendering (Facebook, Instagram, Twitter, Youtube, Tiktok, Telegram, Twitch, Reddit, 9GAG, Pinterest, Flickr, Tumblr, IFunny, VK, Pikabu)
Stars: ✭ 72 (+140%)
Mutual labels:  instagram, tumblr, pinterest
Socialcounters
jQuery/PHP - Collection of Social Media APIs that display number of your social media fans. Facebook Likes, Twitter Followers, Instagram Followers, YouTube Subscribers, etc..
Stars: ✭ 104 (+246.67%)
Mutual labels:  instagram, tumblr, pinterest
Postwill
Posting to the most popular social media from Ruby
Stars: ✭ 181 (+503.33%)
Mutual labels:  instagram, tumblr, pinterest
keyring-social-importers
A collection of importers which pull your content back from social networks, and into your own WordPress install.
Stars: ✭ 26 (-13.33%)
Mutual labels:  instagram, flickr, pinterest
Reaper
Social media scraping / data collection tool for the Facebook, Twitter, Reddit, YouTube, Pinterest, and Tumblr APIs
Stars: ✭ 240 (+700%)
Mutual labels:  tumblr, pinterest
sharon
A lightweight and modular social sharing library
Stars: ✭ 16 (-46.67%)
Mutual labels:  tumblr, pinterest
Gallery Dl
Command-line program to download image galleries and collections from several image hosting sites
Stars: ✭ 4,199 (+13896.67%)
Mutual labels:  flickr, tumblr
Collection View Layouts
A library that implements custom flow layouts for iOS apps
Stars: ✭ 491 (+1536.67%)
Mutual labels:  instagram, pinterest
Socialreaper
Social media scraping / data collection library for Facebook, Twitter, Reddit, YouTube, Pinterest, and Tumblr APIs
Stars: ✭ 338 (+1026.67%)
Mutual labels:  tumblr, pinterest
Skeleton
Skeleton is a Social Engineering tool attack switcher
Stars: ✭ 44 (+46.67%)
Mutual labels:  instagram, pinterest
Keyring
Keyring is an authentication framework for WordPress. It comes with definitions for a variety of HTTP Basic, OAuth1 and OAuth2 web services. Use it as a common foundation for working with other web services from within WordPress code.
Stars: ✭ 52 (+73.33%)
Mutual labels:  instagram, pinterest
Network Avatar Picker
A npm module that returns user's social network avatar. Supported providers: facebook, instagram, twitter, tumblr, vimeo, github, youtube and gmail
Stars: ✭ 74 (+146.67%)
Mutual labels:  instagram, tumblr
Ripme
Downloads albums in bulk
Stars: ✭ 2,748 (+9060%)
Mutual labels:  instagram, tumblr
Media Scraper
Scrapes all photos and videos in a web page / Instagram / Twitter / Tumblr / Reddit / pixiv / TikTok
Stars: ✭ 206 (+586.67%)
Mutual labels:  instagram, tumblr
Gatsby Remark Embedder
Gatsby Remark plugin to embed well known services by their URL.
Stars: ✭ 245 (+716.67%)
Mutual labels:  instagram, pinterest
BottomNavArchDemo
The demo project for Bottom Navigation with Navigation Architecture Components article
Stars: ✭ 53 (+76.67%)
Mutual labels:  medium
hosts
冷莫(trli)的规则唯一一个提供全球比较全的库Cold Mo (TRLI) rules is the only one to provide a global comparison of the library.
Stars: ✭ 4 (-86.67%)
Mutual labels:  hosts
Whizzz-The-ChatApp
Whizzz is a real-time, one-to-one Android chat application made using Firebase, a beautiful user interface, and a push-notification feature.
Stars: ✭ 66 (+120%)
Mutual labels:  instagram
instabrute
Instagram Brute Forcer
Stars: ✭ 135 (+350%)
Mutual labels:  instagram
Insta-notFollow
A Flask web app to find out people whom you follow on Instagram but they don't follow you back 😈
Stars: ✭ 20 (-33.33%)
Mutual labels:  instagram

Hosts

自动生成 Hosts 文件,科学上网

Go Report Card Travis Status for henson/hosts GitHub release

《取经》

图题《取经》(作者:@青红造了个白 ,侵删!)

特别声明

本项目仅作技术学习之用,不鼓励、不支持也不赞成任何互联网违法违规行为,任何不当使用的行为概与本项目无关!!!

特点

  • 自动生成 Hosts 文件
  • 超快的响应速度
  • 支持 Windows 和 Linux 系统

更新日志

  • 2018.02.18
    • 添加配置文件
    • 支持 Windows 和 Linux
  • 2018.02.10
    • 提升访问速度

目前可访问网站

目标网站 响应时间
www.instagram.com 25.947 ms
www.tumblr.com 30.690 ms
www.flickr.com 4.871 ms
www.medium.com 5.111 ms
www.pinterest.com 28.895 ms
www.vimeo.com 4.893 ms
www.twitter.com ip 被封
www.youtube.com 同上
www.facebook.com 同上
www.golang.org 同上

本项目只能解决 DNS 被污染情况,并不能解除 IP 封印,所以并不是对所有网站都适用。欢迎大家提交 issue ,告知其它网站访问情况,以便更新。

使用方法

直接下载可执行文件

根据平台直接下载各版本运行文件: releases

从源码编译本项目

go get -u github.com/henson/hosts

程序运行

修改同目录下配置文件 config.yaml,添加相应的目标网站,以“ | ”符号分隔

# 目标网站
hosts: "www.instagram.com|www.tumblr.com|www.flickr.com|www.medium.com|www.pinterest.com"

使用前,先备份系统中的 hosts 文件

Windows 系统下文件路径:

C:\Windows\System32\drivers\etc\hosts

Linux 系统下文件路径:

/etc/hosts

然后运行主程序

go run hosts.go

go build

./hosts

日常使用

在浏览器中使用 Https 来访问目标网站,为免 IP 修改或 DNS 被污染,建议每个月运行一下程序。如果本项目能给您工作和学习带来便利,请不吝 Star,谢谢!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].