remoji

emoji reactions anywhere!

Downloads
429
Stars
0

remoji

emoji reactions anywhere! demo

Usage

<div data-remoji-id="demo"></div>
<script type="module">
  import { remoji } from "https://www.unpkg.com/@jshawl/remoji@latest/remoji.js";
  remoji.init();
</script>

Configuration

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: "[email protected]", // 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