GitHub - davidesantangelo/numla: The notepad that thinks in numbers.

3 min read Original article ↗

Netlify Status

Numla

The notepad that thinks in numbers.

A minimal calculator notepad for quick math, currency conversions, percentages, unit conversions, and everyday calculations. Type naturally — Numla figures out the rest.

🔒 100% Private — Everything stays in your browser. No accounts, no tracking, works offline.


Quick Examples

Rent: $1.200
Utilities: $150
Groceries: $400
sum                    → $1.750

$500 in EUR            → € 460
20% of 150             → 30
15% off $80            → $ 68

time in Tokyo          → 11:30 PM JST
5 km to miles          → 3.1 miles

$RATE = 75
8 hours * $RATE        → 600 hours

Features

Feature How
Tabs Open multiple notes, click + to create new
Search ⌘K to find any note instantly
Time Machine ⌘E or click clock icon to browse history
Focus Mode Click expand icon, Esc to exit
Theme Each note remembers light/dark preference
Export Download notes as .txt

⏰ Time Machine

Never lose your work again! Time Machine automatically saves snapshots of your notes as you type.

How it works:

  • 🕐 Automatic snapshots — Saves versions as you make changes
  • 📅 Full timestamps — See exactly when each version was created
  • 👀 Preview before restore — View the complete content before restoring
  • ⌨️ Keyboard navigation — Use arrows to browse versions
  • 🔄 One-click restore — Instantly restore any previous version

Open Time Machine:

  • Press ⌘E (Mac) / Ctrl+E (Windows)
  • Or click the clock icon in the toolbar

📱 PWA & Offline Support

Numla is a Progressive Web App (PWA), meaning you can install it on your device and use it offline.

  • Installable: Look for the install icon in your browser's address bar (Chrome/Edge) or "Add to Home Screen" (Safari).
  • Offline Ready: Works 100% offline. Load it once, and it works everywhere, even without internet.
  • Fast: Caches essential files for instant loading times.

Syntax Reference

Operators

plus minus times divided by — or use + - * /

Percentages

  • 20% of 50 → 10
  • 10% on $100 → $110 (add)
  • 25% off $80 → $60 (subtract)
  • 25 as a % of 100 → 25

Scales

k = thousands, M = millions, billion

Special Keywords

sum total avg mean prev

Comments

# Header (yellow)
// Ignored line
Price: $10    ← Labels stripped

Math Functions

Powered by math.js:

Category Functions
Stats mean median std variance min max mode sum
Math sqrt cbrt pow exp log log10 log2
Trig sin cos tan asin acos atan
Round round floor ceil abs
Combinatorics factorial combinations permutations gcd lcm
Random random() randomInt(min, max)
Constants pi e phi tau

Shortcuts

Key Action
⌘J New note
⌘K Search
⌘E Time Machine (history)
←/→ Navigate versions (in TM)
Esc Close / Exit focus

Currencies & Timezones

50+ currencies with live rates: USD, EUR, GBP, JPY, CHF, and many more.

Major cities: New York, London, Tokyo, Sydney, and timezone codes (EST, PST, GMT, etc.)


Development

npm install && npm run dev

MIT — Made with ♥ for people who think in numbers.