PriceAura
Price Aura – WordPress Plugin
by Aleksandra Szyszło · github.com/a-szyszlo/priceaura · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/a-szyszlo/priceaura/archive/refs/heads/main.zip🪙 Price Aura – WordPress Plugin
Price Aura is a WordPress plugin designed to integrate with the Price Aura Chrome Extension.
It allows users to register, log in, and manage their accounts directly through WordPress, while the connected browser extension monitors product prices from online stores and sends notifications when prices change.
🚀 Features
-
🔐 User Authentication
- Registration and login via custom REST API endpoints
- Password change and account deletion
- JWT-based authentication for secure communication between the Chrome extension and WordPress
-
🛒 Offer Tracking
- Users can add URLs of product pages from online stores
- The system automatically monitors and updates price changes
- Notifications sent when prices drop
-
⚙️ REST API Endpoints
/wp-json/priceaura/v1/register– Register a new account/wp-json/priceaura/v1/login– Log in and get JWT/wp-json/priceaura/v1/activate– Activate account via link/wp-json/priceaura/v1/resend-activation– Resend activation link/wp-json/priceaura/v1/change-password– Change password/wp-json/priceaura/v1/delete-account– Delete user account/wp-json/priceaura/v1/products– Get user’s product list/wp-json/priceaura/v1/add-products– Add a new product via API
-
🔑 JWT Integration
- Secure token handling using JSON Web Tokens
- Custom middleware for validating and refreshing tokens
-
💬 Seamless Chrome Integration
- Fully compatible with the Price Aura Chrome Extension
- Extension uses REST API endpoints and JWT authentication to communicate with the WordPress site
🧩 Tech Stack
- PHP – Core WordPress plugin and REST API implementation
- JavaScript (ES6) – Client-side logic and API communication
- JWT (JSON Web Tokens) – Authentication layer
- WordPress REST API – Custom endpoints for extension integration
- Cron Jobs – Automated background tasks for price checking
⚙️ Installation
-
Clone or download this repository:
git clone https://github.com/a-szyszlo/price-aura.git -
Copy the plugin folder to your WordPress installation:
/wp-content/plugins/price-aura/ -
Activate Price Aura from the WordPress admin panel.
-
Make sure JWT authentication is properly configured.
-
Install the Price Aura Chrome Extension to connect your browser.
-
Set up a Cron Job to periodically check for price changes.
The cron task should call the plugin’s internal update endpoint or script responsible for refreshing offer data.
This can be configured using:
- a system cron job
- a Docker cron container
- any external scheduler
Example (runs every 10 minutes):
sh -c "sleep 30 && while true; do curl -X POST http://wordpress/wp-json/priceaura/v1/check-prices; sleep 600; done"
🧠 Future Enhancements
- Email notifications for price drops
- Price tracking history
- Multi-store compatibility
- User dashboard with price charts
Created with ❤️ by a-szyszlo