{"id":13457359,"url":"https://github.com/svtslv/webdav-cli","last_synced_at":"2025-04-05T11:07:01.202Z","repository":{"id":38613351,"uuid":"244531176","full_name":"svtslv/webdav-cli","owner":"svtslv","description":"A simple zero-configuration command-line webdav server","archived":false,"fork":false,"pushed_at":"2024-08-30T11:03:00.000Z","size":2987,"stargazers_count":263,"open_issues_count":6,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T10:05:30.695Z","etag":null,"topics":["cli","server","webdav"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svtslv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-03-03T03:20:19.000Z","updated_at":"2025-03-26T08:08:07.000Z","dependencies_parsed_at":"2023-02-14T00:01:39.726Z","dependency_job_id":"25b70595-3c06-4015-8eb4-325f4877c54f","html_url":"https://github.com/svtslv/webdav-cli","commit_stats":{"total_commits":66,"total_committers":3,"mean_commits":22.0,"dds":"0.36363636363636365","last_synced_commit":"173c45c5ad5099d976847b749e912bd7fa2e5763"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fwebdav-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fwebdav-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fwebdav-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svtslv%2Fwebdav-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svtslv","download_url":"https://codeload.github.com/svtslv/webdav-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325693,"owners_count":20920714,"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":["cli","server","webdav"],"created_at":"2024-07-31T08:01:41.213Z","updated_at":"2025-04-05T11:07:01.161Z","avatar_url":"https://github.com/svtslv.png","language":"TypeScript","readme":"# WebDAV CLI\n\n\u003ca href=\"https://www.npmjs.com/package/webdav-cli\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/webdav-cli.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/webdav-cli\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/webdav-cli.svg\" alt=\"Package License\" /\u003e\u003c/a\u003e\n\n## Table of Contents\n\n- [Description](#description)\n- [Installation](#installation)\n- [Examples](#examples)\n- [TLS/SSL](#tlsssl)\n- [License](#license)\n\n## Description\nA simple zero-configuration command-line webdav server\n\n## Installation\n\n#### Globally via `npm`\n\n```bash\nnpm install --global webdav-cli\n```\n\n#### Running on-demand:\n\n```bash\nnpx webdav-cli [options]\n```\n\n## Examples\n\n```bash\nnpx webdav-cli --help\n```\n\n```bash\n    'usage: webdav-cli [options]',\n    '',\n    'options:',\n    '  --path       Path to folder [process.cwd()]',\n    '  --host       Host to use [127.0.0.1]',\n    '  --port       Port to use [1900]',\n    '  --digest     Enable digest authentication [basic]',\n    '  --username   Username for basic/digest authentication [random]',\n    '  --password   Password for basic/digest authentication [random]',\n    '  --directory  Show directory listings [false]',\n    '  --autoIndex  Display autoIndex [false]',\n    '  --ssl        Enable https [false]',\n    '  --sslKey     Path to ssl key file [self-signed]',\n    '  --sslCert    Path to ssl cert file [self-signed]',\n    '  --help       Print this list and exit',\n    '  --version    Print the version and exit.',\n    '  --rights     Comma separated values without spaces [all]', `\n        'all', 'canCreate', 'canDelete', 'canMove', 'canRename', \n        'canAppend', 'canWrite', 'canRead', 'canSource', \n        'canGetMimeType', 'canGetSize', 'canListLocks', \n        'canSetLock', 'canRemoveLock', 'canGetAvailableLocks', \n        'canGetLock', 'canAddChild', 'canRemoveChild', \n        'canGetChildren', 'canSetProperty', 'canGetProperty', \n        'canGetProperties', 'canRemoveProperty', 'canGetCreationDate', \n        'canGetLastModifiedDate', 'canGetWebName', 'canGetType'`,\n    'env:',\n    '  WEBDAV_CLI_PATH, WEBDAV_CLI_HOST, WEBDAV_CLI_PORT,',\n    '  WEBDAV_CLI_USERNAME, WEBDAV_CLI_PASSWORD, WEBDAV_CLI_DIGEST,',\n    '  WEBDAV_CLI_SSL, WEBDAV_CLI_SSL_KEY, WEBDAV_CLI_SSL_CERT,',\n    '  WEBDAV_CLI_DIRECTORY, WEBDAV_CLI_AUTO_INDEX, WEBDAV_CLI_RIGHTS',\n    '  WEBDAV_CLI_DISABLE_AUTHENTICATION',\n```\n\n## TLS/SSL\n\nFirst, you need to make sure that openssl is installed correctly, and you have `key.pem` and `cert.pem` files. You can generate them using this command:\n```bash\nopenssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem\n```\nUse `127.0.0.1` as value for `Common name` if you want to be able to install the certificate in your OS's root certificate store or browser so that it is trusted.\n\nThen you need to run the server with `--ssl` for enabling SSL and `--sslKey=key.pem --sslCert=cert.pem` for your certificate files.\n\n## License\n\nMIT\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvtslv%2Fwebdav-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvtslv%2Fwebdav-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvtslv%2Fwebdav-cli/lists"}