{"id":18774210,"url":"https://github.com/leny/seve","last_synced_at":"2025-10-18T18:31:37.048Z","repository":{"id":20612298,"uuid":"23893494","full_name":"leny/seve","owner":"leny","description":"Run a tiny \u0026 simple server from the current folder in your terminal (like, for test \u0026 stuffs).","archived":false,"fork":false,"pushed_at":"2021-08-02T04:18:41.000Z","size":2993,"stargazers_count":16,"open_issues_count":15,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-24T04:21:41.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/leny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-10T21:45:12.000Z","updated_at":"2023-12-30T07:36:35.000Z","dependencies_parsed_at":"2022-07-07T17:28:00.207Z","dependency_job_id":null,"html_url":"https://github.com/leny/seve","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/leny/seve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Fseve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Fseve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Fseve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Fseve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leny","download_url":"https://codeload.github.com/leny/seve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leny%2Fseve/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259368025,"owners_count":22846827,"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-07T19:37:44.301Z","updated_at":"2025-10-18T18:31:31.999Z","avatar_url":"https://github.com/leny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sèvè\n\n[![NPM version](http://img.shields.io/npm/v/seve.svg)](https://www.npmjs.org/package/seve) ![Downloads counter](http://img.shields.io/npm/dm/seve.svg)\n\n\u003e Run a tiny \u0026 simple server (like, for tests \u0026 stuffs) from a given folder (or the current).\n\n* * *\n\n## Usage\n\n### Installation\n\nTo use **sèvè**, you must at first install it globally.\n\n    (sudo) npm install -g seve\n\n### Usage\n\nUsing **sèvè** is simple:\n\n    seve [options] [folder]\n\n    Arguments:\n        [folder]               folder to serve\n\n    Options:\n\n        -h, --help             output usage information\n        -V, --version          output the version number\n        -p, --port \u003cport\u003e      port used by the server (default to 12345)\n        -q, --quiet            don't show the logs\n        -i, --index            enable autoindex\n        -e, --exclude \u003cglob\u003e   don't show matching files (only with autoindex)\n        -N, --no-open          don't browse to the URL at startup\n\n#### Arguments\n\n##### folder\n\nThe folder to serve. If no folder is given (or if the given path isn't a folder), the current folder will be used.\n\n#### Options\n\n##### port (`-p`,`--port \u003cport\u003e`)\n\nManually setup the port for the server. Defaults to `12345`.\n\n##### autoindex (`-i`,`--index`)\n\nWhen no index file (`index.html` or `index.html`) are found inside a folder, **sèvè** returns an `HTTP 404 Error`. Since version `0.6.0`, by activating this option, you can show an **autoindex**: a list of files \u0026 folders in the current path.\n\n##### exclude (`-e`,`--exclude \u003cglob\u003e`)\n\nWithin autoindexes, don't show the files matching the given glob string.\n\n##### quiet (`-q`,`--quiet`)\n\nBy default, **sèvè** output all the logs. You can tell him to shut the hell up with this option.\n\n##### no open (`-N`,`--no-open`)\n\nBy default (since version `0.5.0`), **sèvè** will browse to the URL of the server at startup. You can disable this behavior with this option.\n\n##### help (`-h`,`--help`)\n\nOutput usage information.\n\n##### version (`-v`,`--version`)\n\nOutput **sèvè**' version number.\n\n## Note for ports 1 to 1024\n\nIf you want to use a port number between 1 and 1024, **seve** must be run with sudo rights.\n\n## Usage as grunt plugin\n\nThere's many great grunt plugins to do what seve does, like [grunt-contrib-connect](https://github.com/gruntjs/grunt-contrib-connect).\n\n## Contributing\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Lint your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n\n* **0.8.0**: Add `--exclude` option (*12/05/2019*)\n* **0.7.0**: Update dependencies, update tooling (*30/10/18*)\n* **0.6.0**: Add `--index` option (*21/05/16*)\n* **0.5.0**: Add browse to URL behavior \u0026 `--no-open` option (*21/02/16*)\n* **0.4.1**: Fix transpilation bug (*12/02/16*)\n* **0.4.0**: Rewrite package using ES2015 (*15/01/16*)\n* **0.3.0**: Warn \u0026 exit if seve needs sudo rights (*30/09/15*)\n* **0.2.0**: Accept a folder argument to choose the folder to serve (*28/08/15*)\n* **0.1.1**: Add time to logs (*23/09/14*)\n* **0.1.0**: Initial release (*11/09/14*)\n\n## License\nCopyright (c) 2014 Leny\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleny%2Fseve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleny%2Fseve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleny%2Fseve/lists"}