{"id":19478864,"url":"https://github.com/xan105/node-qwebsrv","last_synced_at":"2026-05-16T13:02:36.099Z","repository":{"id":97594096,"uuid":"462422120","full_name":"xan105/node-qwebsrv","owner":"xan105","description":"Quick web server for easy dev with static files and modern web browser and their pseudo security limitation","archived":false,"fork":false,"pushed_at":"2025-08-25T13:06:29.000Z","size":191,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-27T02:26:32.209Z","etag":null,"topics":["nodejs","server","static","web"],"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/xan105.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"patreon":"xan105","custom":"https://www.paypal.me/xan105"}},"created_at":"2022-02-22T18:20:29.000Z","updated_at":"2025-08-25T13:06:32.000Z","dependencies_parsed_at":"2024-05-10T16:44:18.287Z","dependency_job_id":"3aea6a42-4d33-4370-bb22-75de3c5b799c","html_url":"https://github.com/xan105/node-qwebsrv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xan105/node-qwebsrv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-qwebsrv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-qwebsrv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-qwebsrv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-qwebsrv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xan105","download_url":"https://codeload.github.com/xan105/node-qwebsrv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xan105%2Fnode-qwebsrv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33103970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nodejs","server","static","web"],"created_at":"2024-11-10T19:51:45.706Z","updated_at":"2026-05-16T13:02:36.094Z","avatar_url":"https://github.com/xan105.png","language":"JavaScript","funding_links":["https://patreon.com/xan105","https://www.paypal.me/xan105"],"categories":[],"sub_categories":[],"readme":"About\n=====\n\nQuick web server for easy dev with static files and modern web browser and their pseudo security limitation.\n\nInstall \u0026 Usage\n===============\n\n1. Install the package.\n\n```\nnpm i -D @xan105/qwebsrv\n```\n\n2. Configure it by adding a `config` obj in your `package.json`.\n\nHere are the default options:\n\n```js\n{\n  \"config\": {\n    \"host\": \"localhost\",\n    \"port\": 80,\n    \"proxy\": false, /*set to true only if you're behind a reverse proxy \n                     (Heroku, Bluemix, AWS ELB, Nginx, etc)*/\n    \"cors\": true,\n    \"csp\": false, //default secure csp header rules\n    \"root\": \"./docs\", //GitHub Pages\n    \"index\": \"index.html\",\n    \"spa\": false,\n    \"404\": \"404.html\", \n    \"etag\": false,\n    \"maxAge\": \"1m\"\n  }\n}\n```\n\nChange what you need and you can omit the rest.\n\n3. Add a script entry in your `package.json` to start the server.\n\nExample:\n\n```json\n{\n  \"scripts\": {\n    \"start\": \"websrv\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxan105%2Fnode-qwebsrv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxan105%2Fnode-qwebsrv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxan105%2Fnode-qwebsrv/lists"}