https://github.com/capjamesg/seasonal.js
Change an emoji on your website for different seasonal events.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.7%) to scientific vocabulary
Repository
Change an emoji on your website for different seasonal events.
Basic Info
- Host: GitHub
- Owner: capjamesg
- Language: JavaScript
- Default Branch: main
- Size: 34.2 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
seasonal.js
Change an emoji on your website for different seasonal events.
Screenshot
The following screenshot shows the seasonal.js script changing the emoji on my website on a December day:

Getting Started
First, copy the seasonal.js script to your local machine. Then, update the seasonalEmojiDict to include emojis on days that are relevant to you. A few days are added by default, such as Christmas and Pi Day. You can update the monthLongSeasonalEmojis dictionary to set rules that apply for entire months. By default, an emoji is provided for the month of October (a pumpkin for Halloween) and December (a snowflake for the winter weather).
Once you have configured seasonal.js, install it directly above the </body> tag on your website:
<script src="./path/to/seasonal.js"></script>
After configuring and installing seasonal.js, wrap all of the emojis on your website that you want to update in tags (i.e. span tags). The surrounding tag around each emoji should be given the seasonal_emoji class, like so:
<p>Good day<span class="seasonal_emoji">☕</span></p>
In this example, the coffee cup emoji (☕) will be replaced using the rules dictated in the seasonal.js script.
License
This project is released into the public domain.
Contributors
- capjamesg
Owner
- Name: James
- Login: capjamesg
- Kind: user
- Location: Scotland
- Company: @Roboflow
- Website: jamesg.blog
- Repositories: 320
- Profile: https://github.com/capjamesg
from words, wonder.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- capjamesg (1)