{"id":15138380,"url":"https://github.com/kevinofneu/rocket","last_synced_at":"2025-09-29T06:31:37.146Z","repository":{"id":57355550,"uuid":"74748171","full_name":"KevinOfNeu/rocket","owner":"KevinOfNeu","description":"NetDisk in command line.","archived":true,"fork":false,"pushed_at":"2017-03-21T03:24:49.000Z","size":30,"stargazers_count":42,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-15T16:39:09.569Z","etag":null,"topics":["baidu","cli","netdisk","parser","qiniu","rocket"],"latest_commit_sha":null,"homepage":"http://rocket.js.org","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/KevinOfNeu.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":"2016-11-25T10:19:30.000Z","updated_at":"2023-01-04T07:34:51.000Z","dependencies_parsed_at":"2022-09-26T16:31:40.586Z","dependency_job_id":null,"html_url":"https://github.com/KevinOfNeu/rocket","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinOfNeu%2Frocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinOfNeu%2Frocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinOfNeu%2Frocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinOfNeu%2Frocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KevinOfNeu","download_url":"https://codeload.github.com/KevinOfNeu/rocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234597574,"owners_count":18857980,"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":["baidu","cli","netdisk","parser","qiniu","rocket"],"created_at":"2024-09-26T07:22:56.261Z","updated_at":"2025-09-29T06:31:36.870Z","avatar_url":"https://github.com/KevinOfNeu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rocket\n==================\n[![Build Status](https://travis-ci.org/KevinOfNeu/rocket.svg?branch=master)](https://travis-ci.org/KevinOfNeu/rocket)\n[![npm](https://img.shields.io/npm/l/express.svg)]()\n\n\n![logo](./rocket.png)\n\nSelf hosted netdisk, pure command line tool to to pull or pull  files with Qiniu cloud.\n\n## Features\n- Fully command line operation!\n- 100% self host.\n- Support custom storage provider with Qiniu(七牛).\n- Support index files with regex expression.\n- Expressive command lines\n- Easy config and use\n- ...\n\n## Screenshots\nSoon!\n\n## Installation \u0026 Preparation\n`$ brew install node`\n\n### 1. Register Qiniu(七牛) storage provider\n[Register a free Qiniu account](http://www.qiniu.com/). Then create a new bucket.\n![](http://7xr586.com1.z0.glb.clouddn.com/images/mjqq2.jpg)\n\n![](http://7xr586.com1.z0.glb.clouddn.com/images/r8afv.jpg)\n\nTake bucket name down, then get accessKey and secretKey.\n\n![](http://7xr586.com1.z0.glb.clouddn.com/images/7625i.jpg)\n\nFinally, get your domain:\n![](http://7xr586.com1.z0.glb.clouddn.com/images/uijo8.jpg)\n\nTake accessKey, secretKey domain and bucket name down, we will use it when config rocket :P.\n\n### 2. CLI\n\n`$ npm install  -g rocket-cli`\n\nAfter installation, type:\n\n`$ rocket -h`\n\nSucceed if you see the following tips.\n```\n  Usage: rocket [options] [command]\n\n  Commands:\n\n    init [options]           Init config file\n    config [options] [show]  Config Qiniu bucket, domain, access key and secret key\n    add [options]            Add dir or files to index\n    push [options]           Push files to Qiniu cloud\n    ls [options]             List files from local index\n    pull [options] \u003ckey\u003e     Pull file from Qiniu cloud\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n```\n\n## Commands \u0026 Usage\n\n### Init config file\n`$ rocket init`\n\nIf the config file already exists, you can use `-o` or `-overwrite` options to overwrite the old one.\n\nThe config file locates at `~/.rocket.json`.\n\n### Config storage provider\n`$ rocket config -b \u003cyour bucket name\u003e -a \u003cyour accessKey\u003e -s \u003cyour secretKey\u003e -d \u003cdomain\u003e`\n\n### Show config\nList your cnfiguration.\n\n`$ rocket config show`\n\n### Add files to local index\n`$ rocket add -d \u003cdirectory\u003e -r -f \u003cregex expression\u003e`\n\n`-r` means recursively add files in sub directories.\n\n`-f` can set filters using regex expression, use `.` for all files.\n\n### Push files in local index to cloud\n`$ rocket push -m [max upload workers. defailt = 5]`\n\n`-m` set the maximum number of upload workers.\n\n### List all indexed files\n`$ rocket ls -o [offset] -l [limit]`\n\nYou can use `-o` and `-l` to set proper offset and limit if there are too much files in local index.\n\n### Pull\n`$ rocket pull -d [destination] \u003ckey\u003e`\nThis command will download  file searched by key to destination directory, default directory is where this file uploaded.\n\n## How dose it work?\n*SOON!*\n\n## TODO\n- [x] Add timestamp when upload\n- [x] Pull files to local(with default localPath).\n- [ ] Examples \u0026 Articles\n- [ ] Add rocket restore command（next version）\n- [ ] Support multi config file.\n- [x] Some default params.\n- [x] Support pull file(s) to certain directory.\n- [ ] Support multi object storage provider.\n- [ ] Code refactor.\n- [ ] Test case needed.\n\n## Release Note\n- [0.0.6] Add pull files function; Remove unneed command; Add show config operation; Add timestamp;\n\n## Contribute\nPR and issues are welcomed! Join and make it better!\n\n## Info/Support\nEmail kevin@bless4.me for support!\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinofneu%2Frocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinofneu%2Frocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinofneu%2Frocket/lists"}