Skip to content

kanushka/usd-rates-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USD Rate Checker

This is a Node.js application that fetches the daily USD exchange rate from the Commercial Bank of Ceylon website and notifies the user if the rate has increased significantly within the last 4 days. The app stores rates in an SQLite database and displays a desktop notification with the current rate, previous rates, and the change amount.

Features

  • Automated Rate Fetching: Retrieves the USD exchange rate every day.
  • Database Storage: Stores rates in SQLite for tracking changes.
  • Daily Notifications: Desktop notifications show the current rate, last 4 days' rates, and change status.
  • Rate Monitoring: Alerts the user if the rate has increased by more than 1 within the last 4 days.

Requirements

  • Node.js and npm installed
  • SQLite3 for database management
  • MacOS (for notifications; see compatibility)

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/usd-rate-checker.git
    cd usd-rate-checker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published