{"id":18783497,"url":"https://github.com/tong/wtri","last_synced_at":"2025-12-20T16:30:21.468Z","repository":{"id":6339308,"uuid":"7575264","full_name":"tong/wtri","owner":"tong","description":"Haxe/Sys web server","archived":false,"fork":false,"pushed_at":"2024-06-12T08:19:39.000Z","size":516,"stargazers_count":40,"open_issues_count":6,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-29T11:44:47.353Z","etag":null,"topics":["hashlink","haxe","http","server","sys","webserver"],"latest_commit_sha":null,"homepage":"","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2013-01-12T12:53:52.000Z","updated_at":"2024-06-12T08:19:42.000Z","dependencies_parsed_at":"2024-06-12T10:42:58.255Z","dependency_job_id":"cf00ce5f-0eac-4c54-9542-ba3afbae9b8c","html_url":"https://github.com/tong/wtri","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tong%2Fwtri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tong%2Fwtri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tong%2Fwtri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tong%2Fwtri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tong","download_url":"https://codeload.github.com/tong/wtri/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239699579,"owners_count":19682574,"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":["hashlink","haxe","http","server","sys","webserver"],"created_at":"2024-11-07T20:39:31.016Z","updated_at":"2025-12-20T16:30:21.461Z","avatar_url":"https://github.com/tong.png","language":"Haxe","readme":"# WTRI\n\nEmbeddable haxe/sys web server.\n\n## Usage\n\n```hx\nnew wtri.Server((req,res)-\u003e {\n    Sys.println(req.path);\n    res.end('Hello!');\n}).listen(8080);\n```\n\nSee: [Wtri.hx](https://github.com/tong/wtri/blob/master/src/Wtri.hx)\n\n## Build\n\nClone and install dependencies:\n\n```sh\ngit clone https://github.com/tong/wtri.git\ncd wtri/\nhaxelib install haxelib.json\nhaxelib dev wtri .\n```\n\nBuild for various targets:\n\n```sh\nhaxe wtri.hxml -hl wtri.hl\nhaxe wtri.hxml -hl out/main.c -D hlgen.makefile=make\nhaxe wtri.hxml -neko wtri.n\nhaxe wtri.hxml -cpp cpp\nhaxe wtri.hxml -python wtri.py\nhaxe wtri.hxml -lua wtri.lua -D lua-vanilla -D lua-jit\nhaxe wtri.hxml --jvm wtri.jar\n```\n\n## Run\n\n```sh\nwtri --help\n\nUsage: wtri [options]\n\n[--host] \u003cname\u003e      : Address to bind\n[--port] \u003cnumber\u003e    : Port to bind\n[--root] \u003cpath\u003e      : File system root\n[--deflate] \u003clevel\u003e  : Enable deflate content encoding\n[--uv] \u003cconnections\u003e : Use libuv (hl)\n[--hscript]          : Enable hcript handler\n[--quiet]            : Disable logging to stdout\n[--help]             : Print this help\n```\n\nRun directly as an initialization macro:\n\n```sh\nhaxe -lib wtri --macro 'Wtri.start(8080)'\n```\n\n[![Build](https://github.com/tong/wtri/actions/workflows/build.yml/badge.svg)](https://github.com/tong/wtri/actions/workflows/build.yml)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftong%2Fwtri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftong%2Fwtri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftong%2Fwtri/lists"}