{"id":28323787,"url":"https://github.com/dotslash/cloudsync","last_synced_at":"2025-10-11T02:43:55.706Z","repository":{"id":152112584,"uuid":"497529551","full_name":"dotslash/cloudsync","owner":"dotslash","description":"2 way sync between Google Cloud Storage and laptop","archived":false,"fork":false,"pushed_at":"2022-06-06T05:20:17.000Z","size":7866,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T03:40:38.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dotslash.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-29T08:16:09.000Z","updated_at":"2022-05-29T08:18:02.000Z","dependencies_parsed_at":"2023-05-24T14:15:22.149Z","dependency_job_id":null,"html_url":"https://github.com/dotslash/cloudsync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dotslash/cloudsync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotslash%2Fcloudsync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotslash%2Fcloudsync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotslash%2Fcloudsync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotslash%2Fcloudsync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotslash","download_url":"https://codeload.github.com/dotslash/cloudsync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotslash%2Fcloudsync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005967,"owners_count":26084004,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-05-25T16:14:59.542Z","updated_at":"2025-10-11T02:43:55.689Z","avatar_url":"https://github.com/dotslash.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"2 way sync between Google Cloud Storage (the s3 equivalent for GCP) and a local machine. There are probably other tools\nthat do similar things. Im doing it for fun.\n\n### Current state of things and what's next\n\nThis is a loop forever that step1) 2 syncs data from local machine and gcs. step2) sleep 30 secs. This works more or\nless, except that there are atleast a few things to improve\n\n* While a making GCP apis once in 30 secs is okay, it seems wrong. Dont have a good explanation yet\n* No pagination. I think the GCP SDK i use takes care of that, if the directory is large, i will hold it all in memory.\n  Is this okay?\n* If i start the sync process, it plays safe and removed files will be added back. I can save the last scan state on\n  disk to avoid this.\n* No unit or integration tests. The only testing i did was to sync this repo by using the code here to GCS\n    - `go run *go -remote=gs://\u003cmy gcp bucket\u003e/cloudsync -local=$PWD`\n* support gitignore. E.g in my testing i would have liked to skip the .git directory and .idea directory\n  \u003cimg src=\"https://storage.googleapis.com/yesteapea/9d120347-181b-4d0a-86f5-876c5ad52745.png\"\u003e\n* Support trash\n* Support recovering from an earlier state. Is it possible to give a simple experience? - Something like \"give me state\n  of things as of \u003ctime\u003e from the cloud\". Maybe that's too much.\n Should we do blobstore operations in parallel?\n* Should we do local file operations in parallel?\n\nThere might be more things to do.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotslash%2Fcloudsync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotslash%2Fcloudsync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotslash%2Fcloudsync/lists"}