Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinatacloud/ipfs-gateway-3d-viewer
https://github.com/pinatacloud/ipfs-gateway-3d-viewer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pinatacloud/ipfs-gateway-3d-viewer
- Owner: PinataCloud
- Created: 2021-05-20T19:01:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-20T19:02:22.000Z (over 3 years ago)
- Last Synced: 2023-03-02T15:36:38.785Z (almost 2 years ago)
- Language: JavaScript
- Size: 805 KB
- Stars: 17
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 3D Model Viewer For IPFS Gateways
This is a small app that should be uploaded to IPFS and should be used to load other assets (specifically 3D Models) from IPFS.
### How to Use
1. `git clone {THIS_REPOSITORY}`
2. `cd 3d-viewer`
3. `npm install`
4. `npm run build`
5. Upload the build folder as a folder upload to Pinata or pin it manually yourself to IPFS.
6. Upload a 3D Model file (in one of these formats: obj, 3ds, stl, ply, gltf, glb, 3dm, off) to Pinata or manually add it to IPFS yourself.
7. View the model in browser by visiting `${YOUR_GATEWAY_URL}/ipfs/${APP_CID}?object=${3D_MODEL_CID}&filename=${MODEL_FILENAME_WITH_EXTENSION}`*Note: it is important that the `filename` parameter is included with the correct extension or the viewer will not work.*