{"id":13508949,"url":"https://github.com/tyre/gutenex","last_synced_at":"2026-02-22T14:41:49.954Z","repository":{"id":21255759,"uuid":"24571328","full_name":"tyre/gutenex","owner":"tyre","description":"Native PDF generation for Elixir","archived":false,"fork":false,"pushed_at":"2018-11-09T19:11:02.000Z","size":924,"stargazers_count":245,"open_issues_count":11,"forks_count":38,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-12-31T12:26:14.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/tyre.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":"2014-09-28T21:51:42.000Z","updated_at":"2025-12-06T17:07:45.000Z","dependencies_parsed_at":"2022-09-08T16:15:30.300Z","dependency_job_id":null,"html_url":"https://github.com/tyre/gutenex","commit_stats":null,"previous_names":["senecasystems/gutenex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyre/gutenex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyre%2Fgutenex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyre%2Fgutenex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyre%2Fgutenex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyre%2Fgutenex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyre","download_url":"https://codeload.github.com/tyre/gutenex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyre%2Fgutenex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29716358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T13:30:57.152Z","status":"ssl_error","status_checked_at":"2026-02-22T13:30:28.561Z","response_time":110,"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":[],"created_at":"2024-08-01T02:01:00.854Z","updated_at":"2026-02-22T14:41:49.901Z","avatar_url":"https://github.com/tyre.png","language":"Elixir","funding_links":[],"categories":["PDF"],"sub_categories":[],"readme":"# Gutenex\n\n[![Build Status](https://travis-ci.org/SenecaSystems/gutenex.svg?branch=master)](https://travis-ci.org/SenecaSystems/gutenex)\n\nPDF generation!\n\n\u003e So weird that it's still a thing for murderers in horror movies to keep clippings of their crimes. PDF that shit!\n\u003e — [Julieanne Smolinkski](https://twitter.com/BoobsRadley)\n\nWhat started out as a wrapper for the Erlang [erlguten](https://github.com/ztmr/erlguten) library has turned into a full rewrite in Elixir.\n\n## Plan\n\nRewriting the basic PDF functionality means:\n\n* [x] text\n* [x] fonts\n* [x] images\n* [x] rendering/exporting\n* [ ] parsing existing PDFs\n* [ ] templating\n* [ ] documentation\n\n# Usage\n\n```elixir\n  # Load image, get alias\n  {alpaca_alias, alpaca_rendition} = Gutenex.PDF.Images.load(\"./test/support/images/alpaca.png\")\n\n  {:ok, pid} = Gutenex.start_link\n  Gutenex.add_image(pid, alpaca_alias, alpaca_rendition) |\u003e\n  Gutenex.begin_text |\u003e\n  Gutenex.set_font(\"Helvetica\", 48) |\u003e\n  Gutenex.text_position(40, 180) |\u003e\n  Gutenex.text_render_mode(:fill) |\u003e\n  Gutenex.write_text(\"ABC\") |\u003e\n  Gutenex.set_font(\"Courier\", 32) |\u003e\n  Gutenex.text_render_mode(:stroke) |\u003e\n  Gutenex.write_text(\"xyz\") |\u003e\n  Gutenex.end_text |\u003e\n  Gutenex.move_to(400, 20) |\u003e\n  Gutenex.draw_image(alpaca_alias, %{\n      translate_x: 300,\n      translate_y: 500,\n    }) |\u003e\n  Gutenex.export(\"./tmp/alpaca.pdf\") |\u003e\n  Gutenex.stop\n```\n\nNow open up that file and you should see some text near the bottom and a picture\nof what I believe to be an alpaca. Could also be a llama.\n\nBy default, coordinates are in units of 1/72 inch as per the PDF\nspec. Origin is in lower left corner of the page. This is roughly 1\npoint in printing terms.\n\n```\n  Gutenex.line_width(pid, 0.01)          # very fine line\n  |\u003e Gutenex.line({{0, 0}, {500, 500}})  # up and to the right\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyre%2Fgutenex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyre%2Fgutenex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyre%2Fgutenex/lists"}