{"id":13527195,"url":"https://github.com/xudafeng/startserver","last_synced_at":"2025-04-09T18:22:41.399Z","repository":{"id":17625188,"uuid":"20429424","full_name":"xudafeng/startserver","owner":"xudafeng","description":"Yet another http server just for fun.","archived":false,"fork":false,"pushed_at":"2024-04-21T16:05:43.000Z","size":202,"stargazers_count":91,"open_issues_count":0,"forks_count":17,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-02T13:06:19.894Z","etag":null,"topics":["nodejs","server","static"],"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/xudafeng.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","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":"2014-06-03T04:16:19.000Z","updated_at":"2024-04-21T16:05:40.000Z","dependencies_parsed_at":"2024-06-18T18:39:40.215Z","dependency_job_id":null,"html_url":"https://github.com/xudafeng/startserver","commit_stats":{"total_commits":160,"total_committers":8,"mean_commits":20.0,"dds":0.275,"last_synced_commit":"a116c36d676243e0daff210541b51b7b17663b9d"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xudafeng%2Fstartserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xudafeng%2Fstartserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xudafeng%2Fstartserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xudafeng%2Fstartserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xudafeng","download_url":"https://codeload.github.com/xudafeng/startserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085798,"owners_count":21045216,"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":["nodejs","server","static"],"created_at":"2024-08-01T06:01:42.989Z","updated_at":"2025-04-09T18:22:41.364Z","avatar_url":"https://github.com/xudafeng.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# startserver\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![node version][node-image]][node-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/startserver.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/startserver\n[travis-image]: https://img.shields.io/travis/xudafeng/startserver.svg?style=flat-square\n[travis-url]: https://travis-ci.org/xudafeng/startserver\n[coveralls-image]: https://img.shields.io/coveralls/xudafeng/startserver.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/xudafeng/startserver?branch=master\n[node-image]: https://img.shields.io/badge/node.js-%3E=_4-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/startserver.svg?style=flat-square\n[download-url]: https://npmjs.org/package/startserver\n\n\u003e Yet another http server.\n\n## Installation\n\n```shell\n$ npm i startserver -g\n```\n\n## Quick Start\n\n```shell\n$ startserver\n```\n\nIt also can be use it like this:\n\n```shell\n$ startserver -p 6789\n```\n\nThere are more shorter alias for it:\n\n```shell\n$ ss\n```\n\n## Features\n\n### Server Everywhere\n\nRun it at every directory under the root.\n\n  * Automatic detection of unoccupied port.\n\n### Slider Revolution\n\nGenerate slider with `README.md` file or other markdown file.\n\n  * Suppor a inverse color style.\n  * Double click for temporary modifications, again to restore.\n  * Normal to read makedown.\n  * Highlight for your code block.\n  * Thumbnail mode provided.\n  * Watching markdown file.\n\n### Others\n\n  * Generator support and compatible runtime.\n  * Original javascript source code.\n\n## Commands\n\n#### plugins\n\nshow plugin list\n\n#### generate\n\n```shell\n$ startsever generate README.md\n```\n\ngenerate static slide file to markdown [[sample]](https://rawgit.com/xudafeng/startserver/master/README.md.html)\n\n## Plugins\n\n![logo](https://avatars3.githubusercontent.com/u/9607546?v=3\u0026s=100)\n\n[plugins list](//github.com/startserver)\n\n## Options\n\n#### -s, --silent\n\nstart http server without opening browser\n\n#### -m, --markdown\n\nauto parse and render markdown file\n\n#### -f, --pdf\n\nrender markdown file with pdf style\n\n#### -p, --port\n\nport to use (8080 default)\n\n#### -d, --disable\n\ndisable default index router\n\n#### -v, --version\n\noutput version infomation\n\n## Help\n\n```shell\n$ startserver -h\n```\n\n\u003c!-- GITCONTRIBUTOR_START --\u003e\n\n## Contributors\n\n|[\u003cimg src=\"https://avatars.githubusercontent.com/u/1011681?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003exudafeng\u003c/b\u003e\u003c/sub\u003e](https://github.com/xudafeng)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/1784595?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003ekaroo\u003c/b\u003e\u003c/sub\u003e](https://github.com/karoo)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/800043?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003e06wj\u003c/b\u003e\u003c/sub\u003e](https://github.com/06wj)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/1622697?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eottomao\u003c/b\u003e\u003c/sub\u003e](https://github.com/ottomao)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/1124607?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003ehelldance\u003c/b\u003e\u003c/sub\u003e](https://github.com/helldance)\u003cbr/\u003e|[\u003cimg src=\"https://avatars.githubusercontent.com/u/15025212?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003ezhuyali\u003c/b\u003e\u003c/sub\u003e](https://github.com/zhuyali)\u003cbr/\u003e|\n| :---: | :---: | :---: | :---: | :---: | :---: |\n[\u003cimg src=\"https://avatars.githubusercontent.com/u/4006436?v=4\" width=\"100px;\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003emeowtec\u003c/b\u003e\u003c/sub\u003e](https://github.com/meowtec)\u003cbr/\u003e\n\nThis project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Mon Jul 05 2021 13:57:01 GMT+0800`.\n\n\u003c!-- GITCONTRIBUTOR_END --\u003e\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 xdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxudafeng%2Fstartserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxudafeng%2Fstartserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxudafeng%2Fstartserver/lists"}