{"id":13513752,"url":"https://github.com/stephannv/blueprint","last_synced_at":"2025-05-07T13:46:24.208Z","repository":{"id":148505442,"uuid":"615537330","full_name":"stephannv/blueprint","owner":"stephannv","description":"Write HTML in plain Crystal","archived":false,"fork":false,"pushed_at":"2023-09-04T23:59:41.000Z","size":81,"stargazers_count":38,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-19T05:31:56.152Z","etag":null,"topics":["crystal","dsl","hacktoberfest","html","oop"],"latest_commit_sha":null,"homepage":"https://stephannv.github.io/blueprint-docs/","language":"Crystal","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/stephannv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-03-17T23:47:46.000Z","updated_at":"2024-04-30T21:27:50.000Z","dependencies_parsed_at":"2023-09-01T16:02:14.651Z","dependency_job_id":"aeb4f82e-77a0-43a9-a842-ba54a23ddbe5","html_url":"https://github.com/stephannv/blueprint","commit_stats":{"total_commits":57,"total_committers":1,"mean_commits":57.0,"dds":0.0,"last_synced_commit":"3fb5269bc11c33a36201e7a3e645c96763de2059"},"previous_names":["stephannv/blueprint","gunbolt/blueprint"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephannv%2Fblueprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephannv%2Fblueprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephannv%2Fblueprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephannv%2Fblueprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephannv","download_url":"https://codeload.github.com/stephannv/blueprint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252890051,"owners_count":21820298,"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":["crystal","dsl","hacktoberfest","html","oop"],"created_at":"2024-08-01T05:00:37.079Z","updated_at":"2025-05-07T13:46:24.183Z","avatar_url":"https://github.com/stephannv.png","language":"Crystal","funding_links":[],"categories":["Crystal"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://stephannv.github.io/blueprint-docs/\" target=\"_blank\"\u003e\n    \u003cpicture\u003e\n      \u003cimg\n        alt=\"Blueprint logo\"\n        src=\"https://raw.githubusercontent.com/stephannv/blueprint/HEAD/.github/blueprint-logo.svg\"\n        width=\"200\"\n        height=\"200\"\n        style=\"max-width: 100%;\"\n      \u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A lib for writing reusable and testable views templates (HTML, SVG, Forms) in plain Crystal.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/stephannv/blueprint/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/stephannv/blueprint/actions/workflows/ci.yml/badge.svg\" alt=\"Tests\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/stephannv/blueprint/actions/workflows/weekly.yml\"\u003e\u003cimg src=\"https://github.com/stephannv/blueprint/actions/workflows/weekly.yml/badge.svg\" alt=\"Weekly CI\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/0-dependencies-blue\" alt=\"Zero dependencies\"\u003e\n\u003c/p\u003e\n\n------\n\nExample:\n```crystal\nclass Alert\n  include Blueprint::HTML\n\n  private def blueprint\n    div class: \"alert alert-success\" do\n      h4(class: \"alert-heading\") { \"Well done!\" }\n      p { \"Hello Word\" }\n    end\n  end\nend\n\nAlert.new.to_s\n```\n\nOutput:\n```html\n\u003cdiv class=\"alert alert-success\"\u003e\n  \u003ch4 class=\"alert-heading\"\u003eWell done!\u003c/h4\u003e\n  \u003cp\u003eHello World\u003c/p\u003e\n\u003c/div\u003e\n```\n\n## Documentation\n\nFor full documentation, visit \u003chttps://stephannv.github.io/blueprint-docs/\u003e.\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/stephannv/blueprint/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephannv%2Fblueprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephannv%2Fblueprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephannv%2Fblueprint/lists"}