Coder Social home page Coder Social logo

naikaayush / orange-cloud3 Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 16.64 MB

A fully decentralized compute cloud

License: MIT License

JavaScript 47.54% TypeScript 35.39% HTML 10.60% CSS 0.14% Solidity 1.71% Go 4.61%
web3 go blockchain golang the-graph docker nucypher superfluid ipfs hacktoberfest

orange-cloud3's Introduction

Orange Cloud

Orange Cloud, is an easy to use, decentralized cloud/compute system. You submit a script to be run and it's run by one of the nodes in our network. Or you can provide your idle compute power to be used by people willing to pay for it.

This repository contains the source code for all of the project.

Usage

Requirements

  • Operating system: tested on Linux (Fedora, Debian) and Windows 10/11. Should work on Mac OS too.
  • Docker: necessary to run jobs sandboxed. Refer to this page for installation instructions.
  • IPFS: a local IPFS daemon is necessary to upload scripts and outputs. Refer to this page for installation instructions.
  • node (v14) and npm (v6): temporarily necessary to run the frontend. Can be removed in the future.
  • Golang (1.16): necessary to run the go daemon. Can be removed in the future by distributing the binary.

Start

Start the frontend:

npm install -g @angular/cli
cd client
npm i
ng serve

Start the go daemon (in another terminal):

cd orange-daemon
go run .

Start IPFS daemon (opening the desktop app should suffice) and docker.

Navigate to http://localhost:4200/ in the browser to access Orange Cloud.

Code Structure

  • client: The frontend, implemented in Angular. Contains all of the blockchain/web3 communication and daemon communication.
  • orange-daemon: The daemon, implemented in Golang. This is an HTTP API that runs jobs in docker and communicates with IPFS.
  • subgraph: The Graph hosted service' subgraph specification - YAML, GraphQL schema, mapping script.
  • smart-contracts: Solidity smart contracts that run on the chain.

Architecture

License

MIT

orange-cloud3's People

Contributors

naikaayush avatar psiayn avatar samyak2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fruitbox12

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.