{"id":20029885,"url":"https://github.com/linarcx/bisotun","last_synced_at":"2025-10-11T11:08:50.664Z","repository":{"id":237327769,"uuid":"794301558","full_name":"LinArcX/bisotun","owner":"LinArcX","description":"A minimal c library to generate PDF files.","archived":false,"fork":false,"pushed_at":"2024-05-07T06:48:49.000Z","size":129,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T11:11:19.234Z","etag":null,"topics":["c","linux","pdf","pdf-generation","pdf-specification","pdfgen"],"latest_commit_sha":null,"homepage":"","language":"C","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/LinArcX.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-04-30T21:14:24.000Z","updated_at":"2024-05-07T06:48:52.000Z","dependencies_parsed_at":"2024-05-07T07:39:42.966Z","dependency_job_id":null,"html_url":"https://github.com/LinArcX/bisotun","commit_stats":null,"previous_names":["linarcx/bisotun"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LinArcX/bisotun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fbisotun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fbisotun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fbisotun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fbisotun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinArcX","download_url":"https://codeload.github.com/LinArcX/bisotun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fbisotun/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262182769,"owners_count":23271683,"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":["c","linux","pdf","pdf-generation","pdf-specification","pdfgen"],"created_at":"2024-11-13T09:23:27.855Z","updated_at":"2025-10-11T11:08:45.642Z","avatar_url":"https://github.com/LinArcX.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bisotun\nA simple \u0026 minimal wrapper library around [PDFGen](https://github.com/AndreRenaud/PDFGen) to generate resume/documents/books.\n\n[![bisotun_youtube](https://img.youtube.com/vi/Qm_yZY3gviE/0.jpg)](https://www.youtube.com/watch?v=Qm_yZY3gviE)\n\n# why?\nI need to generate PDF files, mostly to write my resume. There are some options avilable:\n1. WYSIWYG tools like Microsoft Word or open source alternatives.\n2. Typesetting systems like Tex/Latex, groff/troff/nroff, etc..\n3. Online websites.\n\nI tested all of the them and TBH none of satisfied me. The values that i appreciate:\n- having a tool to allows me generate a PDF file in a simple and minimal manner.\n- having 100% control over my tool.\n- less LOC can means more chance to read(and understand) the source code by people:\n  - LOC of [latex](https://github.com/latex3/latex2e): 620428 \n  - LOC of PDFGen repo: 5987, LOC of bisotun: 400 --\u003e in total: less than 7000!\n\n- and it's not only about LOC. it's also about complexity. i think Latex/Tex is over-complicated for such a simple task.\n- And finally i don't want to talk about online tools, since you don't even know what's happening behind the scene :) \n\n# structure of the repo\nTo use __bisotun__, you can just add it as a git submodule to your current project like this:\n\n```\ngit submodule add https://github.com/LinArcX/bisotun\ngit submodule update --init --recursive\n```\n\nor if you want to do the old way, just copy:\n- `bisotun.c`\n- `bisotun.h`\n- `PDFGen/pdfgen.c`\n- `PDFGen/pdfgen.h`\n\ninto your project's directory. there's a example directory that you can find how to use the library.\n\n# examples\nIn __example/__ directory, you can find __resume.c__ which is currently created as a template for resume files. for sure you can change it based on your taste :)\nTo compile it, you just need a c compiler:\n\n  `gcc -lm -g -o ./output/resume ./examples/resume.c PDFGen/pdfgen.c bisotun.c`\n\nAnd to run it:\n\n  `./output/resume`\n\nIt will generate a pdf file called: `resume.pdf`. now you can open it with any pdf-reader software.\n\n\u003ch1 align=\"center\"\u003e\n\t\u003cimg width=\"900\" src=\"data/resume.png\" alt=\"mpi\"\u003e\n    \u003cbr/\u003e\n    \u003ch4 align=\"center\"\u003eA pdf file generated with bisotun\u003c/a\u003e\u003c/h4\u003e\n\u003c/h1\u003e\n\n# limitations\n- PDFGen currently [doesn't support](arbitrary) using TTF fonts.\n- It doesn't support [hyperlinks](https://github.com/AndreRenaud/PDFGen/issues/148).\n- PDFGen [doesn't support alpha channels in images](https://github.com/AndreRenaud/PDFGen/issues/149).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinarcx%2Fbisotun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinarcx%2Fbisotun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinarcx%2Fbisotun/lists"}