Giter Site home page Giter Site logo

auto-emoji's Introduction

Auto-Emoji ๐Ÿค–๐ŸฆพโŒจ๏ธ

Auto-Emoji is a Node.js script that allows you to easily insert emojis into your text by typing simple shortcuts. It listens to your keyboard input and, when a specific sequence is typed, replaces it with the corresponding emoji. This can be a fun and convenient way to quickly add emojis to your text without needing to search for them manually.

Features

  • Type shortcuts like :smile: to insert ๐Ÿ˜€.
  • Supports uppercase and lowercase shortcuts.
  • Works with or without Caps Lock.
  • Reverts to regular typing when not using shortcuts.
  • Easy customization with your own emoji shortcuts.

Getting Started

Prerequisites

  • Node.js installed on your computer.

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/auto-emoji.git
  1. Navigate to the project directory:
cd auto-emoji
  1. Install the required npm packages:
npm install

Usage

  1. Start Auto-Emoji:
npm run start
  1. Auto-Emoji will now listen to your keyboard input.
  2. To insert emojis, type shortcuts like :heart: and they will be replaced with the corresponding emojis. For example, :heart: becomes โค๏ธ.
  3. Press Enter or Tab to clear any partially typed shortcuts.
  4. Clicking the mouse will also clear any partially typed shortcuts.

Customization

You can customize Auto-Emoji by editing the emoji-map.js file. Add your own emoji shortcuts and their corresponding Unicode emoji characters. For example:

module.exports = {
  ':thumbs-up:': '๐Ÿ‘',
  ':party:': '๐ŸŽ‰',
  // Add your own shortcuts and emojis here
};

Acknowledgments

Auto-Emoji was created using the lepikjs library.

Contributing

Feel free to contribute to this project by opening issues or creating pull requests.

Enjoy typing emojis with Auto-Emoji! ๐Ÿ˜„๐Ÿš€

Known Issues

  • Does not work correctly on Discord.
    • Discord replaces the shortcode before auto-emoji can start deleting.

Tested on

  • โœ… works on Windows 10

auto-emoji's People

Contributors

michael-subvrsive avatar yukiiro-nite avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.