orhanbalci / emojic Goto Github PK
View Code? Open in Web Editor NEWEmoji constants for rusty strings
License: MIT License
Emoji constants for rusty strings
License: MIT License
Currently parse_alias only performs a lookup. We need a function which will perform find and replace in a given string.
README file is a bit old. Does not include new API changes.
I notice that during the code generation for the constants.rs
(which contains all the emojis) that all emojis are categorized into groups and subgroups. Now, wonder whether it would be beneficial to use these groups to organize the emojis into respective modules. For instance a fully qualified version of the example in the readme could look like the following:
println!("Hello {}", emojic::constants::people_and_body::hand_fingers_open::WAVING_HAND);
println!(
"I'm {} from {}",
emojic::constants::people_and_body::person_role::MAN_TECHNOLOGIST,
emojic::constants::flags::country_flag::FLAG_TURKEY
);
I'm not sure whether this would really increase the usability, but it would definitely tidy up the API documentation, which currently lists all nearly 2k emojis in a single module. As a compromise, one could also introduce an all
(or something) module, which then contains a pub use
for every emoji from all categories (i.e. modules) acting as a shortcut (e.g. emojic::all::MAN_TECHNOLOGIST
).
I want to creat a rust function that take a string input as a search term then return emojis. For example if the input "smile" is should get smile ๐ ๐ ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.