{"id":13659870,"url":"https://github.com/opendnd/opendnd","last_synced_at":"2025-04-24T15:31:04.088Z","repository":{"id":29242756,"uuid":"114937933","full_name":"opendnd/opendnd","owner":"opendnd","description":"This is the main collection of OpenDnD Tools with generators for persons, dynasties, cities, towns, and more","archived":false,"fork":false,"pushed_at":"2023-01-09T19:57:32.000Z","size":496,"stargazers_count":181,"open_issues_count":11,"forks_count":19,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-21T23:49:01.806Z","etag":null,"topics":["dnd","dnd-tools","dnd5e","dragons","dungeon","dungeons-and-dragons","generators","javascript","node-cli","nodejs"],"latest_commit_sha":null,"homepage":"http://opendnd.org","language":"JavaScript","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/opendnd.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":"2017-12-20T22:43:56.000Z","updated_at":"2025-04-20T03:23:29.000Z","dependencies_parsed_at":"2023-01-14T14:29:07.550Z","dependency_job_id":null,"html_url":"https://github.com/opendnd/opendnd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendnd%2Fopendnd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendnd%2Fopendnd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendnd%2Fopendnd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendnd%2Fopendnd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opendnd","download_url":"https://codeload.github.com/opendnd/opendnd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250654185,"owners_count":21465833,"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":["dnd","dnd-tools","dnd5e","dragons","dungeon","dungeons-and-dragons","generators","javascript","node-cli","nodejs"],"created_at":"2024-08-02T05:01:13.143Z","updated_at":"2025-04-24T15:31:03.789Z","avatar_url":"https://github.com/opendnd.png","language":"JavaScript","readme":"# opendnd\nThis is the main collection of OpenDnD Tools with generators for persons, dynasties, cities, towns, and more\n\n[![NPM](https://nodei.co/npm/opendnd.png?downloads=true\u0026stars=true)](https://nodei.co/npm/opendnd/)\n\n[![Build Status](https://travis-ci.org/opendnd/opendnd.svg?branch=master)](https://travis-ci.org/opendnd/opendnd)\n\n## Installation\nYou will need [node](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) installed. Then run the command:\n\n`npm install -g opendnd`\n\n## Generate from CLI\n\n```shell\ndnd name    # generate a name for a character or city\ndnd dna     # generate DNA for a person with unique traits and physical characteristics\ndnd person  # generate a person either a playable character or non\ndnd domain  # generate a kingdom, city, town, etc. for the characters to explore\ndnd dynasty # generate a dynasty to give the kingdom a rich history\n```\n\n## Module Usage\n\nRequire opendnd into your file and use either of the opendnd classes.\n\n```javascript\nconst opendnd = require('opendnd');\nconst { Nomina, Genetica, Personae, Dominia, Dynastia } = opendnd;\n\n// generate name\nconst nomina = new Nomina();\nconst name = nomina.generate();\n\n// generate DNA\nconst genetica = new Genetica();\nconst DNA = genetica.generate();\n\n// generate a person with our name and DNA\n// all are optional if we leave it out it will be generated for us\nconst personae = new Personae();\nconst person = personae.generate({\n  name,\n  DNA,\n});\n\n// generate a dynasty with our person\nconst dynastia = new Dynastia();\nconst dynasty = dynastia.generate({\n  progenitor: person,\n});\n\n// generate a town where this dynasty is from\nconst dominia = new Dominia();\nconst town = dominia.generate({\n  size: 'town',\n});\n```\n\n## Features\nHere are the features of Dynastia:\n\n### Person Generating\nFor more on person generating please see the Personae [README](https://github.com/opendnd/personae/blob/master/README.md).\n\n### Name Generating\nFor more on name generating please see the Nomina [README](https://github.com/opendnd/nomina/blob/master/README.md).\n\n### DNA Generating\nFor more on DNA generating please see the Genetica [README](https://github.com/opendnd/genetica/blob/master/README.md).\n\n### Domain (kingdoms, cities, towns, etc.) Generating\nFor more on domain generating please see the Dominia [README](https://github.com/opendnd/dominia/blob/master/README.md).\n\n### Dynasty Generating\nFor more on person dynasty please see the Dynastia [README](https://github.com/opendnd/dynastia/blob/master/README.md).\n\n## Developing\n\nTo develop with OpenDnD,\n\n```shell\ngit clone https://github.com/opendnd/opendnd.git\ncd opendnd/\nnpm install\n```\n\n## Contributing\n\nIf you'd like to contribute, please fork the repository and use a feature\nbranch. Pull requests are welcome!\n\nOpenDnD use the [Airbnb](https://github.com/airbnb/javascript) javascript style.\n\n## Licensing\n\n[MIT](https://github.com/opendnd/opendnd/blob/master/LICENSE)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendnd%2Fopendnd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopendnd%2Fopendnd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendnd%2Fopendnd/lists"}