https://github.com/gewoonjaap/shopify-product-tracker
Track shopify stores and get alerted using NTFY.SH when a product has been added/changed
https://github.com/gewoonjaap/shopify-product-tracker
merchandising ntfy product shopify stock-tracking taylor-swift
Last synced: 2 months ago
JSON representation
Track shopify stores and get alerted using NTFY.SH when a product has been added/changed
- Host: GitHub
- URL: https://github.com/gewoonjaap/shopify-product-tracker
- Owner: GewoonJaap
- Created: 2024-06-14T08:49:20.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-22T06:17:30.000Z (4 months ago)
- Last Synced: 2025-01-27T12:28:29.440Z (4 months ago)
- Topics: merchandising, ntfy, product, shopify, stock-tracking, taylor-swift
- Language: TypeScript
- Homepage:
- Size: 520 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shopify Product Tracker
A Cloudflare Worker that tracks new products on Shopify stores and sends a notification to NTFY.
## Usage
- Create a `.dev.vars` file based on the contents of `.dev.vars.example` and fill in the required values, also set these variables on the Cloudflare Worker page.
- Create a D1 database on Cloudflare Workers that has the `/src/util/interface/ProductDb.ts` schema.
- Deploy the worker to Cloudflare using Wrangler. `yarn deploy`.## NTFY.SH
This Cloudflare Worker uses NTFY.SH to send notifications. You can sign up for a free account at [NTFY.SH](https://ntfy.sh/) or host your own NTFY.SH instance.
## Alerting rules
This Worker will send a notifcation once a new product has been added to the Shopify store. It will also send a notification if the product has been updated.
A direct link to the product will be included in the NTFY.SH notification.## Adding more stores
To add more stores to track, add the store URL to the `stores` array in the `config.ts` file.