Use ASCII Emoji, in Clojure!
Get started using ASCII emojis.
Leiningen/Boot Project file
In the REPL
(require '[ascii-emoji.core :as em])
In your application
(:require [ascii-emoji.core :as em]))
Use the emoji map directly.
;; all emojis in the "dudes" category
;; specific emoji in the dudes category
(get-in em/emoji-db [:dudes :tableflip1])
Using the included helper functions to explore/access emojis.
;; names of categories
;; names of emojis from the dudes category
;; describe all categories
;; describe specific category
;; show first emoji that matches the keyword (from all categories)
;; show the emoji from the specific category
(em/show :tableflip1 :dudes)
Show all emojis
;; show the entire emoji map
;; show all of the emojis from the category
;; search the entire emoji map for the emoji name
;; search the specific category for the emoji name
(em/search "table" :dudes)
Copyright © 2020 Bill Howe
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.
Some ASCII emojis obtained from: http://asciimoji.com/
The license for that project is:
"THE BEER-WARE LICENSE" (Revision 42):
Volker Wieban firstname.lastname@example.org wrote this file.
As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.