{"id":17247609,"url":"https://github.com/jcarbaugh/garberize","last_synced_at":"2025-03-26T05:41:21.131Z","repository":{"id":2984773,"uuid":"4000812","full_name":"jcarbaugh/garberize","owner":"jcarbaugh","description":"CSS + HTML = HTML with inlined CSS","archived":false,"fork":false,"pushed_at":"2012-04-12T03:05:07.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T20:12:11.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"thisismitch/sample_tasks","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcarbaugh.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":"2012-04-12T02:59:31.000Z","updated_at":"2022-04-18T16:36:15.000Z","dependencies_parsed_at":"2022-08-20T10:20:37.611Z","dependency_job_id":null,"html_url":"https://github.com/jcarbaugh/garberize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcarbaugh%2Fgarberize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcarbaugh%2Fgarberize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcarbaugh%2Fgarberize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcarbaugh%2Fgarberize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcarbaugh","download_url":"https://codeload.github.com/jcarbaugh/garberize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245598294,"owners_count":20641882,"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-10-15T06:38:27.012Z","updated_at":"2025-03-26T05:41:21.096Z","avatar_url":"https://github.com/jcarbaugh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# garberize\n\nWhen a CSS file and an HTML (or markdown) file fall in love and get married, they make an HTML file with inlined CSS.\n\n*This is a prototype; very much an experiment.* I don't know what the final form of this will take, but it appears that it will be useful for some projects.\n\n## Run it\n\n    $ garberize -c thestyle.css content.md \u003e inlined.html\n\n## Excuse it\n\nSome thing garberize will not do:\n\n* care about selector precedence, top to bottom is how we roll\n* fancy stuff\n\n## Example\n\ncontent.md:\n\n    # An important headline\n\n    We've got a smattering of stuff.\n\n    ## The first thing\n    ### Has a subheading\n\n    **Lorem ipsum dolor sit amet, consectetur adipisicing elit,** sed do eiusmod\n    tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n    quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n    consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n    cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n    proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n\nstyle.css:\n\n    h1, h2, h3, h4, h5 { font-family: sans-serif; }\n    h2 { color: #D64; }\n    h3 { color: #F96; }\n    p { line-height: 140%; }\n\nbegat inlined.html:\n\n    \u003chtml\u003e\n        \u003cbody\u003e\n            \u003ch1 style=\"font-family: sans-serif;\"\u003eThis Week in Sunlight\u003c/h1\u003e\n            \u003cp style=\"line-height: 140%;\"\u003eWe've got a smattering of mentions.\u003c/p\u003e\n            \u003ch2 style=\"font-family: sans-serif; color: #D64;\"\u003eTransparency Connect\u003c/h2\u003e\n            \u003ch3 style=\"font-family: sans-serif; color: #F96;\"\u003ePutting you in touch with Congress\u003c/h3\u003e\n            \u003cp style=\"line-height: 140%;\"\u003e\n                \u003cstrong\u003eLorem ipsum dolor sit amet, consectetur adipisicing elit,\u003c/strong\u003e sed do eiusmod\n                tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n                quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n                consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n                cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n                proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n            \u003c/p\u003e\n        \u003c/body\u003e\n    \u003c/html\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcarbaugh%2Fgarberize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcarbaugh%2Fgarberize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcarbaugh%2Fgarberize/lists"}