{"id":20125074,"url":"https://github.com/jpcima/cl-why","last_synced_at":"2026-02-09T08:35:22.796Z","repository":{"id":106384951,"uuid":"87717929","full_name":"jpcima/cl-why","owner":"jpcima","description":"(X)HTML generation macros, fork of CL-WHO","archived":false,"fork":false,"pushed_at":"2017-04-12T15:20:18.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-26T13:55:09.853Z","etag":null,"topics":["common-lisp","dsl","html","html-template","web"],"latest_commit_sha":null,"homepage":null,"language":"Common Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpcima.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"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":"2017-04-09T15:19:05.000Z","updated_at":"2017-06-16T00:56:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"64d336f6-b940-4c46-b511-35d729e9d7d9","html_url":"https://github.com/jpcima/cl-why","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpcima/cl-why","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcima%2Fcl-why","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcima%2Fcl-why/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcima%2Fcl-why/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcima%2Fcl-why/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpcima","download_url":"https://codeload.github.com/jpcima/cl-why/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcima%2Fcl-why/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29260081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["common-lisp","dsl","html","html-template","web"],"created_at":"2024-11-13T19:54:26.595Z","updated_at":"2026-02-09T08:35:22.791Z","avatar_url":"https://github.com/jpcima.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cl-why\n(X)HTML generation macros, fork of CL-WHO\n\n## Reason behind CL-WHY\n\nThis project is intended as an improvement over CL-WHO, a Common Lisp library for HTML generation.\n\nI develop this fork because while a tree DSL is an elegant way to construct HTML documents, I disagree with some ideas of the original specification.\n\nOne particular problem with CL-WHO is about *escaping*: values are not escaped unless it is explicitly demanded.\nOn the contrary, the values should be written escaped by default and raw by exception; it reduces the probability of making mistakes and helps to ensure creating well-formed documents.\n\n## Installing\n\nDownload CL-WHY in a path recognized by Quicklisp and execute the following command.\n\n    (ql:quickload '#:cl-why)\n\n## Differences\n\nThe usage of CL-WHY is largely similar to CL-WHO whose documentation is located [here](http://weitz.de/cl-who/).\n\nInstead of a complete documentation I make a list of differences between these two libraries.\n\n- Automatic escaping of attribute values and string nodes\n\n      (with-html-output-to-string (s) (:a :href \"a\\\"test\" \"foo\u003c\u003ebar\"))\n      CL-WHY: \"\u003ca href='a\u0026quot;test'\u003efoo\u0026lt;\u0026gt;bar\u003c/a\u003e\"\n      CL-WHO: \"\u003ca href='a\\\"test'\u003efoo\u003c\u003ebar\u003c/a\u003e\"\n\n- Possibility to include raw strings, to use carefully\n\n      (with-html-output-to-string (s) (:div (raw \"\u003cspan\u003eHello\u003c/span\u003e\")))\n      CL-WHY: \"\u003cdiv\u003e\u003cspan\u003eHello\u003c/span\u003e\u003c/div\u003e\"\n\n- Accepted non-null values other than string at child node context (CL-WHO silently ignores these)\n\n      (with-html-output-to-string (s) (:body 123 \"abc\" 456))\n      CL-WHY: \"\u003cbody\u003e123abc456\u003c/body\u003e\"\n      CL-WHO: \"\u003cbody\u003eabc\u003c/body\u003e\"\n\n- Removed macros *str* and *fmt*, found no longer useful or redundant\n\n- Conditional compilation is updated for recent Common Lisp implementations\n  - *ELEMENT-TYPE* support added in SBCL and ECL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpcima%2Fcl-why","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpcima%2Fcl-why","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpcima%2Fcl-why/lists"}