Skip to content

CarlosLugones/time

Repository files navigation

time.lugo

A clean, ad-free time.is clone. Real-time clock with NTP sync, world clocks, time conversion, and shareable city URLs.

Features

  • Exact time — synced against timeapi.io on load, shows if your clock is fast/slow
  • City URLs — every city gets its own URL (/Tokyo, /New_York) you can share with anyone
  • City search — type any city name and jump straight to its clock
  • Auto-detect — home city auto-detected from your browser timezone, IP, or geolocation
  • World clocks — add/remove any city, auto day/night indicator, persisted in localStorage
  • Time here & there — convert any time between two cities. Pick a custom hour or use live time
  • Sunrise / sunset — calculated locally with suncalc, no API needed
  • Fullscreen clock — press F or click the clock to enter fullscreen mode
  • Dark mode — respects system preference, persisted in localStorage
  • Zero ads, zero tracking

Stack

Getting started

npm install
npm run dev

Deploy to Vercel

npm i -g vercel
vercel

That's it. No environment variables needed.

Shareable city URLs

Any city search navigates to a permanent URL:

https://time.carloslugones.com/Tokyo
https://time.carloslugones.com/New_York
https://time.carloslugones.com/São_Paulo

Share the URL and it will always open to that city's clock.

About

Ad-free alternative to time.is

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors