eashish93 / imgsquash Goto Github PK
View Code? Open in Web Editor NEWSimple image compression full website code written in node, react and next.js framework. Easy to deploy as a microservice.
License: MIT License
Simple image compression full website code written in node, react and next.js framework. Easy to deploy as a microservice.
License: MIT License
Hi,
I have Google Cloud and I want to know how to install, Is there any other place where i install this
I created an account on google cloud but I don't know how to do the setup?
Would love to compress in-browser, does this support that?
Is there any demo available
Can you please tell me how to run this script. Is it possible in github pages or any other hosting plateform. eg - digital ocean.
I copied my .env file to the root and /api/ folder to get an error saying:
/Users/surya/Documents/imgsquash/api/node_modules/@google-cloud/storage/build/src/storage.js:132
throw new Error('A bucket name is needed to use Cloud Storage.');
^
Error: A bucket name is needed to use Cloud Storage.
at Storage.bucket (/Users/surya/Documents/imgsquash/api/node_modules/@google-cloud/storage/build/src/storage.js:132:19)
at Object../src/ctrls/image.js (/Users/surya/Documents/imgsquash/api/build/webpack:/src/ctrls/image.js:20:25)
at __webpack_require__ (/Users/surya/Documents/imgsquash/api/build/webpack:/webpack/bootstrap:19:1)
at Object../src/ctrls/index.js (/Users/surya/Documents/imgsquash/api/build/webpack:/src/ctrls/index.js:1:29)
at __webpack_require__ (/Users/surya/Documents/imgsquash/api/build/webpack:/webpack/bootstrap:19:1)
at Object../src/routes.js (/Users/surya/Documents/imgsquash/api/build/webpack:/src/routes.js:3:27)
at __webpack_require__ (/Users/surya/Documents/imgsquash/api/build/webpack:/webpack/bootstrap:19:1)
at Object../src/index.js (/Users/surya/Documents/imgsquash/api/build/webpack:/src/index.js:8:23)
at __webpack_require__ (/Users/surya/Documents/imgsquash/api/build/webpack:/webpack/bootstrap:19:1)
at Object.0 (/Users/surya/Documents/imgsquash/api/build/main.js:1083:18)
My env file looks like this:
API_VERSION : 1
GC_STORAGE : data.suryad.com
DL_BASE_URL : data.suryad.com/1/dl
My GCS name is data.suryad.com
but am not sure what you mean by API_URL
. Not sure if my setup of my env file is wrong, but I cannot do npm run dev and get it running on localhost:3000.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.