{"id":20396839,"url":"https://github.com/emadda/durafetch","last_synced_at":"2025-03-05T01:12:22.250Z","repository":{"id":171127418,"uuid":"647510703","full_name":"emadda/durafetch","owner":"emadda","description":"CLI to download your Cloudflare Durable Objects to a SQLite db.","archived":false,"fork":false,"pushed_at":"2023-06-03T22:25:02.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T17:45:15.594Z","etag":null,"topics":["cloudflare","cloudflare-worker","cloudflare-workers","sqlite"],"latest_commit_sha":null,"homepage":"https://madebyenzo.com/#durafetch","language":"TypeScript","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/emadda.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":"2023-05-31T00:11:15.000Z","updated_at":"2025-02-07T10:21:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7bb0d6db-4c7e-485c-b2e6-c5452b6e9eb8","html_url":"https://github.com/emadda/durafetch","commit_stats":null,"previous_names":["emadda/durafetch"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emadda%2Fdurafetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emadda%2Fdurafetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emadda%2Fdurafetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emadda%2Fdurafetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emadda","download_url":"https://codeload.github.com/emadda/durafetch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241945526,"owners_count":20046869,"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":["cloudflare","cloudflare-worker","cloudflare-workers","sqlite"],"created_at":"2024-11-15T04:09:50.486Z","updated_at":"2025-03-05T01:12:22.245Z","avatar_url":"https://github.com/emadda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Durafetch\n\nDurafetch is a CLI that downloads your Cloudflare Durable Object state to a local SQLite database.\n\nSee [durafetch-server](https://github.com/emadda/durafetch-server) for more details.\n\n\n\n# Usage\n\nAssuming you have added the server side component to your Cloudflare worker:\n\nInstall:\n- `npm install --global durafetch`\n\n\nWrite to `config.json`:\n```\n{\n    \"db_file\": \"./db.sqlite\",\n    \"servers\": [\n        {\n            \"ws_url\": \"wss://durafetch_worker-1.your-domain.com\",\n            \"auth_token\": \"secret_http_auth_bearer_token_replace_this_with_more_than_40_chars\"\n        }\n    ],\n    \"poll\": {\n        \"every_ms\": 1000\n    },\n    \"concurrent_downloads\": 50,\n    \"logging\": {\n        \"ndjson\": false\n    }\n}\n```\n\n\nRun:\n- `durafetch --config-file config.json`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femadda%2Fdurafetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femadda%2Fdurafetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femadda%2Fdurafetch/lists"}