Is it possible to download the deployed app from firebase? [duplicate] - firebase

This question already has answers here:
Pull lost code from Firebase Hosting deployment
(3 answers)
Closed 4 years ago.
My laptop just died and i didn't have any backup so all my work is lost. I have been working on a web app and i've been using firebase to host it. Is it possible to get back the source code from firebase?

From #Kato
There is no method available to grab your Firebase code. You should be
utilizing your own version control (e.g. git) to manage your revisions
and backups.

If your code was on your laptop without any backups then your code is most likely gone.
For your next projects - start use GIT(github for example)

Related

Hide sensitive data on Firebase Hosting [duplicate]

This question already has answers here:
Can Firebase hosting restrict access to resources?
(2 answers)
Firebase Hosting - Members Only / Secured Webpages? [duplicate]
(1 answer)
Closed 2 years ago.
I am using my react, redux, firebase, Firestore, auth project and uploaded my project on free google Firebase Hosting.
I am newbie
when I goto inspect and check the console and other code.
my code and information still visible to general public like user email and first and last name.
I was thinking npm run build hides everything automatically.
please help me how to hide sensitive data on free Firebase Hosting.
much appreciated.
Everything you deploy to Firebase Hosting is public. There is no way to change this behavior.
If you are worried about your Firebase configuration, that must be public, and it is safe as long as you have security rules correctly in place. See also: Is it safe to expose Firebase apiKey to the public?

Read deployed Firebase cloud function source [duplicate]

This question already has answers here:
Download Firebase Cloud Functions [duplicate]
(1 answer)
Get code from firebase console which I deployed earlier
(6 answers)
Closed 3 years ago.
A teammate deployed a Firebase cloud function to a shared account to which I have access. The source code isn't available to me yet, so I'm wondering if it's possible to read the source of a deployed cloud function (e.g. when logged into an account that has access to the Firebase console).
Does anyone know if this is possible? If so, any pointers on how one can read the source code of a deployed Firebase function would be hugely helpful!
If you have access to the Google Cloud console, you can access and download the source code there. You won't have the full benefit of having something like git access, but you can at least download a zip of the functions and see what's in production.
You can find the source of your functions that are < 512kb in the cloud console control panel here: https://console.cloud.google.com/functions/list?tab=source

How to setup a duplicate project in firebase? [duplicate]

This question already has answers here:
How to clone an existing Firebase project data to another new project?
(3 answers)
Closed 3 years ago.
I would like to create a duplicate project in firebase so that I dont have to go through the hassle of adding the firebase functions and notifications etc. If I could I would just delete all auth users so that its ready for the actual app but I am unable to do that.
So How can I set up a duplicate project but without all the authenticated test users?
There is currently no simple way to duplicate a project. The best you can do is use the management API and the Firebase Admin SDK and Firebase CLI to script the provisioning and setup of the products you use.

How to pull a Firebase Bootstrap website code [duplicate]

This question already has answers here:
Pull lost code from Firebase Hosting deployment
(3 answers)
Closed 1 year ago.
I uploaded a website to Firebase hosting that I created using Bootstrap Studio.
Since it was in a local folder that I lost ( somehow all of my desktop programs disappeared), I tried recovering the deleted files but they are unrecoverable.
All I want is to edit few words and to host a website back online. How can I edit a website code that is hosted on Firebase without pulling the code?
There is nothing built into Firebase Hosting for either downloading the existing assets, or to make (even minor) edits to them.
You should be able to get pretty far by crawling the web site as shown here: Firebase code pull.

Can Meteor be run on a private server and domain name? [duplicate]

This question already has an answer here:
Deploy meteor to own domain
(1 answer)
Closed 9 years ago.
I am trying to use meteor on my existing website. I will be using meteor for a new page on my website. I was wondering if it is possible to implement meteor's api on my own server and domain name and also with my own database (MongoDB).
It is possible to bundle the Meteor application for deployment on your own server.
Check this out http://docs.meteor.com/#meteorbundle
Another way to go is to use https://github.com/julien-c/meteoric.sh
I haven't tried it myself, but intend to. Will post an update whenever I have.
Third option (and one I would strongly consider) is to use a PaaS like AppFog or Heroku.
Here is how you'd do it on AppFog http://blog.philkershaw.me/2012/06/deploy-meteor-to-appfog.html

Resources