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.
- Entity association diagram
- 1NF
- Entity relationship diagram
- 2NF
- Class diagram
- Interfaces
- Starting repository
- Web design
-
Smart contracts
- DealRewarder.sol (store)
- FilecoinMarketConsumer.sol (retrieve)
-
Store
-
Filecoin
- FilecoinMarketConsumer.sol
- Proposal CID (file encoded as base32)
- dealID returned by provider
- provider who owns the dealId
- FilecoinMarketConsumer.sol
-
REST API
-
nft.storage -
web3.storage -
Lotus JSON RPC
-
-
Library
-
lighthouse (node.js) -
web3.storage -
Filecoin Go JSON RPC github.com/filecoin-project/go-jsonrpc
-
IPLD CARv1 explained
-
-
-
Export to PDF
-
Cloud Convert API https://cloudconvert.com/api/v2
-
-
Template page
- Tailwind
- Go HTTP
-
Orbit-db
- Go-orbit-db
- Comments
- Go-orbit-db
-
ipfs/libp2p
-
github.com/libp2p/go-libp2p-kad-dht
No, too dangerous.
-
-
Ethereum
-
Go bindings with geth
-
-
Service
-
Bacalhau (prefered)Only for data
-
Spheron Computer
- Runs containers
- Access to HTTP endpoint on ports
- 80
- 443
-
-
Infrastructure
-
Docker (prefered)
Docker compose image doesn’t work.
-
Kubernetes (too complicated)
$ 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)
-
GitHub templates
-
URL
- Container can run as a cluster
-
Container image
-
Packages
- GitHub template
- Go package
- Yarn package
-
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
- Manage deals
- Realtime comments
- Realtime notifications on new comment