{"repo":"cube-root/directory-serve","free":true,"listed":false,"github":"https://github.com/cube-root/directory-serve","clone":"git clone https://github.com/cube-root/directory-serve.git","description":"CLI tool to send and receive file on a network to a server","language":"JavaScript","stars":426,"topics":["cli","directory","filesystem","nodejs","send","server","static"],"license":"MIT","category":"cli-tools","readme_excerpt":"Directory Serve Directory Serve is a CLI tool for securely browsing, sending, and receiving files between computers, Android devices, and iOS devices on the same network. Installation This is a Node.js module available through the npm registry. Installation is done using the npm install command: Quick start Without a global installation: Share one file: The command prints a local URL and QR code. Open the URL on a device connected to the same network. Command reference Option Default Description --- --- --- -p , --port 8989 HTTP port used by the server. -u , --uploadFile true Enable or disable uploads. Use --uploadFile=false for read-only sharing. --username none Require HTTP Basic Authentication with this username. --password none Password used with --username . --delete false Allow clients to remove files and folders. --max-upload-mb 100 Maximum size of each uploaded file in megabytes. --allowed-types all Comma-separated upload extension allowlist without dots. --upload-rate-limit 30 Maximum upload requests per client per minute. --debug false Print additional diagnostic information. --help — Display command help. --version — Display the installed version. Boolean options accept forms such as --delete , --delete=true , and --uploadFile=false . Command examples Share the current directory: Use a different port: Create a read-only share with uploads and deletion disabled: Allow clients to upload and delete content: Require a username and password: Limit each uploaded file to ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cube-root","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cube-root/directory-serve/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}