{"id":16096315,"url":"https://github.com/sio/coolname","last_synced_at":"2025-04-05T20:29:33.159Z","repository":{"id":65231075,"uuid":"587327021","full_name":"sio/coolname","owner":"sio","description":"Random name and slug generator","archived":false,"fork":false,"pushed_at":"2023-01-31T13:04:12.000Z","size":77,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T20:49:48.603Z","etag":null,"topics":["golang","random-generation","slug"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sio.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}},"created_at":"2023-01-10T13:52:34.000Z","updated_at":"2024-10-20T14:10:59.000Z","dependencies_parsed_at":"2023-02-16T19:31:18.179Z","dependency_job_id":null,"html_url":"https://github.com/sio/coolname","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fcoolname","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fcoolname/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fcoolname/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fcoolname/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sio","download_url":"https://codeload.github.com/sio/coolname/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247398057,"owners_count":20932654,"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":["golang","random-generation","slug"],"created_at":"2024-10-09T17:13:16.539Z","updated_at":"2025-04-05T20:29:33.133Z","avatar_url":"https://github.com/sio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random name and slug generator\n\ncoolname is a Golang port of a [Python package][upstream] by [Alexander Lukanin].\nAll hard work of creating and maintaing word lists happens upstream.\n\n[upstream]: https://github.com/alexanderlukanin13/coolname\n[Alexander Lukanin]: https://github.com/alexanderlukanin13\n\n\n## Documentation\n\nSee [package docs at pkg.go.dev][docs]\n\n[docs]: https://pkg.go.dev/github.com/sio/coolname\n\n\n## Installation\n\n```console\n$ go get github.com/sio/coolname\n```\n\n## Usage\n\n### Importing the package\n\n```go\nimport \"github.com/sio/coolname\"\n```\n\n### Generating cool names\n\n```\n\u003e\u003e\u003e coolname.Slug()\n\"vegan-outrageous-bumblebee-of-discourse\"\nnil\n\n\u003e\u003e\u003e coolname.SlugN(2)\n\"crimson-caracal\"\nnil\n\n\u003e\u003e\u003e coolname.Generate()\n[]string{\n  \"kind\",\n  \"romantic\",\n  \"markhor\",\n  \"of\",\n  \"luxury\",\n}\nnil\n```\n\n\n### Advanced configuration\n\nSeveral tunable knobs are provided, check the [docs] and source code to be able to:\n\n  - Provide custom word lists\n  - Create new lists by combining existing ones via plain concatenation or via\n    cartesian product (see [config.json], custom JSON inputs are supported!)\n  - Use custom random number generator\n\n[config.json]: data/config.json\n\n\n## License and copyright\n\n### Golang port (this package)\n\nCopyright 2023 Vitaly Potyarkin, `Apache-2.0 License`\n\n### Word lists and JSON config\n\nCopyright 2015-2023 [Alexander Lukanin][upstream] and contributors, `BSD-2-Clause License`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsio%2Fcoolname","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsio%2Fcoolname","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsio%2Fcoolname/lists"}