{"id":15406759,"url":"https://github.com/dannyben/concode","last_synced_at":"2026-02-28T22:04:36.686Z","repository":{"id":32620508,"uuid":"138196490","full_name":"DannyBen/concode","owner":"DannyBen","description":"Generate consistent-codenames from any string (Heroku style, aka Haiku).","archived":false,"fork":false,"pushed_at":"2026-02-09T13:02:50.000Z","size":108,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-09T18:08:59.449Z","etag":null,"topics":["codename","gem","generator","haikunator","heroku","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/DannyBen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-21T16:36:09.000Z","updated_at":"2026-02-09T13:02:54.000Z","dependencies_parsed_at":"2023-09-28T10:12:04.948Z","dependency_job_id":null,"html_url":"https://github.com/DannyBen/concode","commit_stats":{"total_commits":55,"total_committers":2,"mean_commits":27.5,"dds":0.3090909090909091,"last_synced_commit":"7949083672202757d874fe5d01f0c72b908d83cc"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/DannyBen/concode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fconcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fconcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fconcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fconcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DannyBen","download_url":"https://codeload.github.com/DannyBen/concode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fconcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29953212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["codename","gem","generator","haikunator","heroku","ruby"],"created_at":"2024-10-01T16:25:15.227Z","updated_at":"2026-02-28T22:04:31.665Z","avatar_url":"https://github.com/DannyBen.png","language":"Ruby","readme":"Concode\n==================================================\n\n[![Gem Version](https://badge.fury.io/rb/concode.svg)](https://badge.fury.io/rb/concode)\n[![Build Status](https://github.com/DannyBen/concode/workflows/Test/badge.svg)](https://github.com/DannyBen/concode/actions?query=workflow%3ATest)\n[![Maintainability](https://api.codeclimate.com/v1/badges/6aa0a88a0276cf20b84f/maintainability)](https://codeclimate.com/github/DannyBen/concode/maintainability)\n\n---\n\nGenerate *consistent-codenames* from any string (Heroku style, aka Haiku).\n\nThis is a Ruby port of Python's [codenamize][1].\n\n---\n\nInstallation\n--------------------------------------------------\n\n    $ gem install concode\n\n\nFeature Highlights\n--------------------------------------------------\n\n- Use as a Ruby library or from the command line\n- Generate heroku-style / docker-style consistent codenames from any string (e.g. IP address, git commit \n  hash)\n- Control the number of words, and number of letters in each word\n- Compatibility with Python's codenamize (both libraries will generate the \n  same codes given the same string)\n- Limitless combinations (over 1.7 million for 2 words, and 1.8 billion for 3 \n  words)\n\n\nCommand Line Usage\n--------------------------------------------------\n\n```shell\n$ concode --help\n\nUsage:\n  concode \u003cstring\u003e [options]\n  concode --random [options]\n  concode --count [options]\n  concode (-h|--help|-v|--version)\n\nOptions:\n  -w, --words N        Number of words to generate\n  -c, --chars N        Max characters per word\n  -g, --glue CHAR      Word separator\n  -C, --caps           Capitalize words\n  -n, --count          Count possible combinations\n  -r, --random         Generate a random code\n  -h, --help           Show this message\n  -v, --version        Show version\n```\n\n### Examples\n\n```shell\n$ concode hello\nplausible-term\n\n$ concode hello --words 3\nancient-plausible-term\n\n$ concode hello --words 3 --chars 3 --caps --glue ' '\nCut Red Bar\n\n$ concode --random -w4\ncruel-aggressive-cute-world\n```\n\n\nLibrary Usage\n--------------------------------------------------\n\n```ruby\nrequire 'concode'\n\n# basic use:\n\ngenerator = Concode::Generator.new\nputs generator.generate 'something annoying'\n# =\u003e annoyed-poem\n\n# or, with all the options:\n\ngenerator = Concode::Generator.new words: 3, chars: 4, capitalize: true, glue: ' '\nputs generator.generate 'something annoying'\n# =\u003e Wise Rude Boot\n\n# get the available combinations with:\n\nputs generator.word_count\n# =\u003e 7402200\n```\n\n\nCredits\n--------------------------------------------------\n\nThanks to Jose Juan Montes ([@jjmontesl][2]) for developing and documenting \n[codenamize][1].\n\n\n[1]: https://github.com/jjmontesl/codenamize\n[2]: https://github.com/jjmontesl\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fconcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyben%2Fconcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fconcode/lists"}