Skip to content

victormeloasm/nntp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nano-ntp — Minimal SNTP Client in Flat Assembly

nano-ntp logo

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.


Clone & Build

git clone https://github.com/victormeloasm/nntp.git
cd nntp
fasm nntp.asm

This will generate the nntp binary in the current directory.


Usage

Make the binary executable:

chmod +x ./nntp

Synchronize the system clock:

sudo ./nntp

Alternatively, grant the capability to run without sudo:

sudo setcap cap_sys_time=+ep ./nntp
./nntp

Check the new system time:

date

Download

You can download the latest prebuilt binary here:

⬇️ Download nano-ntp v1.0 (ZIP)


Project Structure

nntp/
├── nntp.asm       # source code (x86_64 assembly)
├── src/logo.png   # project logo
└── README.md
Víctor Duarte Melo - 2025 

About

A minimal SNTP client in x86_64 assembly (<1 KB) that synchronizes Linux system time using Google and Cloudflare NTP servers

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors