GithubHelp home page GithubHelp logo

simbadmarino / dcloud Goto Github PK

View Code? Open in Web Editor NEW
24.0 7.0 5.0 12.46 MB

dCloud: Web3 Cloud Storage App

License: MIT License

JavaScript 4.04% Java 5.41% C 0.79% Swift 0.44% Ruby 1.60% Objective-C 2.22% TypeScript 82.85% CMake 0.95% C++ 0.45% Objective-C++ 1.25%
dcloud cloudstorage btfs ipfs tron-protocol web3

dcloud's Introduction

dCloud

Brought to you by cctechmx

“Secure, seamless, fully decentralized”

Project goal: Bring decentralized cloud storage (BTFS) to the masses by creating intuitive and Open Source apps for mobile, desktop and web

dCloud short/medium term roadmap in 2022:

  • Introduce an intuitive and portable way of uploading files to BTFS (iOS + Android). --> Done
  • Bring mobile apps to Google Play and App Store --> Done (Open Test)
  • Bring dCloud to desktop environments (macOS and Windows) --> Partially done, Windows still pending

dCloud is basically an Integration of a BTFS shared library + React Native/Expo GUI.

Getting started

Currently dCloud is only available for the following platforms:

  • Android
  • iOS (Iphone, macOS, iPAD)
  • Windows (experimental)

Build & Run sequences in development environments:

ANDROID

Note: Due to a long unsolved issue with go net we need to perform additional steps to build jniLibs for Android. Before proceeding with dCloud build you need to do the following:

  1. Download applicable go source code from: https://go.dev/dl/

  2. Replace the following files:

    interface_linux.go: http://gateway.btfs.io/btfs/QmUv5nBEvJ44UYUpsGmhXeuHDhUBUnNQefNLuUvTamgnCa

    netlink_llinux.go: http://gateway.btfs.io/btfs/QmVJpjBdFn4NPnjwEhPLVy8LaKuHTtA9FNgumYLJRBU22m

    into the go/src directory

  3. Compile golang distribution by entering src folder and sending ./all.bash in a terminal.

  4. Update GOROOT envvar by sending: export GOROOT=/path/to/your/modified/go/folder (e.g. export GOROOT=/Users/user1/Documents/go)

  5. Compile btfs-shared-library as usual.

Now building dCloud project:

  1. git clone dCloud repository
  2. Using your favorite terminal go to dcloud project root folder and perform yarn install. This will download and install all reac-native requirements in the "node modules" folder
  3. Open dCloud project ("android" folder inside dCloud root folder) in Android Studio.
  4. Copy the JNI folder you already created using the btfs-shared-library repo into android/app/src/main folder
  5. Build Solution. This will configure your Android project and download all dependencies
  6. Run either on simulator or physical device

iOS

  1. git clone dCloud repository
  2. Using your favorite terminal go to dcloud project root folder and perform yarn install. This will download and install all reac-native requirements in the "node modules" folder
  3. Run pod install under the "ios" folder.
  4. Open dCloud project ("ios" folder inside dCloud root folder) in XCode.
  5. Copy the btfs.a and btfs.h library and header files (obtained from btfs-shared-library repo) into your Xcode project using drag and drop function (you have to create such libs using btfs-shared-library repo)
  6. Build Solution. This will configure your iOS project and download all dependencies
  7. Run in a physical environment (currently emulators haven't been tested)

WINDOWS

  1. Install requirements as per https://microsoft.github.io/react-native-windows/docs/rnw-dependencies
  2. git clone dCloud repository
  3. Using your favorite terminal go to dcloud project root folder and perform yarn install. This will download and install all reac-native requirements in the "node modules" folder
  4. npx react-native-windows-init --overwrite
  5. npx react-native run-windows

React Native configuration: "react": "18.2.0", "react-native": "0.72.7",

"expo": "49.0.0"

these versions were tested and currently working, any other version might have some unknown issues

b) USING A RELEASE FROM GITHUB

APKs for Android are available for each release.

Google Play : https://play.google.com/store/apps/details?id=com.justshare

iOS TestFlight: https://testflight.apple.com/join/kugM5YlC

If you are looking for some video tutorials please follow us on our Youtube channel:

https://www.youtube.com/channel/UC2Wgz3cwS2RtZzT71pPvwlw

Or contact us trough X:

@dCloudStorage

CODE CONTRIBUTORS NOTES

Important Notice:

Pull Requests are welcome! , fork this repo, make your updates, push them into your repo and create pull request :)

Donations

dCloud is currently mantained by volunteers, a couple of crypto to buy some coffe is well received =)

TRON Address: TXQJCQnUNW73vzd4koeZKdzChfKWv8J9G5

Strategic Partners

dcloud's People

Contributors

simbadmarino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcloud's Issues

Hash e instrucciones de inicialización a la app

Como primer punto seria que la hora de subir algún archivo a btfs no solo del hash que comienza por "Qm..." si no, que genere el link directo para compartirlo o tenerlo a salvo y entrar a descargar en cualquier momento, ejemplo:

que genere este link
https://gateway.btfs.io/btfs/QmUPTiFPiJW932ejkMKCm7JwMBWYisWPrzYJDe4AJ4Zxij

y no solo el hash QmUPTiFPiJW932ejkMKCm7JwMBWYisWPrzYJDe4AJ4Zxij

Como segundo punto, incluir un botón que abra como un texto instructivo de inicialización por primera vez a la app, que guie al usuario por una serie de pasos, desde configurar para activar el sistema btfs como luego a que haga el depósito de los btt y posteriormente los swaps para recargar saldo al la wallet vault y luego si usar subir los archivos...

Acceso a la app mediante huella / pin

ingresando a hacer pruebas correspondientes en el apartado de seguridad de la app, he activado el pin y la huella como medidas de acceso a la app

encontrando que al momento de ingresar a la app no me pide la huella, solo me pide el pin

seria mas intuitivo y fácil que al momento de ingresar a la app pidiera la huella y que en tal caso de que no tomara la huela en 5 intentos o mas por establecer de su parte, entonces que se activara el acceso de pin

adjunto hash del video captura de pantalla en dCloud

QmYFJrAbYAPFRuAC4EGbh7jknW3xuKst9R3G6AVLWQNNQ2

dCloud is crashing when btfs binary is running

dCloud app (GUI & terminal) is crashing after several hours of continuous operation

Step to reproduce:

  1. Start the app
  2. Start btfs using btfs daemon
  3. Wait for several hours

Expected results:
dCloud GUI and terminal service keep working

Actual results:
dCloud and terminal service suddenly stop working without any error popup.

*Note: LogCat pending to be uploaded

Error al iniciar dCloud, intermitencia dWeb, visualización archivos dBrowser/dWeb

adjuntare una grabación de pantalla con los tres problemas que presenta

  1. Error en la conexión del nodo por segundos y ya luego se conecta perfectamente

  2. luego de conectado el nodo, me voy a dWeb para ver la información del nodo y la pagina me presenta intermitencia y no actualiza informaciom, tuve que refrescar 3 veces para que diera la informacion

  3. error en la visualización de los archivos que se ven desde el apartado de dWeb a comparación con los archivos que estan subidos desde la carpeta de prueba creada para subir archivos usando a dCloud como almacenamiento descentralizado

dejo adjunto el hash del video montado en dCloud porque pesa 40mb

QmUPTiFPiJW932ejkMKCm7JwMBWYisWPrzYJDe4AJ4Zxij

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.