{"id":21462159,"url":"https://github.com/wolfpup-software/coyote-rs","last_synced_at":"2025-03-17T04:51:14.872Z","repository":{"id":230545026,"uuid":"779173835","full_name":"wolfpup-software/coyote-rs","owner":"wolfpup-software","description":"create documents with component functions","archived":false,"fork":false,"pushed_at":"2024-06-29T23:36:20.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-30T08:24:51.746Z","etag":null,"topics":["components","html","rust","templates","xml","xml-parser"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wolfpup-software.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-29T07:54:27.000Z","updated_at":"2024-06-30T08:25:34.030Z","dependencies_parsed_at":"2024-05-22T21:44:24.060Z","dependency_job_id":"a219d7ce-216b-4701-8342-f5bab9685756","html_url":"https://github.com/wolfpup-software/coyote-rs","commit_stats":null,"previous_names":["taylor-vann/html-rs","wolfpup-software/html-rs","wolfpup-software/txml-rs","wolfpup-software/coyote-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfpup-software%2Fcoyote-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfpup-software%2Fcoyote-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfpup-software%2Fcoyote-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfpup-software%2Fcoyote-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolfpup-software","download_url":"https://codeload.github.com/wolfpup-software/coyote-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976503,"owners_count":20377691,"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":["components","html","rust","templates","xml","xml-parser"],"created_at":"2024-11-23T07:12:53.806Z","updated_at":"2025-03-17T04:51:14.866Z","avatar_url":"https://github.com/wolfpup-software.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coyote-rs\n\nCreate `HTML` with function components in Rust.\n\nThere are no dependencies. There are no macros.\n\n## Install\n\n```sh\ncargo install --git https://github.com/wolf-pup/coyote-rs\n```\n\n## Components\n\nCreate documents with coyote [components](./components.md).\n\n```rust\nuse coyote::{Component, tmpl};\n\nfn hai() -\u003e Component {\n    tmpl(\"\u003cp\u003ehai :3\u003c/p\u003e\", [])\n}\n```\n\n## Html\n\nRender components as `html` with [document builders](./document_builders.md).\n\n```rust\nuse coyote::{Component, Html, tmpl};\n\nfn hai() -\u003e Component {\n    tmpl(\"\u003cp\u003ehai :3\u003c/p\u003e\", [])\n}\n\nfn main() {\n    let hello_world = hai();\n    let html = Html::new();\n\n    if let Ok(document) = html.build(\u0026hello_world) {\n        println!(\"{}\", document);\n    }; \n}\n```\n\nThe output will be:\n```html\n\u003cp\u003ehai :3\u003c/p\u003e\n```\n\n## License\n\n`Coyote-rs` is released under the BSD 3-Clause License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfpup-software%2Fcoyote-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolfpup-software%2Fcoyote-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfpup-software%2Fcoyote-rs/lists"}