{"id":15940933,"url":"https://github.com/justjavac/dl-deno-sync","last_synced_at":"2026-05-17T09:32:52.601Z","repository":{"id":65976790,"uuid":"437786641","full_name":"justjavac/dl-deno-sync","owner":"justjavac","description":"同步 Deno 的最新版本到 dl.deno.js.cn","archived":false,"fork":false,"pushed_at":"2023-11-29T03:16:22.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-09T09:12:40.413Z","etag":null,"topics":["deno"],"latest_commit_sha":null,"homepage":"https://dl.deno.js.cn","language":"Shell","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/justjavac.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":"2021-12-13T08:07:42.000Z","updated_at":"2024-04-09T20:48:14.000Z","dependencies_parsed_at":"2024-10-29T13:48:17.331Z","dependency_job_id":null,"html_url":"https://github.com/justjavac/dl-deno-sync","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"4057d46c8d14cf8d436e427aa29a4d0e4b7de943"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdl-deno-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdl-deno-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdl-deno-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdl-deno-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justjavac","download_url":"https://codeload.github.com/justjavac/dl-deno-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247078863,"owners_count":20879952,"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":["deno"],"created_at":"2024-10-07T07:01:45.361Z","updated_at":"2025-10-29T04:25:22.887Z","avatar_url":"https://github.com/justjavac.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dl-deno-sync\n\n\u003e 同步 Deno 的最新版本到 https://dl.deno.js.cn\n\n1. 安装 coscli 工具\n\n   ```shell\n   wget https://github.com/tencentyun/coscli/releases/download/v0.10.2-beta/coscli-linux\n   chmod 755 coscli-linux\n   sudo cp coscli-linux /usr/local/bin/coscli\n   ```\n\n   安装完成后需要[配置参数](https://cloud.tencent.com/document/product/436/63144)\n\n1. 安装 sync 脚本\n\n   ```shell\n   wget https://cdn.jsdelivr.net/gh/justjavac/dl-deno-sync/sync.sh\n   chmod 755 sync.sh\n   sudo cp sync.sh /usr/local/bin/dl-deno-sync.sh\n   sudo ln -s /usr/local/bin/dl-deno-sync.sh /usr/local/bin/dl-deno-sync\n   ```\n\n1. 自动同步\n\n   添加定时任务 crontab。\n\n   ```sh\n   crontab -e\n   ```\n\n   输入\n\n   ```txt\n   */5 * * * * root dl-deno-sync\n   ```\n\n## 说明\n\n计划任务语法有 5 个字段，中间用空格分隔，每个字段代表一个时间单位。\n\n```plain\n┌───────────── 分钟 (0 - 59)\n│ ┌───────────── 小时 (0 - 23)\n│ │ ┌───────────── 日 (1 - 31)\n│ │ │ ┌───────────── 月 (1 - 12 或 JAN-DEC)\n│ │ │ │ ┌───────────── 星期 (0 - 6 或 SUN-SAT)\n│ │ │ │ │\n│ │ │ │ │\n│ │ │ │ │\n* * * * *\n```\n\n每个时间字段的含义：\n\n| 符号  | 描述   | 举例                                |\n| --- | ---- | --------------------------------- |\n| `*` | 任意值  | `* * * * *` 每天每小时每分钟              |\n| `,` | 值分隔符 | `1,3,4,7 * * * *` 每小时的 1 3 4 7 分钟 |\n| `-` | 范围   | `1-6 * * * *` 每小时的 1-6 分钟         |\n| `/` | 每    | `*/5 * * * *` 每隔 5 分钟             |\n\n## License\n\n[dl-deno-sync](https://github.com/justjavac/dl-deno-sync) is released under the\nMIT License. See the bundled [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustjavac%2Fdl-deno-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustjavac%2Fdl-deno-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustjavac%2Fdl-deno-sync/lists"}