{"id":17888270,"url":"https://github.com/squat/drivefs","last_synced_at":"2025-04-03T02:42:50.043Z","repository":{"id":73956453,"uuid":"127949678","full_name":"squat/drivefs","owner":"squat","description":"Use Google Drive as a static file server","archived":false,"fork":false,"pushed_at":"2018-04-17T00:00:18.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T16:44:33.228Z","etag":null,"topics":["golang","google-drive","http-server","static"],"latest_commit_sha":null,"homepage":"","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/squat.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":"2018-04-03T18:14:43.000Z","updated_at":"2021-08-08T21:06:08.000Z","dependencies_parsed_at":"2023-03-13T20:17:29.952Z","dependency_job_id":null,"html_url":"https://github.com/squat/drivefs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fdrivefs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fdrivefs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fdrivefs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fdrivefs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squat","download_url":"https://codeload.github.com/squat/drivefs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927809,"owners_count":20856193,"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":["golang","google-drive","http-server","static"],"created_at":"2024-10-28T13:36:58.851Z","updated_at":"2025-04-03T02:42:50.021Z","avatar_url":"https://github.com/squat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drivefs\n\ndrivefs allows you to serve static files in your Go application from Google Drive using the familiar http.FileSystem interface.\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/squat/drivefs)](https://goreportcard.com/report/github.com/squat/drivefs)\n[![Documentation](https://godoc.org/github.com/squat/drivefs?status.svg)](http://godoc.org/github.com/squat/drivefs)\n\n## Usage\n\n```go\nimport (\n    \"log\"\n    \"net/http\"\n\n    \"google.golang.org/api/drive/v3\"\n    \"github.com/squat/drivefs\"\n)\n\nfunc main() {\n    ...\n    driveService, err := drive.New(oauthHttpClient)\n    // Handle error.\n    if err != nil {\n        log.Fatal(err)\n    }\n    fs := drivefs.New(driveService)\n    // Simple static webserver:\n    log.Fatal(http.ListenAndServe(\":8080\", http.FileServer(fs)))\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fdrivefs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquat%2Fdrivefs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fdrivefs/lists"}