{"repo":"vgrichina/nearfs","free":true,"listed":false,"github":"https://github.com/vgrichina/nearfs","clone":"git clone https://github.com/vgrichina/nearfs.git","description":"Distributed file system compatible with IPFS using NEAR blockchain as a backend.","language":"JavaScript","stars":24,"topics":["blockchain","ipfs","web3","web4","nearprotocol"],"license":null,"category":"blockchain-web3","readme_excerpt":"NEARFS NEARFS is a distributed file system compatible with IPFS that uses the NEAR blockchain as a backend. It is a work in progress. TLDR - IPFS blocks are recorded in transaction history as fs store function calls - custom indexer can be used to collect all blocks and store them in a local file system (see scripts/load-from-near-lake.js ) - IPFS-compatible gateway can be used to access files (see app.js ) - Public gateways are available: - https://ipfs.web4.near.page. Access data stored on NEAR mainnet. - https://ipfs.web4.testnet.page. Access data stored on NEAR testnet. Useful tools - web4-deploy Deploy your website to NEAR blockchain + IPFS/NEARFS. - fast-ipfs Low level utilities to work with IPFS blocks, etc. - https://near.page Web4 gateway which uses NEARFS to resolve ipfs:// links when possible. How to run gateway - yarn install - yarn start How to run indexer - yarn install - node scripts/load-from-near-lake.js --bucket-name [near-lake-bucket-name] Environment variables - PORT - port to run gateway on - NEARFS STORAGE PATH - path to NEARFS block storage - NEARFS LOAD NEAR LAKE - if set to true (or yes ) gateway will also load blocks from NEAR Lake. Use this if you want to avoid running load-from-near-lake.js script separately. - NEARFS LAKE BUCKET NAME - name of the NEAR Lake S3 bucket to load blocks from - NEARFS LAKE REGION NAME - region of the NEAR Lake S3 bucket to load blocks from - NEARFS LAKE ENDPOINT - endpoint of the NEAR Lake S3 bucket to load blocks from ","default_branch":null,"files":null,"tree":[],"storefront":"/r/vgrichina","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vgrichina/nearfs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}