{"id":18997164,"url":"https://github.com/dakostu/prettypoem","last_synced_at":"2026-04-16T18:03:11.160Z","repository":{"id":194082507,"uuid":"163663183","full_name":"Dakostu/PrettyPoem","owner":"Dakostu","description":"generate a PDFLaTeX file with random attributes from a text file","archived":false,"fork":false,"pushed_at":"2019-01-02T21:37:38.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T12:29:13.135Z","etag":null,"topics":["c","c-plus-plus","c-plus-plus-11","cpp","document-generation","document-generator","generator","latex","latex-document","latex-pdf","latex-template","pdflatex","randomization"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dakostu.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,"governance":null}},"created_at":"2018-12-31T11:22:13.000Z","updated_at":"2019-01-02T21:37:39.000Z","dependencies_parsed_at":"2023-09-11T16:01:57.907Z","dependency_job_id":null,"html_url":"https://github.com/Dakostu/PrettyPoem","commit_stats":null,"previous_names":["dakostu/prettypoem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dakostu/PrettyPoem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dakostu%2FPrettyPoem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dakostu%2FPrettyPoem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dakostu%2FPrettyPoem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dakostu%2FPrettyPoem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dakostu","download_url":"https://codeload.github.com/Dakostu/PrettyPoem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dakostu%2FPrettyPoem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31897870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T17:33:00.867Z","status":"ssl_error","status_checked_at":"2026-04-16T17:32:57.401Z","response_time":69,"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":["c","c-plus-plus","c-plus-plus-11","cpp","document-generation","document-generator","generator","latex","latex-document","latex-pdf","latex-template","pdflatex","randomization"],"created_at":"2024-11-08T17:38:22.464Z","updated_at":"2026-04-16T18:03:11.141Z","avatar_url":"https://github.com/Dakostu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PrettyPoem\n\n![preview pic](preview.png)\n\nPrettyPoem is a small tool written in C++ that generates a PDFLaTeX file out of a text file.\n\nThis PDFLaTeX file can have attributes (such as text color, background color, font, text justification, font) that are chosen at random.\n\nThus, every PDFLaTeX document you generate with PrettyPoem is different from the last document you generated with PrettyPoem.\n\n## Build Program\nSimply type \"make\" in the CLI of the project folder.\n\nThis also generates a new folder \"settings\" that contains the files \"fonts\" (empty) and \"colors\" (with some preset colors).\n\n## Run Program\n\n\u003ccode\u003e\"./PrettyPoem [text file] [optional: name of latex output file]\"\u003c/code\u003e\n\nNote: The first line in your text file will be automatically parsed as the \"title\" inside your document.\n\n## Custom Fonts \u0026 Colors\n\nYou can add custon fonts and color combinations to the randomization roulette of PrettyPoem.\n\nThe \"colors\" file contains pairs of colors each line. \nThe first color denotes the document background color, the second color denotes the text color.\nAs of now, only the standard xcolor dvips names are accepted which you can read about [here](https://en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips).\n\n**The colors in a pair must be seperated by a comma!**\n\nThe \"fonts\" file, after a fresh install, is empty. \nIn this file, you can add font package inclusions from which one will be inserted into the generated LaTeX file.\n\nA custom \"fonts\" file, for example, could look like this:\n\n```latex\n\\usepackage[sfdefault]{universalis}\n\\usepackage[sfdefaultcondensed]{roboto}\n\\usepackage{accanthis}\n\\usepackage[sfdefault]{AlegreyaSans}\n\\usepackage{arev}\n\\usepackage{aurical}\n\\usepackage{calligra}\n\\usepackage[sfdefault]{merriweather}\n\\renewcommand*\\sfdefault{ugq}\n\\usepackage[sfdefault]{roboto}\n\\usepackage{antiqua}\n\\usepackage{antpolt}\n```\n\netc.\n\n## LaTeX Package Dependencies\n\nPrettyPoem depends on the following packages:\n\n* article\n* geometry\n* fontenc\n* inputenc\n* xcolor\n* your custom font packages...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakostu%2Fprettypoem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdakostu%2Fprettypoem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdakostu%2Fprettypoem/lists"}