Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Google Drive Ftp Adapter | 271 | 3 years ago | 18 | lgpl-3.0 | Java | |||||
Google Drive FTP Adapter to connect to google drive through the FTP protocol | ||||||||||
Assent | 233 | 2 | 3 | a month ago | 30 | March 01, 2022 | 6 | mit | Elixir | |
Multi-provider framework in Elixir | ||||||||||
Flysystem Google Drive | 228 | 59 | 16 | 3 years ago | 18 | July 30, 2020 | 24 | mit | PHP | |
Flysystem adapter for Google Drive | ||||||||||
Googleads Mobile Android Mediation | 215 | 5 hours ago | 66 | apache-2.0 | Java | |||||
Sample Android project showcasing how to build a mediation adapter or custom event for the Google Mobile Ads SDK. | ||||||||||
Protobuf Adapter | 186 | 6 years ago | May 24, 2021 | apache-2.0 | Go | |||||
Google Protocol Buffers adapter for Casbin | ||||||||||
Flysystem Google Drive Ext | 144 | 1 | 2 | 3 months ago | 24 | June 24, 2022 | other | PHP | ||
Flysystem adapter for Google Drive with seamless virtual<=>display path translation | ||||||||||
Drive Appdatapreferences Android | 143 | 10 years ago | 7 | apache-2.0 | Java | |||||
Syncs your Android application's preferences to Google Drive's appdata folder. | ||||||||||
Googletestadapter | 124 | 12 | 2 years ago | 28 | February 29, 2020 | 13 | other | C# | ||
Visual studio extension that adds support for the C++ testing framework Google Test. | ||||||||||
Recyclerview Demo | 57 | 8 years ago | 2 | Java | ||||||
Iobroker.google Sharedlocations | 56 | 2 years ago | 6 | September 19, 2018 | 8 | mit | JavaScript | |||
An ioBroker-adapter for retrieving shared locations from Google |
The Parse Server Google Cloud Storage Adapter.
npm install --save @parse/gcs-files-adapter
{
// Parse server options
appId: 'my_app_id',
masterKey: 'my_master_key',
// other options
filesAdapter: {
module: '@parse/gcs-files-adapter',
options: {
projectId: 'projectId',
keyFilename: '/path/to/keyfile',
bucket: 'my_bucket',
// optional:
bucketPrefix: '', // default value
directAccess: false // default value
}
}
}
Set your environment variables:
GCP_PROJECT_ID=projectId
GCP_KEYFILE_PATH=/path/to/keyfile
GCS_BUCKET=bucketName
And update your config / options
{
// Parse server options
appId: 'my_app_id',
masterKey: 'my_master_key',
// other options
filesAdapter: '@parse/gcs-files-adapter'
}
Alternatively, you can use
GCLOUD_PROJECT
and GOOGLE_APPLICATION_CREDENTIALS
environment variables.
var GCSAdapter = require('@parse/gcs-files-adapter');
var gcsAdapter = new GCSAdapter(
'project',
'keyFilePath',
'bucket' , {
bucketPrefix: '',
directAccess: false
}
);
var api = new ParseServer({
appId: 'my_app',
masterKey: 'master_key',
filesAdapter: gcsAdapter
})
or with an options hash
var GCSAdapter = require('@parse/gcs-files-adapter');
var gcsOptions = {
projectId: 'projectId',
keyFilename: '/path/to/keyfile',
bucket: 'my_bucket',
bucketPrefix: '',
directAccess: false
}
var gcsAdapter = new GCSAdapter(gcsOptions);
var api = new ParseServer({
appId: 'my_app',
masterKey: 'master_key',
filesAdapter: gcsAdapter
});
directAccess
: if set to true
, uploaded files will be set as public and files will be served directly by Google Cloud Storage. Default is false
and files are proxied by Parse Server.See the Google Cloud documentation for how to generate a key file with credentials.