BitDust is new software framework to build distributed and secure peer-to-peer applications.
Project description
# BitDust
[bitdust.io](https://bitdust.io)
[![Build Status](https://travis-ci.com/bitdust-io/devel.svg?branch=master)](https://travis-ci.com/bitdust-io/devel)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
## About
#### BitDust is a peer-to-peer online backup utility.
This is a distributed network for backup data storage. Each participant of the network provides a portion of his hard drive for other users. In exchange, he is able to store his data on other peers.
The redundancy in backup makes it so if someone loses your data, you can rebuild what was lost and give it to someone else to hold. And all of this happens without you having to do a thing - the software keeps your data in safe.
All your data is encrypted before it leaves your computer with a private key your computer generates. No one else can read your data, even BitDust Team! Recover data is only one way - download the necessary pieces from computers of other peers and decrypt them with your private key.
BitDust is written in Python using pure Twisted framework and published under GNU AGPLv3.
#### Current status
Current project stage is about to only research opportunities of building a holistic eco-system that protects your privacy in the network by establishing p2p communications of users and maximize distribution of information flows in the network.
At the moment exists a very limited alpha version of the BitDust software. We decided to publish those earlier works to verify/test/share our ideas and experiments with other people.
## Install BitDust software
#### Install software dependencies
Seems like in Ubuntu (probably most other distros) you can install all dependencies in that way:
sudo apt-get install git gcc python-dev python-virtualenv
Optionally, you can also install [miniupnpc](http://miniupnp.tuxfamily.org/) tool if you want BitDust automatically deal with UPnPc configuration of your network router so it can also accept incomming connections from other nodes.:
sudo apt-get install miniupnpc
On MacOSX platform you can install requirements in that way:
brew install git python2
And use pip to get all required packages:
pip install –upgrade –user pip install –upgrade pip –user pip install virtualenv –user
On Raspberry PI you will need to install those packages:
sudo apt-get install git gcc python-dev python-virtualenv libffi-dev libssl-dev
#### Get BitDust to your local machine
Second step is to get the BitDust sources. To have a full control over BitDust process running on your local machine you better make a fork of the Public BitDist repository on GitHub at https://github.com/bitdust-io/public and clone it on your local machine:
git clone https://github.com/<your GitHub username>/<name of BitDust fork>.git bitdust
The software will periodically run git fetch and git rebase to check for recent commits in the repo. This way we make sure that everyone is running the latest version of the program. Once you made a fork, you will have to update your Fork manually and pull commits from Public BitDust repository if you trust them.
However if you just trust BitDust contributors you can simply clone the Public repository directly and software will be up to date with the “official” public code base:
git clone https://github.com/bitdust-io/public.git bitdust
#### Building virtual environment
Then you need to build virtual environment with all required Python dependencies, BitDust software will run fully isolated.
Single command should make it for you, all required files will be generated in ~/.bitdust/venv/ sub-folder:
cd bitdust python bitdust.py install
Last step to make BitDust software ready is to make a short alias in your OS, then you can just type bitdust in command line to fast access the program:
sudo ln -s -f /home/<user>/.bitdust/bitdust /usr/local/bin/bitdust
#### Run BitDust
Start using the software by creating an identity for your device in BitDust network:
bitdust id create <some nick name>
I recommend you to create another copy of your Private Key in a safe place to be able to recover your data in the future. You can do it with such command:
bitdust key copy <nickname>.bitdust.key
Your settings and local files are located in that folder: ~/.bitdust
Type this command to read more info about BitDust commands:
bitdust help
To run the software just type:
bitdust
Start as background process:
bitdust daemon
To get some more insights or just to know how to start playing with software you can visit [BitDust Commands](https://bitdust.io/commands.html) page.
To get more info about API methods available go to [BitDust API](https://bitdust.io/api.html) page.
#### Binary Dependencies
If you are installing BitDust on Windows platforms, you may require some binary packages already compiled and packaged for Microsoft Windows platforms, you can check following locations and download needed binaries and libraries:
cygwin: [cygwin.com](https://cygwin.com/install.html)
git: [git-scm.com](https://git-scm.com/download/win)
python2.7 or python3: [python.org](http://python.org/download/releases)
twisted: [twistedmatrix.com](http://twistedmatrix.com)
pyasn1: [pyasn1.sourceforge.net](http://pyasn1.sourceforge.net)
miniupnpc: [miniupnp.tuxfamily.org](http://miniupnp.tuxfamily.org/)
#### Docker Hub container image
You can also run bitdust inside Docker. We prepared a container which have BitDust installed and easy to run. You will have to SSH into the running container after start it and manually configure bitdust as you wish and run it:
docker run -d -P –name bdnode bitdust/app1 docker port bdnode 22 0.0.0.0:32771 <- learn which SSH port was opened on your host
Now you can ssh to the container, password is bitdust:
ssh root@localhost -p 32771 password: bitdust
Inside the container you will have BitDust installed and ready to use, so you can run it directly:
root@1ef6a46c3042:~# bitdust
## Feedback
You can contact [BitDust contributors](https://github.com/bitdust-io) on GitHub if you have any questions or ideas. Welcome to the future!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bitdust-p2p-0.0.3.tar.gz
.
File metadata
- Download URL: bitdust-p2p-0.0.3.tar.gz
- Upload date:
- Size: 908.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04ee568220fd8553bbb814fda1778b3bf417dc83f470bbc6bedf9fa245fad68b |
|
MD5 | ae3dfa2377559b25138a97e543a67492 |
|
BLAKE2b-256 | 5dd4e4727763da0ba2c8a643e9a3e1bff93361ba17b3f793bcd6d4aeddc64576 |
File details
Details for the file bitdust_p2p-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: bitdust_p2p-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e12ef1bf7c427c0365f8188c7d623153eee315bc581e66512855ba56424a01f4 |
|
MD5 | 42723f0c8ef9203ffc86824a65f9f250 |
|
BLAKE2b-256 | c931ba2fb35b8c026c3654ad46b019fd09e292831260b65201dca046ad6bd5d9 |