{"id":13673284,"url":"https://github.com/keroxp/servest","last_synced_at":"2025-04-04T09:08:41.918Z","repository":{"id":37602738,"uuid":"174657344","full_name":"keroxp/servest","owner":"keroxp","description":"🌾A progressive http server for Deno🌾","archived":false,"fork":false,"pushed_at":"2022-10-19T09:29:34.000Z","size":831,"stargazers_count":728,"open_issues_count":9,"forks_count":38,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-28T08:07:00.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/keroxp.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},"funding":{"github":["keroxp"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-03-09T06:29:18.000Z","updated_at":"2025-01-10T08:58:19.000Z","dependencies_parsed_at":"2022-08-25T22:10:52.452Z","dependency_job_id":null,"html_url":"https://github.com/keroxp/servest","commit_stats":null,"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keroxp%2Fservest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keroxp%2Fservest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keroxp%2Fservest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keroxp%2Fservest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keroxp","download_url":"https://codeload.github.com/keroxp/servest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149501,"owners_count":20891954,"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-08-02T10:00:32.641Z","updated_at":"2025-04-04T09:08:41.895Z","avatar_url":"https://github.com/keroxp.png","language":"TypeScript","readme":"\n# DEPRECADED!\n\nThis projected has been deprecated and no longer maintained.\nNo PR/Issues will be responded.\n\n# servest\n\n[![Build Status](https://github.com/keroxp/servest/workflows/CI/badge.svg)](https://github.com/keroxp/servest/actions)\n![https://img.shields.io/github/tag/keroxp/servest.svg](https://img.shields.io/github/tag/keroxp/servest.svg)\n[![license](https://img.shields.io/github/license/keroxp/servest.svg)](https://github.com/keroxp/servest)\n\n🌾A progressive http server for Deno🌾\n\n## Description\n\n`Servest` is a http module suite for Deno. It is composed of three major APIs of\nHTTP protocol:\n\n- App API: General purpose HTTP routing server.\n- Server API: Low-level HTTP API for processing HTTP/1.1 requests.\n- Agent API: Low-level API for managing HTTP/1.1 Keep-Alive connection to the\n  host.\n\nIn order to experiment and be progressive, we have our own implementation of\nHTTP/1.1 server apart from [std/http](https://deno.land/std/http).\n\n## Usage\n\n```ts\n// @deno-types=\"https://deno.land/x/servest/types/react/index.d.ts\"\nimport React from \"https://dev.jspm.io/react/index.js\";\n// @deno-types=\"https://deno.land/x/servest/types/react-dom/server/index.d.ts\"\nimport ReactDOMServer from \"https://dev.jspm.io/react-dom/server.js\";\nimport { createApp } from \"https://deno.land/x/servest/mod.ts\";\n\nconst app = createApp();\napp.handle(\"/\", async (req) =\u003e {\n  await req.respond({\n    status: 200,\n    headers: new Headers({\n      \"content-type\": \"text/html; charset=UTF-8\",\n    }),\n    body: ReactDOMServer.renderToString(\n      \u003chtml\u003e\n        \u003chead\u003e\n          \u003cmeta charSet=\"utf-8\" /\u003e\n          \u003ctitle\u003eservest\u003c/title\u003e\n        \u003c/head\u003e\n        \u003cbody\u003eHello Servest!\u003c/body\u003e\n      \u003c/html\u003e,\n    ),\n  });\n});\napp.listen({ port: 8888 });\n```\n\n## License\n\nMIT\n","funding_links":["https://github.com/sponsors/keroxp"],"categories":["Uncategorized","Modules","TypeScript","基础设施"],"sub_categories":["Uncategorized","Online Playgrounds","Assistants","Deno 源"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeroxp%2Fservest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeroxp%2Fservest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeroxp%2Fservest/lists"}