Ghosts
an open-source desktop app which build with react and tauri, alternative to SwitchHosts
Install / Use
/learn @minosss/GhostsREADME
gHosts

What
This project is created by tauri-app tempalte pnpm create tauri-app
The hard drive is almost full, so...
- Smaller, build with tauri (rust), installer size only about 5M
- Simpler, no other features will be added, just merge hosts
- Supports remote hosts
Todo
- [x] update remote hosts automatically
- [ ] updater
- [ ] secure and secure
- [ ] alfred workflow (cutom protocol, eg: ghosts://search/{query}?)
Where
Download from following links:
How
Install Rust and Node recommend v16
The frontend (React + ChakraUI) using the build tool Vite, you can found more information in the guide
Then, clone this project
git clone https://github.com/minosss/ghosts.git
Install dependencies, I use pnpm as package manager
pnpm install
Start development
pnpm run tauri dev
Compiling... Done!
OR
Build and package, run
pnpm run tauri build
Found the package in the output directory src-tauri/target/release/bundle
Tips
- need sudo password to change hosts file permissions on mac and linux
> 777 > write > 644 - windows, I don't know how to run command with administrator, you should ensure the hosts is writable
- interval runs in the frontend, and runs every minute but with a delay. will move to backend after I can use rust's pointer safely
Thanks
- Tauri Build smaller, faster, and more secure desktop applications with a web frontend.
- SwitchHosts Switch hosts quickly
- ChakraUI A set of react components
- Flaticon Logo downloaded from falticon
- Feather svg icons
License
Apache-2.0
