Skip to content

wh64dev/wfmirror

Repository files navigation

wfmirror - Personal Mirror Server Project

  • Simple personal file mirror service (GIN + Next.js)

Required

  • go >= 1.22.2
  • node >= 20.15.0
  • pnpm >= 9.4.0
  • OS environment
    • MacOS
    • Linux
    • Windows (Not supported yet)

Feature

  • env config
  • file preview
  • disk usage indicator

How to use

  1. Clone current project first
~$ git clone https://github.com/wh64dev/wfmirror.git
  1. Build backend service
~$ pnpm run app-build
  1. Build frontend service
~$ pnpm build
  1. 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
  1. Run both services
  • Backend
./wfmirror
  • Frontend
pnpm start

About

Simple personal file mirror service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •