Harryman / hashd

0 stars 1 forks source link

Namespacing and social canonicalization #15

Open Harryman opened 5 years ago

Harryman commented 5 years ago

With #D the structure of apps is that all data goes through the #D client and then is forwarded on to an app, a database, etc... being ran locally or on a remote trusted computer.

So we don't have to reinvent anything and allows us to reuse and adapt existing app to the platform while still using a normal http structure where we can link between apps we want to emulate DNS without a global canonical state.

Either the dashboard or #D itself will interact with nginx to force downgrade eveything that is local so we can man in the middle dns


                                                        localhost----------local web browser
                                                            |
                                                            |
                                                            |
                            +--------------------------+----+----+-------------------------+
+--torctrl-+-------+        |                          |  nginx  |                         |
|          |  tor  +--------+            +-------------++-----+--+----------------------+  |
| +--------+-------+                     |              |     |                         |  |
| |                                +-----+     +--------+ +---+----+                    |  |
| |                                |           |          |  riot  +------------+       |  |
| |            +-------------------+      +----+---+      +--------+      +-----------+ |  |
| |            |                          |  gogs  +---+              +---+  matrix   | |  |
| |            |                          +--------+   +-------+      |   +-----------+ |  |
| |   +--------+-----                                          |      |                 |  |
| |   |  dashboard  +------------------------------------+     |  +---+   +-------------+  |
| |   +--+----------+                                    |     |  |       |  innotrade  |  |
| |      |                                               +-----+--+-+     +-----+-------+  |
| |      |  +--------------------------------------------+          |           |          |
| |      |  |                                            | Postgres |           |          |
| |      |  |        +----------------------+            |          +--------+  |          |
| |      |  |     +--+  matrix auth plugin  +---------+  +----+-----+        |  |          |
| |    +-+--++    |  +----------------------+         |       |              |  |          |
| |    |     +----+                                   |       |              |  |          |
| +----+ #D  |        +--------------------+         ++-------+-----------+  |  |  +-------+---+
|      | (0) +--------+  gogs auth plugin  +---------+  postgres ser/des  |  |  |  |  OpenSSH  |
+------+---+-+        +--------------------+         +--------------------+  |  |  +-----+-----+
           | |                                                               |  |        |
           | |      +-------------------------+          +------------+      |  |        |
           | +------+  innotrade auth plugin  +----------+   graphQL  +------+  |        |
           |        +-------------------------+          +----------------------+        |
           |                                                                             |
           |           +-------------------+           +---------------+    +-------+    |
           +-----------+  git auth plugin  +-----------+  git ser/des  +----+       |    |
                       +-------------------+           +---------------+    |  Git  +----+
                                                                            |       |
                                                                            +-------+