Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kleros/json-to-ipfs

A tool to quickly upload JSON files to IPFS.
https://github.com/kleros/json-to-ipfs

backend ipfs platform

Last synced: 12 days ago
JSON representation

A tool to quickly upload JSON files to IPFS.

Awesome Lists containing this project

README

        


JSON to IPFS


JavaScript Style Guide
Conventional Commits
Commitizen Friendly

Tool to quickly upload JSON files to ipfs

## Usage

1. Clone this repo;
2. Duplicate `.env.example` and rename it to `.env`. Fill the IPFS_GATEWAY variables.
3. Paste the JSON file to be uploaded on the root and name it `input.json`.
4. Run `yarn` to install dependencies.
5. (Optional) In `index.js` change the FILE_NAME variable from `file.json` to something you prefer.
6. Run `yarn up` to upload.

## Other Scripts

- `yarn format` - Lint, fix and prettify all the project.
- `yarn run cz` - Run commitizen.