Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 23 days 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 (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T14:27:17.000Z (about 2 months ago)
- Last Synced: 2024-09-15T20:31:48.369Z (about 2 months ago)
- Topics: merchandising, ntfy, product, shopify, stock-tracking, taylor-swift
- Language: TypeScript
- Homepage:
- Size: 204 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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.