All Projects → tuhinpal → Firecdn

tuhinpal / Firecdn

Licence: Apache-2.0 license
The Low Latency CDN Powered by Firebase

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to Firecdn

Chatify
A Chat Application in Flutter using Firebase. Integrated Agora Video Call SDK to communicate over video call
Stars: ✭ 76 (+280%)
Mutual labels:  firebase-auth, firebase-storage
React Native Firebase Chat
React Native chat application using firebase.
Stars: ✭ 113 (+465%)
Mutual labels:  firebase-auth, firebase-storage
Firebase As3
Integrate Firebase Auth, Realtime Database and Storage in your Adobe AIR projects.
Stars: ✭ 55 (+175%)
Mutual labels:  firebase-auth, firebase-storage
Laravel Firebase
A Laravel package for the Firebase PHP Admin SDK
Stars: ✭ 369 (+1745%)
Mutual labels:  firebase-auth, firebase-storage
Tailor made
✄ Managing a Fashion designer's daily routine.
Stars: ✭ 219 (+995%)
Mutual labels:  firebase-auth, firebase-storage
Rxfirebase
Rxjava 2.0 wrapper on Google's Android Firebase library.
Stars: ✭ 509 (+2445%)
Mutual labels:  firebase-auth, firebase-storage
Flutter twitter clone
Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage
Stars: ✭ 1,123 (+5515%)
Mutual labels:  firebase-auth, firebase-storage
Internalappstore
📦 Manage your own internal Android App Store.
Stars: ✭ 295 (+1375%)
Mutual labels:  firebase-auth, firebase-storage
React Firebase Hooks
React Hooks for Firebase.
Stars: ✭ 2,227 (+11035%)
Mutual labels:  firebase-auth, firebase-storage
Quickstart Cpp
Firebase Quickstart Samples for C++
Stars: ✭ 123 (+515%)
Mutual labels:  firebase-auth, firebase-storage
uMe
Online Chatting Application (Android) || Messaging App || Firebase
Stars: ✭ 138 (+590%)
Mutual labels:  firebase-auth, firebase-storage
Angularfire Lite
⚡️ Lightweight library to use Firebase API 🔥 with Angular
Stars: ✭ 245 (+1125%)
Mutual labels:  firebase-auth, firebase-storage
Firebase Js Sdk
Firebase Javascript SDK
Stars: ✭ 3,844 (+19120%)
Mutual labels:  firebase-auth, firebase-storage
Heal O Chat
Heal-O-Chat is a Social Media Application for people who have been feeling less motivated in life or are losing hope. This platform allows users to chat with people and share their thoughts and feelings with each other and thereby let go of stress, anxiety, and depression that they've been feeling for long.
Stars: ✭ 42 (+110%)
Mutual labels:  firebase-auth, firebase-storage
Firebase Mock
Firebase mock library for writing unit tests
Stars: ✭ 319 (+1495%)
Mutual labels:  firebase-auth, firebase-storage
Firebaserealtimechat
Sample real-time chat application using Firebase
Stars: ✭ 60 (+200%)
Mutual labels:  firebase-auth, firebase-storage
FirebaseChatApp
A Chat app built on firebase features such as firebase-ui,database,storage and cloud messaging
Stars: ✭ 20 (+0%)
Mutual labels:  firebase-auth, firebase-storage
react-firebase-t3chfest
T3chFest 2017 Workshop about React + Firebase
Stars: ✭ 42 (+110%)
Mutual labels:  firebase-auth, firebase-storage
Firebase Php
Unofficial Firebase Admin SDK for PHP
Stars: ✭ 1,657 (+8185%)
Mutual labels:  firebase-auth, firebase-storage
Books jetpack
A sample application to demonstrate how to use Jetpack Architecture Components in an Android Application following the Clean Architecture concepts.
Stars: ✭ 241 (+1105%)
Mutual labels:  firebase-auth, firebase-storage


🔥 F I R E C D N



What's that?

Firecdn is a low latancy cdn using firebase, You can directly upload a file (Authenticated) and share it on internet. It will be pretty much handy and very fast because you can choose your server's location.

Deploy

Deploy is not quite simple. But if you are a tech lover you will definitely enjoy. Deployment is divided into two parts.

1. Setup Firebase

Setup the Firebase is simple. But firebase storage comes without access-control-allow-origin header (CORS) that's why we have to setup the cors.

  • Open Firebase Console
  • Create a New Project (Click on Add Project)
  • Give a Name, and setup the project
  • We have set write on storage only from the authenticated request, that's why we have to setup Firebase Auth. So, click on Authentication in Dashboard and hit Get Started
  • Enable Email/Password method in Sign-in providers
  • Click on users and add an user by entering Email & Password
  • Copy User UID of that created user
  • Now in Project's Dashboard click on Storage, Click on Get Started
  • Click on Next for security rules (Will change it later)
  • For cloud storage location, Setup your nearest location (Check this out) and hit Next
  • Copy the bucket url for later (starts with gs://)
  • Click on Rules and replace it with (Don't forget to add the Copied UID) 👇
rules_version = '2';
service firebase.storage {
  match /b/{bucket}/o {
    match /{allPaths=**} {
      allow read, write: if request.auth.uid == "copied_uid";
    }
  }
}
  • Now everything is ready to go, Now have to setup the cors. For that got to shell.cloud.google.com (Same Account which is used in Firebase)
  • Paste the script in terminal 👇
curl -sSL https://git.io/JqTL4 | bash
  • It will ask for bucket-url (Previously Copied), Paste that and hit enter and you are ready to go

2. Setup Website

  • Firstly fork this Repo (Also give a Star 😁)
  • Open Firebase again, go to that created project and click add an web app
  • Give any name to it
  • It will give you some configuration scripts, Only copy this part like below
var firebaseConfig = {
    apiKey: "AIzaSyB9eBs10atrgeGAI-WQm6UO72lhzmT-vpo",
    authDomain: "thefirecdn.firebaseapp.com",
    projectId: "thefirecdn",
    storageBucket: "thefirecdn.appspot.com",
    messagingSenderId: "707022422419",
    appId: "1:707022422419:web:b51d29ade5652390246866"
  };
  • Edit firebase_config.js
  • Replace with the copied script in marked place
  • Now you can host the website using Vercel / Netlify / Github Pages etc.

License & Copyright :

Connect :

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].