8000 GitHub - 0x2196f3/time-syncer: sync time with server over http
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0x2196f3/time-syncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time-Syncer

a time synchronizer over http for linux

it will respond any request with current time

Deploy Server

docker run -d --name=time-syncer -p 30080:30080 docker.io/0x2196f3/time-syncer

Install Client

  • download the project
  • run install.sh
sudo bash ./install.sh

Sync Time for One-time

curl -s http://192.168.2.2:10001 | xargs -I {} sudo date -s @{}
  • change the url to yours

Environment Variable

Environment Variable Usage
PORT port

About

sync time with server over http

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 
0