https://github.com/jauntybrain/firebase-dynamic-thumbnail
https://github.com/jauntybrain/firebase-dynamic-thumbnail
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jauntybrain/firebase-dynamic-thumbnail
- Owner: jauntybrain
- Created: 2023-08-04T01:11:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-26T08:31:30.000Z (over 2 years ago)
- Last Synced: 2025-01-02T09:46:25.515Z (about 1 year ago)
- Language: HTML
- Size: 419 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Creating Dynamic Thumbnails with Firebase

This project aims to demonstrate how to generate and serve dynamic image thumbnails using Firestore, Cloud Storage, Hosting, and Cloud Functions.
# Installation
To get started with this project, follow these simple steps:
## Clone the repository:
```
git clone https://github.com/jauntybrain/firebase-dynamic-thumbnail.git
```
## Install the required dependencies:
```
cd firebase-dynamic-thumbnail/functions
npm install
```
## Configure Firebase:
Ensure you have set up a Firebase project and initialized it in the Firebase CLI.
> To find out more, follow the [tutorial](coming-soon.com).
## Additional setup:
If you are using macOS, you have to follow additional steps for node-canvas to work. Run the following commands:
```
brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman
xcode-select --install
```
## Deploy the Firebase Cloud Functions:
```
npm run deploy
```