{"id":13740544,"url":"https://github.com/nihirash/holy","last_synced_at":"2026-02-20T00:30:46.228Z","repository":{"id":62423986,"uuid":"105815298","full_name":"nihirash/holy","owner":"nihirash","description":"HoLy is simple http library for Racket language","archived":false,"fork":false,"pushed_at":"2017-11-03T16:20:01.000Z","size":13,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-20T14:53:21.824Z","etag":null,"topics":["http-server","racket-lang","racket-library","rest-api","waf","web"],"latest_commit_sha":null,"homepage":null,"language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nihirash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-04T20:30:57.000Z","updated_at":"2025-09-04T02:24:21.000Z","dependencies_parsed_at":"2022-11-01T18:01:09.610Z","dependency_job_id":null,"html_url":"https://github.com/nihirash/holy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nihirash/holy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihirash%2Fholy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihirash%2Fholy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihirash%2Fholy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihirash%2Fholy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nihirash","download_url":"https://codeload.github.com/nihirash/holy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nihirash%2Fholy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29637407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["http-server","racket-lang","racket-library","rest-api","waf","web"],"created_at":"2024-08-03T04:00:49.412Z","updated_at":"2026-02-20T00:30:46.211Z","avatar_url":"https://github.com/nihirash.png","language":"Racket","readme":"# HoLy\n\n## What is it?\n\nHoLy is simple a HTTP-server Library for Racket.\n\nSorry, library in **alpha stage**! Be carefull API is unstable!\n\n**Pull requests** are welcome!\n\nWe'll make web fucntional again!\n\n## Installation\n\nYou can install it with using console utillity **raco**:\n\n```\nraco pkg install https://github.com/nihirash/holy.git\n```\n\nOr with using DrRacket IDE.\n\n## Usage\n\n```racket\n#lang racket\n(require HoLy)\n\n(http/get \"/\"\n    (λ (req) \"Welcome\"))\n\n(http/get \"/article/:id\"\n    (λ (req)\n\t(let* ((id (request/param 'id)))\n\t    (string-append \"This is article #\" id))))\n\n(server/set-port 8080)\n\n(server/run)\n```\n\n## API\n\n### http/get, http/post, http/delete, http/put\n\nDefines request handler for specified request type.\n\nParameters are url as string(with possibility usage of placeholders) and callback function.\n\nExample:\n\n```racket\n(http/get \"/article/:id\"\n    (λ (req)\n\t(let* ((id (request/param 'id)))\n\t    (string-append \"This is article #\" id))))\n```\n\n### request/param\n\nGets request parameter's value(from get/post or placeholder parameter).\n\nParameter is name of parameter.\n\n### request/cookie\n\nGets cookie value.\n\nParameter is name of cookie.\n\n### response/make\n\nCreates response. It have required parameter content and several rest parameters. \n\nDefault values are: \n```\n#:code [code 200]\n#:message [message #\"OK\"]\n#:seconds [seconds (current-seconds)]\n#:mime-type [mime-type TEXT/HTML-MIME-TYPE]\n#:headers [headers (list (make-header #\"Cache-Control\" #\"no-cache\"))]\n```\n\nCan be used for creating custom response statuses/placing new headers etc.\n\n### response/404\n\nResponse with 404 status. \n\n### server/set-port\n\nDefines port that's be listened with http server\n\n### server/run\n\nRun's server event loop\n\n## Credits\n\n * [z-song](https://github.com/z-song/raf/) is author Raf framework(HoLy is created by reading Raf sources).\n \n * [nihirash](https://github.com/nihirash/) is author and maintainer of HoLy library\n","funding_links":[],"categories":["Web Frameworks"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihirash%2Fholy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnihirash%2Fholy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnihirash%2Fholy/lists"}