Giter Club home page Giter Club logo

picloud's Introduction

Private Home Cloud using RaspberryPI

Create your own Private home cloud on a Raspberry Pi.

cli version go version go cover go report license

⚡️ Quick start

piCloud currently uses

  • A version of https://filebrowser.org/; with some changes to make it work on Raspberrypi
  • Sendgrid APIs to send emails
  • https://ngrok.com/ to generate a dynamic public URL, so that you can access the Raspberry PI cloud from anywhere
  • 🐳   Docker to keep the service up and running

As a first step you need to have a Raspberry Pi with an Operating System

Install Docker on your RaspberryPi.

Installing Docker

# update your apt repos
sudo apt-get update && sudo apt-get upgrade

# download a cool script to install docker for you
curl -fsSL https://get.docker.com -o get-docker.sh

# run the script and follow instructions
sudo sh get-docker.sh

# Add use Pi to docker user group
sudo usermod -aG docker pi

# make sure latest version of docker is installed
docker version

SendGrid API Access

In order to make your Home Cloud on Raspberry Always accessible, when the service starts, it registers to https://ngrok.com/ for a SSH Tunnel. The public URLs generated by https://ngrok.com/ are dynamic in its free version. So we use Sendgrid APIs to send you/admin of the Cloud an email with the currently active public URL. In case you intend to use a Paid version of https://ngrok.com/, this step is optional.

Note - You could use your gmail/public email to begin with

IMAGE ALT TEXT HERE

Setup ngrok

Your RaspberryPi can not be accessed publicly unless you have a static IP address. Dont worry, ngrok is here for rescue. Create a free account with ngrok - https://dashboard.ngrok.com/get-started/setup. Copy the auth token and keep it, we need it in next steps.

⚙️ Installation

If you followed steps in Quick Start, you are just one command away from installing your own Private cloud on Raspberry PI

docker run -d --env NGROK_AUTHTOKEN={ngrok_Authtoken} --env SG_APIKEY={sg_key} --env ADMIN_EMAIL={admin/sg verified email} samairtimer/homecloud:v0.3

Support Me

"Buy Me A Coffee"

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.