https://github.com/nicolassiver/nodebb-widget-ns-birthdays
Efficient widget to output all today's birthdays of community members.
https://github.com/nicolassiver/nodebb-widget-ns-birthdays
birthdays nodebb nodebb-widget widget
Last synced: about 1 month ago
JSON representation
Efficient widget to output all today's birthdays of community members.
- Host: GitHub
- URL: https://github.com/nicolassiver/nodebb-widget-ns-birthdays
- Owner: NicolasSiver
- License: mit
- Created: 2015-12-23T02:47:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T23:52:02.000Z (about 3 years ago)
- Last Synced: 2025-04-13T07:55:54.556Z (about 1 month ago)
- Topics: birthdays, nodebb, nodebb-widget, widget
- Language: JavaScript
- Size: 35.2 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# NodeBB Widget: Birthdays
Efficient widget to output all today's birthdays of community members.
## Table of Contents




- [Customization](#customization)
- [Screenshots](#screenshots)
- [How does it work?](#how-does-it-work)
- [Future ideas for improvement](#future-ideas-for-improvement)## Customization
You could change styles for these classes:
- `.birthdays .birthday-item`, responsible for line in the list
- `.birthdays .birthday-name`, responsible for the user's name
- `.birthdays .birthday-age`, responsible for the user's age (Also age could be disabled in widget settings)If you want change icon style, refer to `.fa` class.
## Screenshots

## How does it work?
1. At start, job will be triggered to check all users that have birthday today. It's an async process. By design it will take some time.
2. Every day at midnight (Server Time), job to find today's birthdays is fired
3. Widget returns birthdays that are stored in memory, It's fast and efficient.Optimisations:
- to store today's birthdays in memory
- to check for birthdays only once per day