{"id":22913966,"url":"https://github.com/bentatum/tenk","last_synced_at":"2025-04-15T11:33:29.518Z","repository":{"id":61379691,"uuid":"519363914","full_name":"bentatum/tenk","owner":"bentatum","description":"A framework for 10k pfp art projects","archived":false,"fork":false,"pushed_at":"2025-02-01T19:29:13.000Z","size":1897,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T19:37:47.232Z","etag":null,"topics":["generative-art","nfts","pfp"],"latest_commit_sha":null,"homepage":"https://tenk-jet.vercel.app","language":"TypeScript","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/bentatum.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-29T22:27:05.000Z","updated_at":"2025-01-11T15:33:58.000Z","dependencies_parsed_at":"2025-02-01T20:22:31.910Z","dependency_job_id":"f66fc2d3-3430-479c-8cf6-28a711a20685","html_url":"https://github.com/bentatum/tenk","commit_stats":null,"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentatum%2Ftenk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentatum%2Ftenk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentatum%2Ftenk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentatum%2Ftenk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bentatum","download_url":"https://codeload.github.com/bentatum/tenk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249061053,"owners_count":21206444,"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":["generative-art","nfts","pfp"],"created_at":"2024-12-14T05:12:39.674Z","updated_at":"2025-04-15T11:33:29.482Z","avatar_url":"https://github.com/bentatum.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Statements](https://img.shields.io/badge/statements-100%25-brightgreen.svg?style=flat)\n![Branches](https://img.shields.io/badge/branches-100%25-brightgreen.svg?style=flat)\n![Functions](https://img.shields.io/badge/functions-100%25-brightgreen.svg?style=flat)\n![Lines](https://img.shields.io/badge/lines-100%25-brightgreen.svg?style=flat)\n\n# tenk\n\nGenerative art projects made simple.\n\n## Setup\n\ntenk cli uses `node-canvas` to render pngs. If you encounter errors upon installation, check if you have the required packages. https://github.com/Automattic/node-canvas#installation.\n\n## Get Started\n\nCreate a directory with a folder called `layers`. Each layer needs to be a folder with image files.\n`cd` to your project folder in your terminal and type `npx tenk`. Images are rendered to the `.tenk` folder next to `layers`.\n\n### Layer Ordering\n\nSince layers are stacked in alphabetical order, you can control the order in which they appear by prefixing them with a number and an underscore. If `tenk` sees a number with an underscore as the first characters in your layer's directory name, it will remove it for you in the generated metadata.\n\n```\nlayers/\n  01_Background\n  02_Body\n  03_Eyes\n  04_Hair\n```\n\n### Rarity\n\nLayers have a property called `odds` that determines the likelyhood that it will be rendered or not. A lower number means rare, a higher number means common. You can define a layer's odds of appearing by appending a `#{percent value}` to the end of your file. If nothing is defined, it will always render.\n\nFor example, in the following directory structure Hair will appear 85% of the time and Jewlery will only appear 10% of the time.\n\n```\nlayers/\n  01_Background\n  02_Body\n  03_Eyes\n  04_Hair#85\n  05_Jewlery#10\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbentatum%2Ftenk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbentatum%2Ftenk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbentatum%2Ftenk/lists"}