nano-ntp is a minimal SNTP client written in pure x86_64 assembly.
The binary is less than 1 KB and synchronizes Linux system time using Google and Cloudflare NTP servers.
git clone https://github.com/victormeloasm/nntp.git
cd nntp
fasm nntp.asmThis will generate the nntp binary in the current directory.
Make the binary executable:
chmod +x ./nntpSynchronize the system clock:
sudo ./nntpAlternatively, grant the capability to run without sudo:
sudo setcap cap_sys_time=+ep ./nntp
./nntpCheck the new system time:
dateYou can download the latest prebuilt binary here:
⬇️ Download nano-ntp v1.0 (ZIP)
nntp/
├── nntp.asm # source code (x86_64 assembly)
├── src/logo.png # project logo
└── README.md
Víctor Duarte Melo - 2025
