https://github.com/steppsr/indexify
Bash script to create a general purpose NFT Gallery for Datalayer NFT collection on the Chia Blockchain. Or really any NFT collection in a source folder.
https://github.com/steppsr/indexify
bash chia chia-blockchain html javascript nft
Last synced: 2 months ago
JSON representation
Bash script to create a general purpose NFT Gallery for Datalayer NFT collection on the Chia Blockchain. Or really any NFT collection in a source folder.
- Host: GitHub
- URL: https://github.com/steppsr/indexify
- Owner: steppsr
- License: apache-2.0
- Created: 2023-12-12T03:28:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-18T02:27:17.000Z (over 1 year ago)
- Last Synced: 2025-02-28T02:42:20.134Z (3 months ago)
- Topics: bash, chia, chia-blockchain, html, javascript, nft
- Language: Shell
- Homepage:
- Size: 3.87 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# indexify
Bash script to create a general purpose NFT Gallery for Datalayer NFT collection on the Chia Blockchain. _Or really any NFT collection in a source folder._Note: the script is slow. The more NFTs the longer it takes. But, it's also a run-once and done script so just be patient. I do write output to the screen to show progress along the way.
---
### Prerequisites
* jq
* tr
* curl---
### Parameters
Parameter 1 must be the folder with the NFT files. i.e. `./build` or `./public_html`---
### Example of basic folder structure for collection
```
build
├─ images
├─ 01.png
└─ 02.png
├─ metadata
├─ 01.json
└─ 02.json
├─ icon.png
├─ banner.png
└─ license.md
```* Assumption 1 - contains a subfolder named `images` containing all the images of the NFTs.
* Assumption 2 - contains a subfolder named `metadata` containing all the JSON files for the metadata of the NFTs.
* Assumption 3 - contains an image named `icon.png`, `icon.jpg`, or `icon.gif` containing the icon for the collection.
* Assumption 4 - contains an image named `banner.png`, `banner.jpg`, or `banner.gif` containing the banner for the collection.
* Assumption 5 - contains a file named `license.md`, `license.pdf`, or `license.txt` contain the license for the collection.---
* Note 1 - The Collection data will be pulled from the first metadata file in the `metadata` folder.
* Note 2 - Output will be a file named `index.html` in the build_folder.---
# USAGE
`bash make_gallery.sh /path/to/`
Real Example:
```
bash make_gallery.sh ./BattleKats/build
```---
### Screenshot example
