README
Exandria is a decentralized file sharing system that includes search.
Getting started
To install: npm install exandria
If you want to see debug logs, set the env var DEBUG
to *
.
How to read
From the project directory:
- To list all files, run
node bin/print-files
. This will be very slow the first time. - Use
bin/get-file
to download a file. For example,node bin/get-file 'Pride and Prejudice by Jane Austen.epub'
. The file will appear in thefiles
directory.
How to write
- According to the [burn-stream-writer](https://github.com/paulkernfeld/burn-stream-writer docs), set up Bitcoin and make a
client-config.json
file. - Write your identity to the Bitcoin blockchain with
bin/write-identity
. - Add some files using
bin/append
. - Run
bin/serve
to share your local files with the world.
How does it work?
See this blog post.