Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
nft-art-generator
Advanced tools
This tool generates generative NFT art, based of all available traits.
It was made with the intention to make the generative art field more accessible to anyone.
With this tool you don't need to be a programmer to create generative art.
If you are an artist interested bringing your work to the blockchain or interested in working on a project with us, please DM us on Twitter We offer any kind of Blockchain development, including collectible projects and custom marketplaces for artists.
Features:
Installation
npm install -g nft-art-generator
Usage
nft-generate [--save-config]
Options
Documentation
Before you start, make sure your file structure looks something like this:
YOUR_PROJECT/
├─ images/
│ ├─ trait1_name/
│ │ ├─ file1.png
│ │ ├─ file2.png
│ │ ├─ file3.png
│ │ ├─ ...
│ ├─ trait2_name/
│ │ ├─ file4.png
│ │ ├─ file5.png
│ │ ├─ ...
│ ├─ trait3_name/
│ │ ├─ file6.png
│ │ ├─ ...
│ ├─ ...
This is really important, since the scripts imports the traits based on the folder structure.
The first input allows you to select where your images are located.
In the next step you are able to select where your files should be outputted to.
The next input lets you decide if you want to allow duplicates or not.
The next input lets you decide if you want to generate metadata or not.
If you want metadata to be generated the script will ask you for a name, a description and an image url.
Name: Enter the name you want to be saved in the metadata.
Example: If you enter Crypto Punk, the script would output Crypto Punk#ID to the metadata
Description: The description that should be saved in the metadata.
Image URL: Enter the base url of your images.
Example: If you enter https://google.com/api/cryptopunks/, the script will output https://google.com/api/cryptopunks/ID
After that the script will output a list of all traits it could find, and asks you to select your background trait.
When you did this the script, will continue to ask you which trait should be the next layer.
Imagine it like the different layers in Photoshop and you are selecting the order of those.
The next input lets you decide if you want to use filenames as traits names, or to define custom names for each trait.
If you selected the last option, you will enter a name for all you files.
These names will be used in the Metadata as well as in the script to make weighting the traits easier.
Example: If you have a file name bg1.png the script will ask you to name it. If its just a white background you could name it "White".
The next step is the weighting of your traits.
You can enter the amount you want to have of the listed trait.
Please make sure that all traits end up with the same amount of images, otherwise there will be issues.
Example: You want 50 total images. You enter 50 White background, 25 red balls and 25 blue balls.
That would result in 50 total spheres and 50 total background.
Please note that if you selected the option to remove duplicates there might be less images then expected.
That's it check your output folder for your images and metadata file.
If you encounter any issues feel free to sent me a DM on my Twitter @notluksus3D
Known issues Some special characters may resolve in some "File couldnt be loaded" errors. Try to remove any special characters from your file paths to resolve.
FAQs
A tool to generate generative NFT art projects.
The npm package nft-art-generator receives a total of 2 weekly downloads. As such, nft-art-generator popularity was classified as not popular.
We found that nft-art-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.