[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3630":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},3630,"SwitchHosts","oldj\u002FSwitchHosts","oldj","Switch hosts quickly!","https:\u002F\u002Fswitchhosts.vercel.app",null,"TypeScript",26799,2641,398,409,0,3,30,208,19,45,"Apache License 2.0",false,"master",true,[27,28,29,30,31,32],"electron","hosts","hostseditor","hostsfile","switch-hosts","switchhosts","2026-06-12 02:00:51","\u003Cdiv align=\"center\" markdown=\"1\">\n  \u003Csup>Special thanks to:\u003C\u002Fsup>\n  \u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fgo.warp.dev\u002FSwitchHosts\">\n    \u003Cimg alt=\"Warp sponsorship\" width=\"400\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fbb4a0222-12bf-4c79-bb80-a8ed4672b801\" \u002F>\n  \u003C\u002Fa>\n\n### [Warp, the intelligent terminal for developers](https:\u002F\u002Fgo.warp.dev\u002FSwitchHosts)\n\n[Available for MacOS, Linux, & Windows](https:\u002F\u002Fgo.warp.dev\u002FSwitchHosts)\u003Cbr>\n\n\u003C\u002Fdiv>\n\n---\n\n# SwitchHosts\n\n- [Polski](README.pl.md)\n- [简体中文](README.zh_hans.md)\n- [繁體中文](README.zh_hant.md)\n\nHomepage: [https:\u002F\u002Fswitchhosts.vercel.app](https:\u002F\u002Fswitchhosts.vercel.app)\n\nSwitchHosts is an App for managing hosts file, it is based on [Electron](http:\u002F\u002Felectron.atom.io\u002F), [React](https:\u002F\u002Ffacebook.github.io\u002Freact\u002F), [Jotai](https:\u002F\u002Fjotai.org\u002F), [Mantine](https:\u002F\u002Fmantine.dev\u002F), etc.\n\n## Screenshot\n\n\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Foldj\u002FSwitchHosts\u002Fmaster\u002Fscreenshots\u002Fsh_light.png\" alt=\"Capture\" width=\"960\">\n\n## Features\n\n- Switch hosts quickly\n- Syntax highlight\n- Remote hosts\n- Switch from system tray\n\n## Install\n\n### Download\n\nYou can download the source code and build it yourself, or download the built version from following\nlinks:\n\n- [SwitchHosts Download Page (GitHub release)](https:\u002F\u002Fgithub.com\u002Foldj\u002FSwitchHosts\u002Freleases)\n\nYou can also install the built version using the [package manager Chocolatey](https:\u002F\u002Fcommunity.chocolatey.org\u002Fpackages\u002Fswitchhosts):\n\n```powershell\nchoco install switchhosts\n```\n\n## Backup\n\nSwitchHosts stores data at `~\u002F.SwitchHosts` (Or folder `.SwitchHosts` under the current user's home\npath on Windows), the `~\u002F.SwitchHosts\u002Fdata` folder contains data, while the `~\u002F.SwitchHosts\u002Fconfig`\nfolder contains various configuration information.\n\n## Develop and build\n\n### Development\n\n- Install [Node.js](https:\u002F\u002Fnodejs.org\u002F)\n- Change to the folder `.\u002F`, run `npm install` to install dependented libraries\n- Run `npm run dev` to start the development server\n- Then run `npm run start` to start the app for developing or debuging\n\n### Build and package\n\n- It is recommended to use [electron-builder](https:\u002F\u002Fgithub.com\u002Felectron-userland\u002Felectron-builder)\n  for packaging\n- Go to the `.\u002F` folder\n- Run `npm run build`\n- Run `npm run make`, if everything goes well, the packaged files will be in the `.\u002Fdist` folder.\n- This command may take several minutes to finish when you run it the first time, as it needs time\n  to download dependent files. You can download the dependencies\n  manually [here](https:\u002F\u002Fgithub.com\u002Felectron\u002Felectron\u002Freleases),\n  or [Taobao mirror](https:\u002F\u002Fnpmmirror.com\u002Fmirrors\u002Felectron\u002F), then save the files to `~\u002F.electron`\n  . You can check the [Electron Docs](http:\u002F\u002Felectron.atom.io\u002Fdocs\u002F) for more infomation.\n\n```bash\n# build\nnpm run build\n\n# make\nnpm run make # the packed files will be in .\u002Fdist\n```\n\n## Copyright\n\nSwitchHosts is a free and open source software, it is released under the [Apache License](.\u002FLICENSE).\n","SwitchHosts 是一个用于快速切换和管理 hosts 文件的应用程序。它基于 Electron、React、Jotai 和 Mantine 等技术构建，支持语法高亮显示、远程 hosts 文件管理和系统托盘快捷切换等功能。适用于需要频繁更改 hosts 配置的开发人员或网络管理员，特别是在多环境测试、本地开发调试等场景下能够显著提高工作效率。该项目遵循 Apache License 2.0 开源协议，拥有活跃的社区支持和广泛的用户基础。",2,"2026-06-11 02:55:07","top_language"]