A short project to automatically upload multiple pictures to pinata.cloud

Overview

Papel Mache

Papel Mache is an app that uploads pictures to IPFS through pinata.cloud


Requirements

  • pinata/sdk: 1.1.14
  • node: 14.17.6

Node

  • Node installation on Windows

    Go on official Node.js website and download the installer.

  • Node installation on Ubuntu

    You can install nodejs and npm easily with apt install, just run the following commands.

    $ apt-get install nodejs
    $ apt-get install npm
    
  • Other Operating Systems

    You can find more information about the installation on the official Node.js website and the official NPM website.

Configure app

You will need the following env variables:

  • API_KEY: get it from your pinata.cloud user.
  • API_SECRET_KEY: get it from your pinata.cloud user.
  • IMAGES_FOLDER: this is the name of the folder where the files you want to download are located. they should be in your project, this is a relative location. If not set, the program will try to find the images in a folder called test

Running the project

$ npm install
$ npm app.js

Output

It will write a csv file called ipfs.csv with the ipfs id and the image so you can relate each image with the ipfs link

Other features

If there are a lot of pictures to upload the pinata cloud server may failed or your connection may failed. That's why you have the file check-pins.js. With the command:

$ npm check-pins.js

You can get a report of the pins uploaded in case you want to retry only for those who failed.

You might also like...

💥This is an app that recognizes text in pictures

English | 简体中文 Easy OCR App This is an app that recognizes text in pictures. The application is developed using Tauri, Vite, React, TypeScript. The ca

Dec 3, 2022

True P2P concept for your p2p powered website/app/client. MSC/MEP (Multiple Strategy Concept/Multiple Entry Points)

True P2P concept for your p2p powered website/app/client. MSC/MEP (Multiple Strategy Concept/Multiple Entry Points)

TRUE P2P CONCEPT - Lets redecentralize the web This repo is just conceptual. Active development of the endproduct (TRUE P2P) happens here https://gith

Mar 29, 2022

⚡🚀 Call multiple view functions, from multiple Smart Contracts, in a single RPC query!

ethers-multicall ⚡ 🚀 Call multiple view functions, from multiple Smart Contracts, in a single RPC query! Querying an RPC endpoint can be very costly

Dec 30, 2022

Short JavaScript code snippets for all your development needs

Short JavaScript code snippets for all your development needs

30 seconds of code Short JavaScript code snippets for all your development needs Visit our website to view our snippet collection. Use the Search page

Dec 30, 2022

Short CSS code snippets for all your development needs

Short CSS code snippets for all your development needs

30 seconds of CSS Short CSS code snippets for all your development needs Visit our website to view our snippet collection. Use the Search page to find

Jan 3, 2023

📝 You Can Create Your Own Short Notes With The Help of Sticky-Notes Website.

Hi 👋 , I'm Sneh Agrawal A passionate Web developer from India 🔭 I’m currently working on Chatting Website Chit-Chat 📫 How to reach me on My Gmail A

Feb 23, 2022

Short JavaScript code snippets for all your development needs

Short JavaScript code snippets for all your development needs

30 seconds of code Short JavaScript code snippets for all your development needs Visit our website to view our snippet collection. Use the Search page

Dec 28, 2022

Seamlessly connect your web server to Rebrandly so that you can re-use your domain name for both your app and your short links

rebrandly-express Seamlessly connect your web server to Rebrandly so that you can re-use your domain name for both your app and your short links Rebra

Dec 13, 2022

👄 My simple worker for short links

👄 My simple worker for short links I wanted a quick-and-easy way to create links on my domain, so I turned to Cloudflare Workers. All routes availabl

Apr 15, 2022
Releases(release-v0.1)
Owner
Cardano Valley
About 2.000 unique NFTs. Pre-sale on May 21st! We are here to be an art gallery for emerging artists in the #Cardano community! #Art #NFTs
Cardano Valley
Upload or Upload & Publish your bundle (apk or aab) to Huawei AppGallery with ConnectApi

appgallery-publisher Upload/Publish your bundle (apk or aab) to AppGallery automatically with appgallery-publisher Usage Single Javascript File Bash F

Mustafa Yiğit 17 Sep 19, 2022
Quickly upload images to the cloud in Logseq.

logseq-plugin-image-uploader Usage How to use it? Currently, we only support PicGo, so please open PicGo manually. By default, when you paste any cont

JJAYCHEN 18 Nov 25, 2022
optimize image & upload file to cloud as image bed with tiny image automic.

Rush! 图片压缩 & 直传图床工具 这是一个兴趣使然的项目, 希望 Rush! 能让这个世界的网络资源浪费减少一点点 下载 Downloads 获取最新发行版 功能 Features 拖拽批量压缩图片, 支持格式 jpg/png/gif Drop to optimize, jpg/png/gif

{ Chao } 3 Nov 12, 2022
This is a simple script to upload Multiple files into google drive using google drive API and Nodejs.

Welcome to gDrive Multiple File Upload ?? This is a simple script to upload Multiple files into google drive using google drive API and Nodejs Install

Jayamal Sanuka Hettiarachchi 1 Dec 29, 2021
A simple class to embed a panoramic view in a website from six pictures

htmlcubemap A simple class to embed a panoramic view in a website from six pictures. It uses CSS with transforms. Demo here Usage Just call from javas

Javi Agenjo 6 Dec 17, 2022
Blobernize your pictures with this all-new tool! Still under development, but it works for now.

Still under development, but in a usable state image-blobernizer A very simple image-blobernizer made for the webbrowser using p5.js Live demo Require

Sen van der Heide 3 Mar 23, 2022
Generate prime numbers from pictures!

Pictoprime This is a program used to generate prime numbers from pictures. Dependencies Ensure you have the following dependencies: Node.js (16+ suppo

Jesse Mitchell 276 Dec 27, 2022
A simple Node.js code to get unlimited instagram public pictures by every user without api, without credentials.

Instagram Without APIs Instagram Scraping in August 2022, no credentials required This is a Node.js library, are you looking for the same in PHP? go t

Francesco Orsi 28 Dec 29, 2022
A jQuery Plugin for viewing pictures like Wechat moments

A jQuery Plugin for viewing pictures like Wechat moments

馒头饭 25 Nov 10, 2022
NFTKastle is an NFT marketplace where users can mint their pictures as NFTs, list their NFTs for sale, and buy NFTs from other users.

NFTKastle NFTKastle is an NFT marketplace where users can mint their pictures as NFTs, list their NFTs for sale, and buy NFTs from other users. NFTKas

Paschal 2 Oct 31, 2022