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
- update remote hosts automatically
- updater
- secure and secure
- alfred workflow (cutom protocol, eg: ghosts://search/{query}?)
Download from following links:
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.gitInstall dependencies, I use pnpm as package manager
pnpm installStart development
pnpm run tauri devCompiling... Done!
OR
Build and package, run
pnpm run tauri buildFound the package in the output directory src-tauri/target/release/bundle
- 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
- 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
Apache-2.0
