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

https://github.com/jshawl/remoji

emoji reactions anywhere!
https://github.com/jshawl/remoji

emoji nobuild

Last synced: 4 months ago
JSON representation

emoji reactions anywhere!

Awesome Lists containing this project

README

          

# remoji

[![npm version](https://badge.fury.io/js/@jshawl%2Fremoji.svg)](https://badge.fury.io/js/@jshawl%2Fremoji)

emoji reactions anywhere! [demo](https://jshawl.github.io/remoji/)

## Usage

```html

import { remoji } from "https://www.unpkg.com/@jshawl/remoji@latest/remoji.js";
remoji.init();

```

## Configuration

```js
remoji.init({
apiUrl: "https://my-emoji-reaction-server.com", // default: https://remoji.jshawl.workers.dev
emojis: ["👍", "👎"], // default: ["👍", "😄", "❤️", "🚀", "👀"]
orgId: "acme corp, inc.", // default: window.location.host
userId: "jesse@jesse.sh", // default: crypto.randomUUID()
});
```

## Local Development

Start the client:

```
cd client && npm start
```

Start the server:

```
cd server && npm start
```

Open the development page:

```
open http://127.0.0.1:8080/examples/development.html
```