{"id":13747276,"url":"https://github.com/guanting112/remove_emoji","last_synced_at":"2025-07-12T17:35:20.575Z","repository":{"id":55413264,"uuid":"114280822","full_name":"guanting112/remove_emoji","owner":"guanting112","description":"Remove Emoji for Ruby 2 ~ 3.x / Rails 😈🈲 ","archived":false,"fork":false,"pushed_at":"2021-01-01T18:32:00.000Z","size":69,"stargazers_count":55,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T18:51:33.289Z","etag":null,"topics":["emoji","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/remove_emoji","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guanting112.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-14T17:59:14.000Z","updated_at":"2024-07-01T07:05:49.000Z","dependencies_parsed_at":"2022-08-14T23:50:27.159Z","dependency_job_id":null,"html_url":"https://github.com/guanting112/remove_emoji","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guanting112/remove_emoji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanting112%2Fremove_emoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanting112%2Fremove_emoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanting112%2Fremove_emoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanting112%2Fremove_emoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guanting112","download_url":"https://codeload.github.com/guanting112/remove_emoji/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanting112%2Fremove_emoji/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265025876,"owners_count":23699839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emoji","ruby","ruby-on-rails"],"created_at":"2024-08-03T06:01:23.609Z","updated_at":"2025-07-12T17:35:20.521Z","avatar_url":"https://github.com/guanting112.png","language":"Ruby","readme":"Remove Emoji ( 2021 )\n=================================================\n\n[![Gem Version](https://badge.fury.io/rb/remove_emoji.svg)](https://badge.fury.io/rb/remove_emoji)\n[![Build Status](https://travis-ci.org/guanting112/remove_emoji.svg?branch=master)](https://travis-ci.org/guanting112/remove_emoji)\n[![Code Climate](https://codeclimate.com/github/guanting112/remove_emoji/badges/gpa.svg)](https://codeclimate.com/github/guanting112/remove_emoji)\n\n此為針對「移除」Unicode Emoji 圖示 所開發的專屬套件，\n您可以透過該套件移除令人困擾的 Emoji 符號。\n( It can remove any of the emoji supported by that package. )\n\n![emoji](https://i.imgur.com/h1Ip0r6.png)\n\n\nInstallation / 安裝方式\n--------\n\nvia Rubygems\n\n```shell\ngem install remove_emoji\n```\n\nIn your Gemfile:\n\n```ruby\ngem 'remove_emoji', '~\u003e 3.0.0'\n```\n\nUsage / 使用方式\n--------\n\n使用方式很簡單，僅需要呼叫 RemoveEmoji::Sanitize.call 遞入你要過濾的字串即可過濾。\n\n```ruby\nrequire 'remove_emoji'\n\noriginal_string = \"😊😍😌🤕👿👹👧👧🏻👧🏼👧🏽🤜🏼👍🏽👌☝🏼🥝🥦🌶🌽🍎\"\n\nputs RemoveEmoji::Sanitize.call(original_string)\n```\n\n```ruby\nrequire 'remove_emoji'\n\n# ==========\n#   Input\n# ==========\noriginal_string = \u003c\u003c-STRING\nabcdefghijklmnopqrstuvwxyz....0123456789\n不極，物片類書車裡！十今果半接國先雄\nニッポン」「ニホン」両方使用される中\n🚗🚓🚨🚲🚡🚅🛶💺🚏🏦🕋🏦📱⌚️🖲🕯🔮🎎🎐💌📦\n📌☮️💟🔯☪️㊗️🈵🆚💯❕🔞🚷🔰⁉️⚠️💤🌐🌀▶️🔠🔣↔️↩️👁‍🗨\n◽️🔲🇵🇦🏳️🏳️‍🌈🇹🇲🇹🇷🤛🤜🏼👍🏽👌☝🏼🥝🥦🌶🌽🍎\n🍲🍔🥞🍝🍔🍗🌮🍯🥠🥢🍴🥄🥂☕️😀😃😄🤣😂😅😆☺️😊😍😌\n😘😗😙😚😜😝😛😋🤨🧐🤓😒😏🤩🤩😎😞😔😖😢😣☹️😩🙁🤯\n😰😓😦😲🤒🤕👿👹👽✊🏼\nには文중국, 일본, 베트남 등 한자 문화권에 속하는 아시아 여러 국가에서는 \n한국어的差异外，通常认为还存在词汇上的差异。例如繁体中文里多用的“原\nلمنطقة الشرق الأوسط هيلي: التحرك ضد إيران سيبدأ من مجلس الأمن\nSTRING\n\n# ==========\n#   Output\n# ==========\nputs RemoveEmoji::Sanitize.call(original_string)\n\n# Result:\n# abcdefghijklmnopqrstuvwxyz....0123456789\n# 不極，物片類書車裡！十今果半接國先雄\n# ニッポン」「ニホン」両方使用される中\n# \n# \n# \n# \n# \n# \n# には文중국, 일본, 베트남 등 한자 문화권에 속하는 아시아 여러 국가에서는\n# 한국어的差异外，通常认为还存在词汇上的差异。例如繁体中文里多用的“原\n# لمنطقة الشرق الأوسط هيلي: التحرك ضد إيران سيبدأ من مجلس الأمن\n\n```\n\nDemo ( Before / After )\n------\n\n![emoji_effect](https://i.imgur.com/OzcQYWL.jpg)\n\nLICENSE\n--------\n\n本專案原始碼採 MIT LICENSE 授權 ( 詳見 LICENSE 檔案 )\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanting112%2Fremove_emoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguanting112%2Fremove_emoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanting112%2Fremove_emoji/lists"}