{"id":19761197,"url":"https://github.com/falkz/hypst","last_synced_at":"2026-05-12T08:32:31.897Z","repository":{"id":168318686,"uuid":"631949678","full_name":"FalkZ/hypst","owner":"FalkZ","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-11T18:48:29.000Z","size":658,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T23:27:31.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/FalkZ.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-04-24T12:00:29.000Z","updated_at":"2023-05-22T15:10:21.000Z","dependencies_parsed_at":"2024-04-11T20:04:40.995Z","dependency_job_id":null,"html_url":"https://github.com/FalkZ/hypst","commit_stats":null,"previous_names":["falkz/hypst"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalkZ%2Fhypst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalkZ%2Fhypst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalkZ%2Fhypst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalkZ%2Fhypst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FalkZ","download_url":"https://codeload.github.com/FalkZ/hypst/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241094024,"owners_count":19908626,"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-11-12T03:39:57.300Z","updated_at":"2026-05-12T08:32:26.864Z","avatar_url":"https://github.com/FalkZ.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hypst\n\n\u003e EDSL to create html documents in Haskell with a Markdown / Typst inspired syntax\n\n## Example\nThis project allows the following haskell code:\n```haskell\nmodule Main where\n\nimport Hypst\nimport Prelude hiding ((+), (-), (\u003e))\nimport Styles (styles)\n\n\nmain :: IO ()\nmain = do \n  document \"build/index.html\"\n  \n  # \"Inspiration\"\n\n  `img` \"./typst.webp\"\n\n  - \"Alternative zu Latex\"\n  - \"Erinnert an Markdown\"\n  - \"Erlaubt Scripting:\"\n\n  `img` \"./scripting.png\"\n\n  \u003e \"Typst ist eine DSL\"\n\n  # \"Idee: Hypst\"\n  \u003e \"Haskell basierte EDSL die das Verhalten von Typst imitiert\"\n\n  ## \"Aufbau 2\"  \n\n  - \"Infix Notation auf 'Dokument'\"\n  - \"Deep Embedding\"\n  - \"Pattern Matching für HTML Rendering\"\n\n  `input` styles\n\n  |\u003e end_document\n```\n\nTo be compiled into:\n\n```html\n\u003ch1\u003eInspiration\u003c/h1\u003e\n\u003cimg src='./typst.webp' \u003e\u003c/img\u003e\n\u003cli\u003eAlternative zu Latex\u003c/li\u003e\n\u003cli\u003eErinnert an Markdown\u003c/li\u003e\n\u003cli\u003eErlaubt Scripting:\u003c/li\u003e\n\u003cimg src='./scripting.png' \u003e\u003c/img\u003e\n\u003cblockquote\u003eTypst ist eine DSL\u003c/blockquote\u003e\n\u003ch1\u003eIdee: Hypst\u003c/h1\u003e\n\u003cblockquote\u003eHaskell basierte EDSL die das Verhalten von Typst imitiert\u003c/blockquote\u003e\n\u003ch2\u003eAufbau 2\u003c/h2\u003e\n\u003cli\u003eInfix Notation auf 'Dokument'\u003c/li\u003e\n\u003cli\u003eDeep Embedding\u003c/li\u003e\n\u003cli\u003ePattern Matching für HTML Rendering\u003c/li\u003e\n\u003cstyle\u003e li { font-size: 1rem; padding: 0.25em 0; }  p, blockquote { font-size: 1rem }  blockquote { border-left: 2px solid #ccd; background: #ccccdd22; margin: 0; padding: 1em; }  img { margin: 1em 0; } \u003c/style\u003e\n```\n\nFull example: [app/Main.hs](./app/Main.hs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalkz%2Fhypst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalkz%2Fhypst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalkz%2Fhypst/lists"}