Welcome to the PingPong Notifier ecosystem! This tool enhances your GitHub experience with notifications, data visualization, and real-time updates across various platforms. The PingPong system includes a website, server, Chrome extension, and NodeMCU hardware unit.
PingPong Notifier website features:
- View Recent Notifications: Instant updates on GitHub activities.
- Explore Trending Topics: Browse trending repositories by popular topics.
- Customize Notifications: Tailor notifications to your preferences.
- Manage GitHub Account: Link and manage GitHub accounts.
The website is optimized for both desktop and mobile devices.
PingPong Notifier server capabilities:
- API Endpoints: Access endpoints like
/user-info
,/topics
, and/github-notifications
. - Data Aggregation: Combine information from multiple GitHub endpoints.
- Error Handling: Robust error management.
Powered by Node.js with Express for efficient data processing.
PingPong Notifier Chrome extension features:
- User Input: Enter GitHub username to fetch notifications.
- Notification Display: View recent notifications in a clean interface.
- Real-Time Updates: Receive real-time notifications.
Enhances your browsing experience with GitHub updates directly in your browser.
PingPong Notifier hardware unit features:
- Data Fetching: Connects to Wi-Fi and fetches data from the server.
- Display Options: LCD 16x2 I2C or TFT display options.
- Automated Updates: Updates every 20 minutes.
Provides a tangible way to monitor GitHub activities.
For detailed instructions, refer to these resources:
Watch the product walkthrough video
Role: Central component for collecting, processing, and providing user data.
Technology:
- Express: Web application framework for Node.js.
- Node.js: JavaScript runtime for server-side applications.
- Nodemon: Auto-restart tool for development.
- RESTful GitHub API: Standardized format for GitHub data.
Functionality:
- Data Collection: Fetches user data from GitHub.
- API Endpoint: Provides data in JSON format.
- Data Format: Includes fields like
name
,user
,followers
,following
.
Role: Provides a GUI for viewing data.
Technology:
- Vue.js: Progressive JavaScript framework.
- CSS: Styling for the website.
- Tailwind CSS: Utility-first CSS framework.
Functionality:
- Data Fetching: Retrieves data from serverโs API.
- Data Display: Uses Vue.js reactive components.
- User Interface: Styled with Tailwind CSS.
Role: Provides data access directly from the browser.
Technology:
- HTML, CSS, JavaScript: Handles UI and logic.
Functionality:
- Data Fetching: Requests data from serverโs API.
- Display Data: Shows data within the extension.
- User Interface: Simple and functional design.
Role: Displays data on a physical screen.
Technology:
- ESP8266 (NodeMCU): Microcontroller with built-in WiFi.
- LCD 16x2 I2C or TFT LCD Display: Display options.
Functionality:
- WiFi Connection: Connects to a network.
- Data Fetching: Periodically requests data.
- Display Data: Shows data on the connected display.
Automate the installation process with these scripts:
- Navigate to Client Directory:
cd PingPong/Client
- Install Client-Side Dependencies:
npm install
- Navigate to Server Directory:
cd ../Server
- Install Server-Side Dependencies:
npm install
To run the project automatically on startup:
-
Windows:
-
Linux/macOS:
- Open Terminal or Command Prompt:
- Navigate to Server Directory and Run:
cd /path/to/server npm run dev
- Open a New Terminal or Command Prompt Window:
- Navigate to Client Directory and Run:
cd /path/to/client npm run dev
-
Install the Extension:
- Go to
chrome://extensions/
. - Enable "Developer mode".
- Click "Load unpacked" and select the extension directory.
- Go to
-
Activate the Extension:
- Ensure the extension is enabled.
-
Power On the NodeMCU:
- Connect to a power source through USB.
-
Ensure Network Connectivity:
- Ensure the NodeMCU and your server are on the same network.
-
Start the Server:
- Verify the server is running.
-
Verify Functionality:
- Check the NodeMCUโs display for correct data.
Happy coding with PingPong! ๐