MCPcopy Index your code
hub / github.com/elhadjx/nftpicgen

github.com/elhadjx/nftpicgen @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
20 symbols 37 edges 13 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

NFT Pic Gen

This is a simple Node.js script for generating random NFT art images. The generated images are in PNG format and can be saved to a file, For now the script is only generating random colored shapes and a random background. The goal is to make PNG images on top of each other to generate a unique image.

Installation

To use this script, you'll need to have Node.js and npm installed on your machine.

Clone the repository and install the required dependencies by running the following commands:

$ git clone https://github.com/elhadjx/nftpicgen.git
$ cd nftpicgen
$ npm install

Usage

To generate an NFT art image, simply run the following command:

$ node index.js

The generated images will be saved to out/nft${index}.png.

Contributing

If you'd like to contribute to this project, please fork the repository and make your changes. Pull requests are welcome!

Client

The client is the platform, built in ReactJS.

$ git clone https://github.com/elhadjx/nftpicgen.git
$ cd nftpicgen/client
$ npm install
$ npm run dev

License

This project is licensed under the MIT License. See the LICENSE file for details.

Core symbols most depended-on inside this repo

increment
called by 2
utils/CreationCounter.js
resizeImage
called by 2
services/Composite.js
resize
called by 1
test.js
sendFiles
called by 1
public/script.js
generateToken
called by 1
public/script.js
getDirectories
called by 1
utils/files.js
getFiles
called by 1
utils/files.js
validFile
called by 1
utils/files.js

Shape

Function 16
Class 2
Method 2

Languages

TypeScript100%

Modules by API surface

public/script.js6 symbols
utils/CreationCounter.js4 symbols
utils/files.js3 symbols
services/Composite.js3 symbols
test.js2 symbols
utils/random.js1 symbols
client/src/App.tsx1 symbols

For agents

$ claude mcp add nftpicgen \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact