Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minagishl/hono-twemoji

Easy to use Twemoji service with Hono and Cloudflare Pages
https://github.com/minagishl/hono-twemoji

cloudflare-pages hono twemoji typescript

Last synced: about 1 month ago
JSON representation

Easy to use Twemoji service with Hono and Cloudflare Pages

Awesome Lists containing this project

README

        

# Hono Twemoji

This repository contains code that converts an emoji into a Twemoji and returns it as an image.

## Usage

All requests return an image stream to be used directly in an `` tag.

**Example of returning `thumbs up` for Twemoji:**

```
https://hono-twemoji.pages.dev/emoji/👍.png
```

**Get a list of Twemoji URLs:**

```
https://hono-twemoji.pages.dev/api/emoji/👍
```

**Get the URL of a specific format of Twemoji:**

```
https://hono-twemoji.pages.dev/api/emoji/👍?format=svg
```

Available formats are `png`, `svg`

## License

`hono-twemoji` project is licensed under the [MIT License](LICENSE).