Skip to content

Silanael/ardrive-get-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ardrive-get-files

Silanael 2021-10-08

Contact info

Type Address
Website www.silanael.com
E-mail sila@silanael.com
Arweave zPZe0p1Or5Kc0d7YhpT5kBC-JUPcDzUPJeMz2FdFiy4
ArDrive a44482fd-592e-45fa-a08a-e526c31b87f1

Requirements

  • node.js
  • NPM

Install Node.js

Linux - Debian-based

sudo apt-get update && sudo apt-get install -y nodejs npm

Linux - Arch-based

sudo pacman -Sy && sudo pacman -S nodejs npm

Other OS

Refer to https://nodejs.org

How to build

npm install OR npm install --no-bin-links if symlinks aren't a thing.

How to run

npm start OR node index.js OR ./index.js

Known issues

  • Moved/reuploaded/renamed files produce multiple entries.
  • Throws an exception if a private drive ID is used. CBA to fix.

TODO (maybe)

  • An option to scan for drives.
  • See if there would be a way to do the fetch without creating a DB/user.
  • Might add an option to prune the duplicates at some point.
  • Command-line parameters could be nice.
  • Maybe package into a binary.

What is this?

A Javascript-program that fetches information files on a selected ArDrive public drive located in a given Arweave-address, saving this data in CSV-format. Will probably get deprecated once the new version of ardrive-cli is ready, wrote this now due to there being multiple requests for CSV-exporting on ArDrive's Discord server.

What is ArDrive?

ArDrive is a permaweb file storage service that provides a filesystem layer (ArFS) on top of Arweave, allowing easy upload and management of files. Upon uploading a file, a small fee (a tip) is charged in addition to the Arweave network transaction fees. The files can be managed with a web interface at app.ardrive.io. A desktop client exists as well. See ardrive.io for more information.

What is Arweave?

Arweave is an immutable data storage system with the goal of long-term data preservation in a way that counters censorship and data loss that is the result of centralization. It seeks to do this by storing data in such a way that miners are incentivized to hold as much of it as possible for as long as possible.

Storing data requires spending Arweave's native cryptocurrency, "AR", some of which is distributed to the miners over time as a form of accumulating interest. See arweave.org for more information.

About

Export information about files in an ArDrive-drive in CSV-format.

Resources

Stars

Watchers

Forks

Packages

No packages published