{"id":21371916,"url":"https://github.com/formysister/nft-generator","last_synced_at":"2025-09-06T03:36:24.665Z","repository":{"id":197998365,"uuid":"699838856","full_name":"formysister/nft-generator","owner":"formysister","description":"NFT generator Javascript CLI","archived":false,"fork":false,"pushed_at":"2023-10-30T19:43:48.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-16T16:15:44.243Z","etag":null,"topics":["cli","javascript","javascript-cli","nfg-generator","nft","nodejs","npm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/nft-collection-generator","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formysister.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-03T12:52:14.000Z","updated_at":"2024-01-16T09:14:35.000Z","dependencies_parsed_at":"2023-10-04T00:24:04.843Z","dependency_job_id":"0dcbccb1-6bdc-4bac-9e2e-361f86a1e8e9","html_url":"https://github.com/formysister/nft-generator","commit_stats":null,"previous_names":["formysister/nft-generator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formysister%2Fnft-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formysister%2Fnft-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formysister%2Fnft-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formysister%2Fnft-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formysister","download_url":"https://codeload.github.com/formysister/nft-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225862780,"owners_count":17535998,"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","javascript","javascript-cli","nfg-generator","nft","nodejs","npm"],"created_at":"2024-11-22T08:16:26.833Z","updated_at":"2024-11-22T08:16:27.335Z","avatar_url":"https://github.com/formysister.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# NFT COLLECTION GENERATOR\nThis tool generates generative NFT collection, based of all available traits.  \nIt was made with the intention to make the generative art field more accessible to anyone.  \nWith this tool you don't need to be a programmer to create generative art.\n\n\u003cimg src=\"https://github.com/formysister/nft-generator/blob/main/screenshot/screenshot.png?raw=true\" width=\"100%\" /\u003e\n\n**Features:**\n* Generate Images of an infinite amount of traits\n* Weight traits for different rarities\n* Remove duplicated combinations\n* Generate metadata for direct use on marketplaces\n\n**Installation**\n`npm install -g nft-collection-generator`\n\n**Argument Description**\n- `-b` Background image directory. Folder must include images that will be used for background of each collection. e.g: `-b traits/bg`\n- `-t` Traits directory. Folder must include include sub folders that includes traits images. e.g: `-t traits`\n- `-l` Layer(Traits) priority. List of trait folders in traits directory; They must be ordered by correct priority for precise image generation. e.g: `-l head body leg footer`\n- `-n` Collection name e.g: `-n MyCollection`\n- `-c` Generation amount e.g: `-c 2000`\n\n**Example Usage**\n`nft-gen -b traits/bg -t traits -l head body leg foot -c 2000 -n MyCollection` \n\n**Documentation**  \n\nYou should run the CLI, in the root directory of project.\nBefore you start, make sure your file structure looks something like this:\n\n```\nYOUR_PROJECT/  \n├─ traits/  \n│  ├─ trait1_name/  \n│  │  ├─ file1.png  \n│  │  ├─ file2.png  \n│  │  ├─ file3.png  \n│  │  ├─ ...  \n│  ├─ trait2_name/  \n│  │  ├─ file4.png  \n│  │  ├─ file5.png  \n│  │  ├─ ...  \n│  ├─ trait3_name/  \n│  │  ├─ file6.png  \n│  │  ├─ ...  \n│  ├─ ... \n|  ├─ bg/ \n│  │  ├─ background_image1.png\n│  │  ├─ background_image2.png\n│  │  ├─ ...  \n```\n**Command Example**\n`nft-gen -b traits/bg -t traits -l trait1_name trait2_name trait3_name -c 2000 -n MyCollection`\n\nThis is really important, since the scripts imports the traits based on the folder structure.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformysister%2Fnft-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformysister%2Fnft-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformysister%2Fnft-generator/lists"}