Skip to content
/ lily Public

Hosts管理工具,双击切换立即生效,告别重启浏览器! Hosts manager takes effect immediately on switch

License

Notifications You must be signed in to change notification settings

tinycedar/lily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4fa0148 · Feb 14, 2017

History

83 Commits
Aug 30, 2016
Aug 24, 2016
Feb 13, 2017
Oct 20, 2016
Aug 25, 2016
Aug 16, 2016
Aug 24, 2016
Aug 23, 2016
Oct 20, 2016
Feb 14, 2017
Jun 22, 2016
Jan 1, 2017
Aug 12, 2016
Sep 4, 2016

Repository files navigation

Lily: hosts manager takes effect immediately on switch

capture

Motivation

We usually have to switch between a bunch of test environments which have same domains but with different IPs. Since it's troublesome to modify hosts directly, we use some tools to manage it. I've tried HostAdmin, SwitchHosts!, HostManager and so forth but found that they all have the same problem: browser relaunch is required in order to take effect after switch.

So I decide to solve this problem by means of "Reinventing the wheel", and as a Go enthusiast, I choose Go to develop it. If you're interested in this project please fork it and pull request is preferred :)

Feature

  • Takes effect immediately on switch
  • Single process
  • Realtime notification
  • Hosts config saved automatically once you made modification
  • Written purely in Go

Supported browsers

  • Chrome
  • Firefox
  • Opera
  • Sogou Explorer (搜狗高速浏览器)
  • QQ Browser (QQ浏览器)
  • 360 Browser (360极速浏览器)
  • 360 Secure Browser (360安全浏览器)
  • Liebao (Cheetah) Browser (猎豹安全浏览器)
  • Maxthon (遨游)

Roadmap

Only Windows is supported recently, macOS and Linux will be supported in the near future. Probably I will use Electron framework to implement cross-platform feature.

Install

Download binary in Releases

Build

go get -u -v github.com/tinycedar/lily
go build -ldflags="-H windowsgui"

About

Hosts管理工具,双击切换立即生效,告别重启浏览器! Hosts manager takes effect immediately on switch

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages