/amoji

Primary LanguageJavaScript

Amoji

Amoji is a web-based repository of Apple emojis that you can use to replace the standard emojis on your website. The repository supports all of Apple's emojis and can be accessed using the following URL: https://raw.githubusercontent.com/hushra/amoji/main/emojis/😁.png.


Getting Started

To get started with Amoji, you need to include the script.js file in your HTML code. You can do this by adding the following line at the bottom of the body tag:

<script src="https://cdn.jsdelivr.net/gh/hushra/amoji@main/script.js"></script>

This script will replace all standard emojis on your website with the corresponding Apple emoji from the Amoji repository.

now you most call amoji() function to replace emojis with apple version of them. this function requires two input (element, font-size), element is that element you want to replace emojis of that, and font-size is em size of img you need to replace

and now you can see new emojis in your website or application :)

Usage

Once you have included the script.js file, you can start using the Apple emojis on your website. Simply use the standard emoji code and it will be automatically replaced by the corresponding Apple emoji.

For example, if you want to use the smiling face with open mouth and smiling eyes emoji (😄) on your website, you can simply use the following code:

<p>This is a happy emoji 😄</p>

When the webpage loads, the standard emoji code (:smile:) will be replaced by the corresponding Apple emoji from the Amoji repository.

Contributing

If you would like to contribute to the Amoji repository, please feel free to submit a pull request. We welcome contributions from the community and appreciate any help we can get.