GithubHelp home page GithubHelp logo

fuchstim / subframe Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 113 KB

SuBFraMe (Securely Broadcasted Fragmented Messaging) is an entirely decentralized, general purpose communications network

Home Page: https://www.fuchstim.de/subframe

License: Apache License 2.0

Go 100.00%
golang go communication communication-networks communication-protocol decentralized decentralized-web private messaging chat

subframe's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

subframe's Issues

StorageNode Networking

  • Receive Message

  • Push Message to other StorageNodes

  • Report Message to CoordinatorNetwork, check whether Message is to be redistributed

  • Get Message Status from CoordinatorNetwork

  • Export known CoordinatorNodes and StorageNodes

  • Finish NodeConnector

CoordinatorNode - Networking

  • Register Node on CoordinatorNetwork (Socket Communication)

  • Check Status of / test connection to CoordinatorNode

  • 'Vote Kick' CoordinatorNode with weak connection (If the majority of other CoordinatorNodes also rate the Connection to the Node in question as weak, it will be kicked from the CoordinatorNetwork and only function as a StorageNode)

  • Verify that a Message has been received and successfully decrypted, mark it as removable

  • Export known StorageNodes and CoordinatorNodes

General - Node Connector

  • Send HTTP GET Request to StorageNode / CoordinatorNode and get response

  • Send HTTP Post Request to StorageNode

  • Socket Communication to CoordinatorNodes

  • Get Ping of Node

StorageNode - Storage Interface

  • Get Message for ID

  • Put Message with ID

  • Trigger Update of Message Status against CoordinatorNetwork

  • Periodically remove all expired or received messages from local storage

StorageNode - Database

  • Write Message to Disk, log to local Database

  • Update status of locally stored Messages against CoordinatorNetwork

  • Read and Write to / from List of known StorageNodes and CoordinatorNodes

General - Logging

Implement a Logger into the application to make real time logs more informational and readable

  • Log To CLI

  • Log to File

  • Use Error Codes

StorageNode - Bootstrapping

  • Read Settings on Application Start

  • Connect to specified BootstrapNode, gather List of active StorageNodes and CoordinatorNodes

  • Check Status of previously unknown Nodes

  • Write acquired Information to Database

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.