{"id":14974315,"url":"https://github.com/mykeels/crypto-dip-alert","last_synced_at":"2026-04-10T03:02:26.928Z","repository":{"id":38899499,"uuid":"258171242","full_name":"mykeels/crypto-dip-alert","owner":"mykeels","description":"Software that tells you when the price of a crypto has gone down.","archived":false,"fork":false,"pushed_at":"2023-01-06T04:20:35.000Z","size":3687,"stargazers_count":23,"open_issues_count":21,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T03:24:21.003Z","etag":null,"topics":["crypto","crypto-dip","nodejs-script","react-native-app"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mykeels.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-23T10:40:43.000Z","updated_at":"2024-07-11T17:41:55.000Z","dependencies_parsed_at":"2022-09-13T18:52:46.490Z","dependency_job_id":null,"html_url":"https://github.com/mykeels/crypto-dip-alert","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fcrypto-dip-alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fcrypto-dip-alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fcrypto-dip-alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mykeels%2Fcrypto-dip-alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mykeels","download_url":"https://codeload.github.com/mykeels/crypto-dip-alert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238455163,"owners_count":19475403,"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":["crypto","crypto-dip","nodejs-script","react-native-app"],"created_at":"2024-09-24T13:50:23.039Z","updated_at":"2025-10-27T06:32:12.981Z","avatar_url":"https://github.com/mykeels.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crypto Dip Alert\n\nContains software for notifying the user, when the price of monitored cryptocurrency, drops past a set threshold.\n\n## Included Software\n\n- [NodeJS Script](./scripts/nodejs-crypto-dip-alert/README.md)\n- [React Native App](./app/README.md)\n\n## Third Party API\n\n- [coincap.io](https://docs.coincap.io/?version=latest)\n\n## Custom Notifications\n\nTo add a Custom Notification Provider:\n* Create a file entry in the `scripts/nodejs-crypto-dip-alert/notifications` folder ending with `.notification.js`\n* Expose a `notify` function from `module.exports`\n* The function is an async function so return a Promise\n* Function has the following as parameters\n    * `coin`\n    * `maxPrice`\n    * `currentPrice`\n    * `dipThreshold`\n* You can add configs to the `.env` file to determine if custom notif will be used.\n* e.g. `NOTIFY_YORUBA=` `NOTIFY_MAILGUN=`\n\n### Example with Yoruba Notification\n```js\n\n/**\n * posts a notification in the terminal console\n * @param {{symbol: string, priceUsd: number}} coin\n * @param {number} maxPrice\n * @param {number} currentPrice\n * @param {number} dipThreshold\n */\nconst notify = async (coin, maxPrice, currentPrice, dipThreshold) =\u003e {\n  // early return if not set in env flags\n  if (!process.env.NOTIFY_YORUBA || process.env.NOTIFY_YORUBA !== 'true') return;\n  console.log(`[🚨🚨🚨💰🚨🚨🚨] Egbami, ye, 😢 ${coin.symbol} ti jona`);\n  console.log(`[👀] Iwọn ti o pọju: ${maxPrice} `);\n  console.log(`[👀] Ni in si: ${currentPrice} `);\n  console.log(`[👀] Àbáwọlé: ${dipThreshold} `);\n  // await here if you need to\n  return Promise.resolve();\n}\n\nmodule.exports = notify;\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmykeels%2Fcrypto-dip-alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmykeels%2Fcrypto-dip-alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmykeels%2Fcrypto-dip-alert/lists"}