Skip to content

cbraz/pomares

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pomares

Pomares is a distributed content distribution system written in python 3 (asyncio) that relies on a closed network of trusted peers.

Features

  • Seed (export) local content
  • Plant (import) remote content
  • Set logical trees
  • Manage peer aliases and public keys
  • Peer-to-peer content

Dependencies

  • Python 3.4+
  • libnacl
  • whoosh
  • cerberus
  • msgpack-python

Installation

pip3 install msgpack-python cerberus Whoosh libnacl
git clone https://github.com/ramaro/pomares.git
alias pomares='python3.4 pomares.py' # optional

Getting Started

Generate keypair

pomares genkey

Display public key and info

pomares about

Run Server

pomares run 

Seed a local directory

pomares seed ~/public_stuff public

Add a peer (example)

pomares pubkey friend1 eYgtH9qbZFiiVbeGxuVpSyGv6HTkBHiROx5siwyaK3E= friend1.host.name:8111

Plant a tree from a peer

pomares plant friend1 his_public_stuff

List planted trees

pomares ls

License

MIT License (see LICENSE)

About

file distribution system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%