{"id":35207642,"url":"https://github.com/boxesandglue/glu","last_synced_at":"2026-02-08T22:04:21.593Z","repository":{"id":330849235,"uuid":"1123901424","full_name":"boxesandglue/glu","owner":"boxesandglue","description":"glu is a command line interface for boxes and glue using Lua scripting","archived":false,"fork":false,"pushed_at":"2025-12-29T20:37:11.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T01:52:15.604Z","etag":null,"topics":["lua","pdf","publishing","typesetting"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boxesandglue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-27T21:56:04.000Z","updated_at":"2025-12-29T20:37:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/boxesandglue/glu","commit_stats":null,"previous_names":["boxesandglue/glu"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/boxesandglue/glu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Fglu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Fglu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Fglu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Fglu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxesandglue","download_url":"https://codeload.github.com/boxesandglue/glu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Fglu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29246439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T21:42:34.334Z","status":"ssl_error","status_checked_at":"2026-02-08T21:41:38.468Z","response_time":57,"last_error":"SSL_read: 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":["lua","pdf","publishing","typesetting"],"created_at":"2025-12-29T15:29:48.228Z","updated_at":"2026-02-08T22:04:21.588Z","avatar_url":"https://github.com/boxesandglue.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Homepage](https://img.shields.io/badge/homepage-boxesandglue.dev-blue)](https://boxesandglue.dev/glu)\n\n# glu\n\n**Markdown to PDF. With typographic precision.**\n\nglu turns Markdown into beautifully typeset PDFs — with real line breaking, hyphenation, font shaping, and all the things you'd expect from a proper typesetting engine. Under the hood it uses [boxes and glue](https://github.com/boxesandglue/boxesandglue), a Go library that implements TeX's algorithms.\n\n```bash\nglu document.md        # → document.pdf\n```\n\n## What makes glu different?\n\n- **Markdown first** — Write Markdown, get a PDF with proper typography. No LaTeX, no XML.\n- **CSS for styling** — Page size, fonts, margins, borders, background colors — all via CSS.\n- **Lua for logic** — Embed Lua blocks for computed content, table of contents, dynamic data.\n- **Callbacks** — Hook into page creation for headers, footers, decorative frames, watermarks.\n- **TeX quality** — Knuth-Plass line breaking, optical margin alignment, microtypography.\n\n## Quick example\n\n````markdown\n---\ntitle: The Frog King\ncss: custom.css\n---\n\n# Once upon a time\n\nIn olden times when wishing still helped one,\nthere lived a king whose daughters were all beautiful.\n\n```{lua}\nreturn string.format(\"5! = %d\", factorial(5))\n```\n````\n\n```bash\nglu story.md    # → story.pdf\n```\n\n## More\n\nglu also supports raw HTML mode, low-level Lua scripting for full control, and direct access to the typesetting engine's node lists.\n\nFull documentation: **[boxesandglue.dev/glu](https://boxesandglue.dev/glu)**\n\n## Installation\n\n```bash\nrake build      # creates bin/glu\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxesandglue%2Fglu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxesandglue%2Fglu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxesandglue%2Fglu/lists"}