Emoji Splitter is a small Golang web application that takes one or many emojis as input and returns them broken down into their constituent emojis. It's a simple yet fun tool to analyze and split emojis, allowing you to see their individual components.
To run Emoji Splitter locally or deploy it to your own server, follow these steps:
-
Clone the repository:
git clone https://github.com/41x3n/emoji-splitter.git cd emoji-splitter
-
Build and run the server:
go run cmd/server/main.go
-
The server will start and be available at
http://localhost:8080
. You can now use the API endpoints described below.
Emoji Splitter provides a simple API for splitting emojis into their constituent parts. You can use either a GET or POST request to interact with the API.
-
GET /split: Split emojis using a query parameter.
- Example:
GET https://emoji-splitter.azurewebsites.net/split?emoji=<YOUR_EMOJI>
- Example:
-
POST /split: Split emojis using a JSON payload.
- Example:
POST https://emoji-splitter.azurewebsites.net/split
{ "emoji": "<YOUR_EMOJI>" }
- Example:
We welcome contributions from the community to make Emoji Splitter even better. If you'd like to contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure the code is well-documented.
- Write tests for new features or modifications.
- Submit a pull request with a clear description of your changes.
Emoji Splitter is licensed under the MIT License. See the LICENSE file for details.