Skip to content
/ mainstream Public template

Data DAO for slides and presentations owned by event organizations and speakers

License

Notifications You must be signed in to change notification settings

brotherday/mainstream

Repository files navigation

Mainstream

Mainstream is a decentralised file hosting platform for presentations. It can be used to rank speakers and authors, find the most influential people in your space, even attribute and get some feedback from people around the world.

Mainstream is not owned by anyone. It is fully decentralised. You can even run your own node on top on the Filecoin network with your own organization or you can run your own node and access to the public network of presentations.

Design

  • Entity association diagram
    • 1NF
  • Entity relationship diagram
    • 2NF
  • Class diagram
  • Interfaces
  • Starting repository
  • Web design

Implementation

Deployment

  • Service

    • Bacalhau (prefered)

      Only for data

    • Spheron Computer

      • Runs containers
      • Access to HTTP endpoint on ports
        • 80
        • 443

      https://vimeo.com/744703196

  • Infrastructure

    • Docker (prefered)

      Docker

      Docker compose image doesn’t work.

    • Kubernetes (too complicated)

      Docker

      $ docker search docker/desktop-kubernetes
      NAME                                           DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
      docker/desktop-kubernetes                      Kubernetes binaries for Desktop. Compiled fr…   16
      docker/desktop-kubernetes-apiserver            Mirror of selected tags from k8s.gcr.io/kube…   1
      docker/desktop-kubernetes-proxy                Mirror of selected tags from k8s.gcr.io/kube…   0
      docker/desktop-kubernetes-controller-manager   Mirror of selected tags of k8s.gcr.io/kube-c…   0
      docker/desktop-kubernetes-scheduler            Mirror of selected tags of k8s.gcr.io/kube-s…   0
      docker/desktop-kubernetes-etcd                 Mirrors some tags from k8s.gcr.io/etcd          0
      docker/desktop-kubernetes-coredns              Mirror of selected tags of k8s.gcr.io/coredn…   0
      docker/desktop-kubernetes-pause                Mirror of selected tags from k8s.gcr.io/pause   0
  • Images

    • Docker Hub
    • GitHub Packages (prefered)

Artifacts

  • GitHub templates

  • URL

    • Container can run as a cluster
  • Container image

  • Packages

    • GitHub template
    • Go package
    • Yarn package

Features

  • File hosting on Filecoin from smart contracts

    Found a snippet for it

  • UI/UX

    • Hugo

    Introduction to Hugo Templating

    • Tailwind
  • Thread (getAll())

  • Comment thread from Orbit DB

  • Convert text and “binary” files into PDF

Optional features

  • Manage deals
  • Realtime comments
  • Realtime notifications on new comment