initial commit

This commit is contained in:
Nemo 2023-12-26 18:03:41 +05:30
commit 845514a5f0
3 changed files with 1326 additions and 0 deletions

11
LICENSE Normal file
View File

@ -0,0 +1,11 @@
The MIT License (MIT)
Copyright © 2023 Abhay Rana <mit@captnemo.in>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Fork this project to create your own MIT license that you can always link to.

36
README.md Normal file
View File

@ -0,0 +1,36 @@
# Emoji Every Day
An emoji character for (almost) every day.
Data in emoji.yaml. Made for India, but can be extended to other countries.
Includes:
- Informally observed holidays
- [List of International Days and Weeks observed by United Nations][undays]
## Format
The `emoji.yaml` file contains a dictionary with keys in either `YYYY-MM-DD` or `MM-DD` format,
depending on whether the holiday is fixed or floating.
Each date contains a list of events, each event consisting of the following keys:
- `emoji`: A short single-grapheme representation of the event. Almost always an emoji, but can ocassionaly be a different unicode codepoint.
- `day_name`: Human-readable name of the event, in english
- `type`: UN/informal/2-letter ISO country code
- `link`: A valid web URL. Optional.
## Emoji Choices
There aren't enough emojis to represent a lot of things, so this is best-effort. If you have an improvement, please file a PR.
In some cases, due to unicode standard updates taking time to rollout, the emoji may show as multiple characters, such
as the [Refugee Flag](https://emojipedia.org/refugee-nation-flag) (🏳‍🟧‍⬛‍🟧), which shows up as 4 characters almost everywhere, since
the proposal isn't accepted yet.
## License
Licensed under the [MIT License](https://nemo.mit-license.org/).
See LICENSE file for details.
[undays]: https://www.un.org/en/observances/list-days-weeks

1279
emoji.yaml Normal file

File diff suppressed because it is too large Load Diff