{"id":18153425,"url":"https://github.com/thinknathan/node-simple-serv","last_synced_at":"2025-10-18T21:14:42.963Z","repository":{"id":214716103,"uuid":"737132348","full_name":"thinknathan/node-simple-serv","owner":"thinknathan","description":"Simple local server on command line","archived":false,"fork":false,"pushed_at":"2025-02-01T04:23:24.000Z","size":835,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T06:37:12.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thinknathan.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":"2023-12-29T23:24:45.000Z","updated_at":"2025-02-01T04:23:28.000Z","dependencies_parsed_at":"2023-12-30T07:51:44.250Z","dependency_job_id":"5a94b373-365b-4f75-bcbc-2584e4f95e54","html_url":"https://github.com/thinknathan/node-simple-serv","commit_stats":null,"previous_names":["thinknathan/node-simple-serv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fnode-simple-serv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fnode-simple-serv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fnode-simple-serv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fnode-simple-serv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinknathan","download_url":"https://codeload.github.com/thinknathan/node-simple-serv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574097,"owners_count":20960495,"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":[],"created_at":"2024-11-02T03:06:59.582Z","updated_at":"2025-10-18T21:14:37.923Z","avatar_url":"https://github.com/thinknathan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"_docs/simple-server-banner.png\" alt=\"Simple Server\"\u003e\n\n# Simple Server\n\n[![CI](https://github.com/thinknathan/node-simple-serv/actions/workflows/ci.yml/badge.svg)](https://github.com/thinknathan/node-simple-serv/actions/workflows/ci.yml) ![GitHub License](https://img.shields.io/github/license/thinknathan/node-simple-serv)\n\nA simple localhost http server for testing, built on Node.\n\n## Installation\n\n1. Install [Nodejs](https://nodejs.org/en) or equivalent\n\n2. Clone this project\n   `git clone https://github.com/thinknathan/node-simple-serv`\n\n3. Install dependencies\n   `npm i`\n   or\n   `yarn`\n\n4. Install for command-line usage\n   `npm link`\n\n## Usage\n\n`serve`\n\n```\n-p, --port                     Port number for the server      [default: 8080]\n-i, --index-extension          Extension for the index file  [default: \"html\"]\n-s, --shared-array-buffer      Enable security headers for SharedArrayBuffer\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[boolean] [default: false]\n-c, --content-security-policy  Content Security Policy header value\n\t\t\t\t\t[default: \"default-src * data: blob: 'unsafe-inline' 'unsafe-eval'\"]\n```\n\n## Background\n\nCreated with Chat-GPT 3.5.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Fnode-simple-serv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinknathan%2Fnode-simple-serv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Fnode-simple-serv/lists"}