{"id":19232638,"url":"https://github.com/makeomatic/ms-files-gce","last_synced_at":"2025-06-22T10:36:41.715Z","repository":{"id":57303939,"uuid":"46566186","full_name":"makeomatic/ms-files-gce","owner":"makeomatic","description":"google cloud storage adapter for ms-files","archived":false,"fork":false,"pushed_at":"2019-02-05T00:10:18.000Z","size":83,"stargazers_count":2,"open_issues_count":12,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-28T22:51:30.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makeomatic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-20T14:21:40.000Z","updated_at":"2018-10-04T19:35:17.000Z","dependencies_parsed_at":"2022-09-20T16:53:07.942Z","dependency_job_id":null,"html_url":"https://github.com/makeomatic/ms-files-gce","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/makeomatic/ms-files-gce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeomatic%2Fms-files-gce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeomatic%2Fms-files-gce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeomatic%2Fms-files-gce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeomatic%2Fms-files-gce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makeomatic","download_url":"https://codeload.github.com/makeomatic/ms-files-gce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makeomatic%2Fms-files-gce/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261280100,"owners_count":23134901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T16:07:00.875Z","updated_at":"2025-06-22T10:36:36.701Z","avatar_url":"https://github.com/makeomatic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ms-files-gce\n\ngoogle cloud storage adapter for ms-files\n\n## Considerations\n\nUseful links:\n\n1. https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload#resumable\n2. https://cloud.google.com/storage/docs/access-control\n3. https://cloud.google.com/storage/docs/json_api/v1/#Objects\n4. https://github.com/GoogleCloudPlatform/gcloud-node#google-cloud-storage\n\n## Workflow\n\n### Uploading\n\nCreate resumable upload on a server, pass session id to the client, let the client complete uploading.\nClient must notify the server when upload is complete. Once it's done - server checks this information and starts\npost-processing\n\n### Downloading\n\n1. Client requests file to download\n2. Server check authentication rights\n3. On success - creates signed URL and returns 302 redirect + URL\n\n### Post-processing\n\nOnce initial file upload is completed - server may post-process the file. Ideally it would create a new file, which would act as a header or footer, save it in the same bucket with similar access rights. After that compose method should be called, which would concatenate files without using extra bandwidth\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakeomatic%2Fms-files-gce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakeomatic%2Fms-files-gce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakeomatic%2Fms-files-gce/lists"}