{"id":16922839,"url":"https://github.com/unasuke/middleman-somemoji","last_synced_at":"2025-10-08T06:50:50.762Z","repository":{"id":56883647,"uuid":"91486125","full_name":"unasuke/middleman-somemoji","owner":"unasuke","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-28T15:34:49.000Z","size":38,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-28T03:47:22.610Z","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/unasuke.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-05-16T17:31:00.000Z","updated_at":"2021-10-28T15:34:50.000Z","dependencies_parsed_at":"2022-08-20T23:40:17.988Z","dependency_job_id":null,"html_url":"https://github.com/unasuke/middleman-somemoji","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/unasuke/middleman-somemoji","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fmiddleman-somemoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fmiddleman-somemoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fmiddleman-somemoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fmiddleman-somemoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unasuke","download_url":"https://codeload.github.com/unasuke/middleman-somemoji/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fmiddleman-somemoji/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278861029,"owners_count":26058632,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-13T19:56:55.173Z","updated_at":"2025-10-08T06:50:50.746Z","avatar_url":"https://github.com/unasuke.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# middleman-somemoji\n\n[![CircleCI](https://circleci.com/gh/unasuke/middleman-somemoji/tree/master.svg?style=shield)](https://circleci.com/gh/unasuke/middleman-somemoji/tree/master)\n[![test](https://github.com/unasuke/middleman-somemoji/actions/workflows/ruby.yml/badge.svg?branch=master)](https://github.com/unasuke/middleman-somemoji/actions/workflows/ruby.yml)\n\nmiddleman-somemoji is a emoji extension for Middleman.\n\nChoose emoji provider and convert emoji shorthand (e.g. `:heart:`) to `\u003cimg\u003e` tag using somemoji gem.\n\n## usage\n### 1. bundle install\n\n```ruby\n# Gemfile\nsource 'https://rubygems.org'\n\ngem 'middleman', '\u003e= 4.0.0'\ngem 'middleman-somemoji'\n```\n\nand run `bundle install`\n\n### 2. download emoji images\n\nDownload emoji images to your middleman images directory using somemoji gem.\n\n```shell\n# in your middleman root directory (destination path is a example)\n$ bundle exec somemoji extract --provider=twemoji --destination=./source/images/emoji\n```\n\nSee also somemoji's readme → [somemoji/README.md](https://github.com/r7kamura/somemoji/blob/master/README.md)\n\n### 3. activate somemoji extension and setting it\n\n```ruby\n# your middleman config.rb\nactivate :somemoji,\n  provider:    'twemoji',\n  emojis_dir:  '/images/emoji'\n```\n\n:warning: __note__ :warning:\n\nIf you using `asset_hash` extension, currentry disable it in emoji images directory please :pray:\n\n```ruby\n# for example\nactivate :asset_hash, ignore: 'images/twemoji'\n```\n\n### 4. write emoji shorthand\n\nexamples...\n\n```markdown\n# my markdown document\nI'm happy :lauging:\n\n## but\nSo sorry... :bow:\n```\n\n```slim\nh1 my slim document\ndiv.some-class\n  p\n    | :eyes:\n  small\n    | :+1:\n```\n\nSee also [Emoji cheat sheet for GitHub, Basecamp and other services](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\n\n### 5. build middleman site!\n\n```shell\n$ bundle exec middleman build\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/unasuke/middleman-somemoji.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n## Reference\n- [r7kamura/somemoji: A grand unified emoji mapper for some emoji providers.](https://github.com/r7kamura/somemoji)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Fmiddleman-somemoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funasuke%2Fmiddleman-somemoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Fmiddleman-somemoji/lists"}