{"id":19055762,"url":"https://github.com/taskrabbit/demoji","last_synced_at":"2025-06-30T09:35:52.667Z","repository":{"id":14141986,"uuid":"16847606","full_name":"taskrabbit/demoji","owner":"taskrabbit","description":"Replace emojis as to not blow up utf8 MySQL.","archived":false,"fork":false,"pushed_at":"2021-01-06T18:48:37.000Z","size":20,"stargazers_count":41,"open_issues_count":1,"forks_count":11,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-30T00:48:05.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/taskrabbit.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":"2014-02-14T19:48:41.000Z","updated_at":"2024-05-14T06:07:41.000Z","dependencies_parsed_at":"2022-07-08T03:57:42.957Z","dependency_job_id":null,"html_url":"https://github.com/taskrabbit/demoji","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/taskrabbit/demoji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrabbit%2Fdemoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrabbit%2Fdemoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrabbit%2Fdemoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrabbit%2Fdemoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taskrabbit","download_url":"https://codeload.github.com/taskrabbit/demoji/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrabbit%2Fdemoji/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260967377,"owners_count":23090100,"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":[],"created_at":"2024-11-08T23:46:56.700Z","updated_at":"2025-06-20T15:09:06.478Z","avatar_url":"https://github.com/taskrabbit.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://travis-ci.org/taskrabbit/demoji.svg?branch=master)\n\n# Demoji\n\nMySQL configured with utf-8 encoding blows up when trying to save text rows containing emojis, etc., to address this, Demoji rescues from that specific exception and replaces the culprit chars with empty spaces.\n\nThis is a workaround until Rails adds support for UTF8MB4 in migrations, schema, etc.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'demoji'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install demoji\n\n## Usage\n\nWrite an initializer in: `config/initializers/demoji.rb`:\n\n```ruby\nActiveRecord::Base.send :include, Demoji\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskrabbit%2Fdemoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaskrabbit%2Fdemoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskrabbit%2Fdemoji/lists"}