- Simple personal file mirror service (GIN + Next.js)
- go >= 1.22.2
- node >= 20.15.0
- pnpm >= 9.4.0
- OS environment
- MacOS
- Linux
- Windows (Not supported yet)
- env config
- file preview
- disk usage indicator
- Clone current project first
~$ git clone https://github.com/wh64dev/wfmirror.git
- Build backend service
~$ pnpm run app-build
- Build frontend service
~$ pnpm build
- Edit .env configuration
SERVICE_PORT=8085
SERVICE_NAME=Example's WF Mirror
DATA_DIR=data
ALLOW_ORIGIN=http://localhost:3000
SERVER_URL=http://localhost:8085
- Run both services
- Backend
./wfmirror
- Frontend
pnpm start