{"id":22234310,"url":"https://github.com/tinycedar/lily","last_synced_at":"2025-07-27T21:32:13.010Z","repository":{"id":82721231,"uuid":"61724495","full_name":"tinycedar/lily","owner":"tinycedar","description":"Hosts管理工具，双击切换立即生效，告别重启浏览器！ Hosts manager takes effect immediately on switch","archived":false,"fork":false,"pushed_at":"2018-12-23T16:56:15.000Z","size":171,"stargazers_count":71,"open_issues_count":8,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-19T01:52:32.849Z","etag":null,"topics":["go","golang","hosts","switch"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinycedar.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-06-22T14:13:46.000Z","updated_at":"2024-06-07T09:43:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ceb4e10-7bca-4046-a902-527f0ab018bc","html_url":"https://github.com/tinycedar/lily","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinycedar%2Flily","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinycedar%2Flily/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinycedar%2Flily/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinycedar%2Flily/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinycedar","download_url":"https://codeload.github.com/tinycedar/lily/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227837052,"owners_count":17827066,"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":["go","golang","hosts","switch"],"created_at":"2024-12-03T02:08:02.403Z","updated_at":"2024-12-03T02:08:03.145Z","avatar_url":"https://github.com/tinycedar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lily [![GitHub release](https://img.shields.io/github/release/tinycedar/lily.svg)](https://github.com/tinycedar/lily/releases) [![license](https://img.shields.io/github/license/tinycedar/lily.svg)]() [![Build Status](https://travis-ci.org/tinycedar/lily.svg?branch=master)](https://travis-ci.org/tinycedar/lily)\n\nHosts manager takes effect immediately on switch\n\n![](https://ws2.sinaimg.cn/large/006tNbRwgy1fkuanxlo29j30qa0etq2y.jpg)\n\n## Motivation\nWe usually have to switch between a bunch of test environments which have same domains but different IPs.\nSince it's troublesome to modify hosts directly, we use some tools to manage it.\nI've tried HostAdmin, SwitchHosts!, HostManager and so forth but found that they all have the same problem: browser relaunch\nis required in order to take effect after switch.\n\nSo I decide to solve this problem by means of \"Reinventing the wheel\", and as a Go enthusiast, I choose Go to develop it.\nIf you're interested in this project please fork it and pull request is preferred :)\n\n## Features\n* Takes effect immediately on switch\n* Single process\n* Realtime notification\n* Hosts config saved automatically once you made modification\n* Written purely in Go\n\n## Supported browsers\n* Chrome\n* Firefox\n* Opera\n* Sogou Explorer (搜狗高速浏览器)\n* QQ Browser (QQ浏览器)\n* 360 Browser (360极速浏览器)\n* 360 Secure Browser (360安全浏览器)\n* Liebao (Cheetah) Browser (猎豹安全浏览器)\n* Maxthon (遨游)\n\n## Roadmap\nOnly Windows is supported recently, macOS and Linux will be supported in the near future.\nProbably I will use [Electron](http://electron.atom.io/) framework to implement cross-platform feature.\n\n## Install\nDownload binary in [Releases](https://github.com/tinycedar/lily/releases)\n\n## Build\n```\ngo get -u -v github.com/tinycedar/lily\ngo build -ldflags=\"-H windowsgui\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinycedar%2Flily","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinycedar%2Flily","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinycedar%2Flily/lists"}