{"id":16958018,"url":"https://github.com/joshnuss/httpx","last_synced_at":"2025-06-25T23:04:54.709Z","repository":{"id":66379899,"uuid":"73755632","full_name":"joshnuss/httpx","owner":"joshnuss","description":"A tiny concurrent \u0026 fault-tolerant HTTP server that uses pattern matching for routing","archived":false,"fork":false,"pushed_at":"2018-07-19T23:02:29.000Z","size":19,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T21:52:42.188Z","etag":null,"topics":["concurrency","elixir","fault-tolerance","http","pattern-matching","routing"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/joshnuss.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":"2016-11-14T23:17:51.000Z","updated_at":"2020-04-22T19:07:18.000Z","dependencies_parsed_at":"2023-02-21T21:46:16.810Z","dependency_job_id":null,"html_url":"https://github.com/joshnuss/httpx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshnuss/httpx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fhttpx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fhttpx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fhttpx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fhttpx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshnuss","download_url":"https://codeload.github.com/joshnuss/httpx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fhttpx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261967131,"owners_count":23237663,"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":["concurrency","elixir","fault-tolerance","http","pattern-matching","routing"],"created_at":"2024-10-13T22:21:07.863Z","updated_at":"2025-06-25T23:04:54.668Z","avatar_url":"https://github.com/joshnuss.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTPX\n\nA tiny concurrent and fault-tolerant HTTP server.\n\n## Usage\n\nCreate an app file:\n\n```elixir\n# in myapp.exs\ndefmodule MyApp do\n  # handle the / path\n  def call(%{path: \"/\"}),\n    do: %{code: 200, type: \"text/plain\", body: \"OMG Y'ALL!!\"}\n\n  # everything else is a 404 response\n  def call(_),\n    do: %{code: 404, body: \"say what now?\"}\nend\n```\n\nThen, start the server\n\n```shell\n./httpx examples/myapp.exs --port 3000 \u0026\ncurl localhost:3000\n```\n\nLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fhttpx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshnuss%2Fhttpx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fhttpx/lists"}