{"id":20460630,"url":"https://github.com/spencerjibz/fileserver","last_synced_at":"2026-04-19T00:07:29.904Z","repository":{"id":98530950,"uuid":"249316781","full_name":"spencerjibz/fileServer","owner":"spencerjibz","description":"A simple command line tool that initiates a static-asset http server in specified directory. Inspired by the Pythons Http module (http.server method)","archived":false,"fork":false,"pushed_at":"2023-10-31T04:49:26.000Z","size":49720,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-16T00:34:36.028Z","etag":null,"topics":["cli","commanderjs","filesever","nodejs","server"],"latest_commit_sha":null,"homepage":"","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/spencerjibz.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":"2020-03-23T02:26:15.000Z","updated_at":"2022-08-28T19:23:27.000Z","dependencies_parsed_at":"2025-01-16T00:18:29.091Z","dependency_job_id":"c469841a-fc3f-470c-9f26-6594605770ef","html_url":"https://github.com/spencerjibz/fileServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerjibz%2FfileServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerjibz%2FfileServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerjibz%2FfileServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerjibz%2FfileServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spencerjibz","download_url":"https://codeload.github.com/spencerjibz/fileServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242016145,"owners_count":20058169,"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","commanderjs","filesever","nodejs","server"],"created_at":"2024-11-15T12:20:49.286Z","updated_at":"2026-04-19T00:07:29.874Z","avatar_url":"https://github.com/spencerjibz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FileServer\n\n[![Node.js CI](https://github.com/spencerjibz/fileServer/actions/workflows/node.js.yml/badge.svg)](https://github.com/spencerjibz/fileServer/actions/workflows/node.js.yml)\n\nA simple command line tool that initiates a static-asset http server in specified directory. Inspired by the Pythons Http module (http.server method)\n\n### Requirements for usage\n\n- Nodejs (v6.x and higher)\n- git\n- node-gyp ( maybe not be necessary). for installation of Sqlite3 binding for nodejs\n\n### Installation\n\nclone the repo(run the command below with in powershell,cmd or bash) or download zipped folder(if you've download the zip folder just run npm install).\u003cbr\u003e\n\n` git clone https://github.com/spencerjibz/fileServer.git \u0026\u0026 cd  fileServer \u0026\u0026 npm install`\n\n### Features\n\n- logs all responses and status codes\n- Opens the browser with start command.\n- Cross platform (Windows and Linux-based systems)\n- stops all instances running with the kill command()\n\n### Usage\n\n```Usage: app [options] [command]\n\nOptions:\n  -V, --version      output the version number\n  -h, --help         output usage information\n\nCommands:\n  start|s [options]   starts a file server in a given directory or current directory by default\n  kill|k             stops all instances of the fileServer active\n\n```\n\n![](https://raw.githubusercontent.com/spencerjibz/fileServer/master/assets/general.gif)\n\n### key Facts on Usage\n\n1.**Start Command**: \u003cbr\u003e\n\n```\n starts a file server in a given directory or current directory by default\n\nOptions:\n  -d,--dirName [value]    The directory served\n  -p,--port [value]       The port for server, default port is 7000\n  -N,--noBrowser [value]  disable opening the browser,default is false\n  -h, --help              output usage information\n\n```\n\nStart fileServer and open browser . This is the default setting\n![](https://raw.githubusercontent.com/spencerjibz/fileServer/master/assets/startCommand.gif)\n\nStart fileServer without opening browser\n\n![](https://raw.githubusercontent.com/spencerjibz/fileServer/master/assets/NobrowserCommand.gif)\n\n2.**Kill Command**: \u003cbr\u003e\n\n```\nstops all instances of the fileServer active\n\nOptions:\n  -h, --help  output usage information\n\n```\n\n![](https://raw.githubusercontent.com/spencerjibz/fileServer/master/assets/killCommand.gif)\n\n3.**Usage illustration**\u003cbr\u003e\n\n![](https://raw.githubusercontent.com/spencerjibz/fileServer/master/assets/Crd.gif)\n\nEnjoy the rest of the features\n\n### Testing\n\nEnsure that atleast one instance of the fileServer is running before running the command below.\u003cbr\u003e\n` cd file Server \u0026\u0026 npm test`\n![](https://raw.githubusercontent.com/spencerjibz/fileServer/master/assets/tests.gif)\n\n### License\n\n[MIT](https://github.com/spencerjibz/fileServer/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencerjibz%2Ffileserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspencerjibz%2Ffileserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencerjibz%2Ffileserver/lists"}