Giter Site home page Giter Site logo

pugdit's Introduction

pugdit

A kind of bulletin board system with an emphasis on decentralization.

How it works

Discovers other peers over IPFS. Once other peers are discovered, IPNS is used to locate a manifest of signed posts to be considered for replication. Nodes act as moderators by ignoring or favoring posts for replication. Policies work to optimize the "mail route" to weed out bad actors and favor nodes with worthy original content.

Development

To get started with development, use docker compose:

docker-compose up -d
docker-compose run cli migrate
docker-compose run cli createsuperuser
docker-compose run cli mailcarrier

While the docker web service is running, also run the yarn dev service:

cd pugboat
yarn serve

Folders

pugboat Vue client

pugdit Django server

The vue client is served as a SPA by Django. API calls are made using GraphQL.

Nexus

An IPFS node that is publishing using pugdit. Often referred to as a node in this project.

Identities

Identities are one-to-one with elliptic signing keys. A node may associate multiple identities to a single account, representing different signing sources of the same user.

Signed Posts

A post is comprised of a to address and an IPFS link. A signed post is a message packed tuple of those values signed by an identity. To display a post nicely, they are formatted as rfc2822.

Manifests

Manifests are message packed dictionaries of signed messages and identity public keys. A node may accept or reject new identities from another node.

Karma

Every node, post, and identity has associated karma. Nodes with negative karma will not accept new identities. Identities with large negative karma will not have their posts accepted. TODO: more to come.

pugdit's People

Contributors

zbyte64 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cjrutherford

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.