{"id":15066825,"url":"https://github.com/emsk/romajify","last_synced_at":"2025-04-10T13:53:16.424Z","repository":{"id":56892623,"uuid":"50845681","full_name":"emsk/romajify","owner":"emsk","description":"Japanese romanization library for Ruby.","archived":false,"fork":false,"pushed_at":"2021-06-17T13:23:41.000Z","size":150,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:39:18.316Z","etag":null,"topics":["cli","gem","japanese","romaji","ruby"],"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/emsk.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":"2016-02-01T14:45:06.000Z","updated_at":"2022-09-26T11:16:37.000Z","dependencies_parsed_at":"2022-08-20T16:10:35.967Z","dependency_job_id":null,"html_url":"https://github.com/emsk/romajify","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsk%2Fromajify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsk%2Fromajify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsk%2Fromajify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsk%2Fromajify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emsk","download_url":"https://codeload.github.com/emsk/romajify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248229038,"owners_count":21068811,"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":["cli","gem","japanese","romaji","ruby"],"created_at":"2024-09-25T01:12:48.397Z","updated_at":"2025-04-10T13:53:16.403Z","avatar_url":"https://github.com/emsk.png","language":"Ruby","readme":"# Romajify\n\n[![Gem Version](https://badge.fury.io/rb/romajify.svg)](https://badge.fury.io/rb/romajify)\n[![Build Status](https://github.com/emsk/romajify/actions/workflows/build.yml/badge.svg)](https://github.com/emsk/romajify/actions/workflows/build.yml)\n[![Build Status](https://travis-ci.org/emsk/romajify.svg?branch=main)](https://travis-ci.org/emsk/romajify)\n[![Build status](https://ci.appveyor.com/api/projects/status/nusknxpo5o04jrjp?svg=true)](https://ci.appveyor.com/project/emsk/romajify)\n[![Build Status](https://dev.azure.com/emsk/romajify/_apis/build/status/emsk.romajify?branchName=main)](https://dev.azure.com/emsk/romajify/_build/latest?definitionId=2\u0026branchName=main)\n[![Codecov](https://codecov.io/gh/emsk/romajify/branch/main/graph/badge.svg)](https://codecov.io/gh/emsk/romajify)\n[![Code Climate](https://codeclimate.com/github/emsk/romajify/badges/gpa.svg)](https://codeclimate.com/github/emsk/romajify)\n[![Inline docs](http://inch-ci.org/github/emsk/romajify.svg?branch=main)](http://inch-ci.org/github/emsk/romajify)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.txt)\n\nJapanese romanization library for Ruby.\n\nhttp://qiita.com/emsk/items/3e24628c220c825da709 (Japanese)\n\n## Prerequisite\n\nYou have to install Ruby 2.0.0 or higher.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'romajify'\n```\n\nAnd then execute:\n\n```sh\n$ bundle\n```\n\nOr install it yourself as:\n\n```sh\n$ gem install romajify\n```\n\n## Usage\n\n#### Command Line Interface\n\n```sh\n$ romajify hepburn すし\n```\n\n#### Ruby Source Code\n\n```ruby\nrequire 'romajify/converter'\nputs Romajify::Converter.hepburn('すし')\n```\n\n## Supported Romaji\n\n#### Hepburn Romaji\n\nModified Hepburn:\n\n```sh\n$ romajify hepburn しんばし\nshinbashi\n```\n\nTraditional Hepburn:\n\n```sh\n$ romajify hepburn --traditional しんばし\nshimbashi\n```\n\n#### Nihon-shiki Romaji\n\n```sh\n$ romajify nihon まちづくり\nmatidukuri\n```\n\n#### Kunrei-shiki Romaji\n\n```sh\n$ romajify kunrei まちづくり\nmatizukuri\n```\n\n## Command Options\n\n| Option | Description | Default |\n| :----- | :---------- | :------ |\n| `-u/--upcase` | Whether to return upper case. | `false` - Lower case |\n| `-t/--traditional` | Whether to convert to traditional hepburn. This is the option only for `hepburn` command. | `false` - Modified hepburn |\n\n## Documentation\n\nhttp://www.rubydoc.info/gems/romajify\n\n## Supported Ruby Versions\n\nRuby 2.0.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0\n\n## Contributing\n\n1. Fork it ( https://github.com/emsk/romajify/fork )\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 a new Pull Request\n\n## Related\n\n* [mruby-romajify](https://github.com/emsk/mruby-romajify) - An mruby implementation of the romajify\n* [go-romajify](https://github.com/emsk/go-romajify) - Pure Go implementation of the romajify\n* [romajic](https://github.com/emsk/romajic) - Automatic romaji spelling checker for programmer\n\n## License\n\n[MIT](LICENSE.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femsk%2Fromajify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femsk%2Fromajify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femsk%2Fromajify/lists"}