{"id":29440849,"url":"https://github.com/nico-iaco/currency-watcher","last_synced_at":"2025-07-13T12:16:02.375Z","repository":{"id":303396482,"uuid":"1015335052","full_name":"nico-iaco/currency-watcher","owner":"nico-iaco","description":"Currency Watcher is a simple Go application that monitors the exchange rate between two currencies and sends a Telegram notification when a specified threshold is exceeded","archived":false,"fork":false,"pushed_at":"2025-07-07T12:08:47.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-07T12:23:51.634Z","etag":null,"topics":["exchange","golang","telegram"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nico-iaco.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T10:51:15.000Z","updated_at":"2025-07-07T12:08:51.000Z","dependencies_parsed_at":"2025-07-07T12:23:58.526Z","dependency_job_id":"8156792b-c65d-4b2e-a47f-0a8724daba3e","html_url":"https://github.com/nico-iaco/currency-watcher","commit_stats":null,"previous_names":["nico-iaco/currency-watcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nico-iaco/currency-watcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-iaco%2Fcurrency-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-iaco%2Fcurrency-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-iaco%2Fcurrency-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-iaco%2Fcurrency-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nico-iaco","download_url":"https://codeload.github.com/nico-iaco/currency-watcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-iaco%2Fcurrency-watcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265137053,"owners_count":23716783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exchange","golang","telegram"],"created_at":"2025-07-13T12:15:59.742Z","updated_at":"2025-07-13T12:16:02.368Z","avatar_url":"https://github.com/nico-iaco.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Currency Watcher\n\nCurrency Watcher is a simple Go application that monitors the exchange rate between two currencies and sends a Telegram notification when a specified threshold is exceeded.\n\n## Features\n\n- Periodically checks the exchange rate between two configurable currencies.\n- Sends a Telegram message if the rate exceeds a configurable threshold.\n- Easy configuration via environment variables.\n\n## Requirements\n\n- Go 1.24 or later\n- A valid [ExchangeRate-API](https://www.exchangerate-api.com/) key\n- A Telegram bot token and chat ID\n\n## Configuration\n\nSet the following environment variables before running the application:\n\n- `API_KEY`: Your ExchangeRate-API key (**required**)\n- `TELEGRAM_TOKEN`: Your Telegram bot token (**required**)\n- `TELEGRAM_CHAT_ID`: The chat ID to send notifications to (**required**)\n- `NOTIFICATION_THRESHOLD`: The exchange rate threshold for notifications (**required**, e.g. `1.15`)\n- `CHECK_INTERVAL_MINUTES`: (Optional) How often to check the rate, in minutes (default: `15`)\n- `BASE_CURRENCY`: (Optional) The base currency code (default: `GBP`)\n- `TARGET_CURRENCY`: (Optional) The target currency code (default: `EUR`)\n\n## Usage\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/moneyChangeNotifier.git cd moneyChangeNotifier\n```\n2. Set the required environment variables.\n3. Run the application:\n```bash\ngo run main.go\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnico-iaco%2Fcurrency-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnico-iaco%2Fcurrency-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnico-iaco%2Fcurrency-watcher/lists"}