{"id":19571356,"url":"https://github.com/gemrest/windmark-comments","last_synced_at":"2025-06-28T04:33:04.732Z","repository":{"id":57672194,"uuid":"476637303","full_name":"gemrest/windmark-comments","owner":"gemrest","description":"💭 A comment engine module for Windmark","archived":false,"fork":false,"pushed_at":"2022-04-03T09:37:17.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-09T04:19:22.944Z","etag":null,"topics":["gemini","gemini-protocol","gemini-server","windmark"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/gemrest.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":"2022-04-01T08:28:40.000Z","updated_at":"2022-04-01T08:50:41.000Z","dependencies_parsed_at":"2022-08-31T01:24:29.989Z","dependency_job_id":null,"html_url":"https://github.com/gemrest/windmark-comments","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fwindmark-comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fwindmark-comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fwindmark-comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fwindmark-comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemrest","download_url":"https://codeload.github.com/gemrest/windmark-comments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840029,"owners_count":19866164,"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":["gemini","gemini-protocol","gemini-server","windmark"],"created_at":"2024-11-11T06:18:38.228Z","updated_at":"2025-02-26T10:42:31.647Z","avatar_url":"https://github.com/gemrest.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windmark Comments\n\n[![crates.io](https://img.shields.io/crates/v/windmark-comments.svg)](https://crates.io/crates/windmark-comments)\n[![docs.rs](https://docs.rs/windmark-comments/badge.svg)](https://docs.rs/windmark-comments)\n[![github.com](https://github.com/gemrest/windmark-comments/actions/workflows/check.yaml/badge.svg?branch=main)](https://github.com/gemrest/windmark-comments/actions/workflows/check.yaml)\n\nA comment engine module for Windmark.\n\n## Usage\n\n### Add Windmark Comments as a dependency\n\n```toml\n# Cargo.toml\n\n[dependencies]\nwindmark-comments = \"0.1.3\"\n```\n\n### Attach Windmark Comments as a module (Windmark \u003e= 0.1.8)\n\n```rust\n// src/main.rs\n\nuse windmark::Response;\n\n#[windmark::main]\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n  windmark::Router::new()\n    .set_private_key_file(\"windmark_comments_private.pem\")\n    .set_certificate_file(\"windmark_comments_public.pem\")\n    .mount(\"/\", Box::new(|_| Response::Success(\"Hello, World!\".into())))\n    .set_error_handler(Box::new(|_| {\n      Response::PermanentFailure(\"This route does not exist!\".into())\n    }))\n    // Attach Windmark Comments\n    .attach_stateless(windmark_comments::module)\n    .run()\n    .await\n}\n```\n\n### Attach Windmark Comments as a module (Windmark \u003c= 0.1.7)\n\n```rust\n// src/main.rs\n\nuse windmark::Response;\n\n#[windmark::main]\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n  windmark::Router::new()\n    .set_private_key_file(\"windmark_comments_private.pem\")\n    .set_certificate_file(\"windmark_comments_public.pem\")\n    .mount(\"/\", Box::new(|_| Response::Success(\"Hello, World!\".into())))\n    .set_error_handler(Box::new(|_| {\n      Response::PermanentFailure(\"This route does not exist!\".into())\n    }))\n    // Attach Windmark Comments\n    .attach(windmark_comments::module)\n    .run()\n    .await\n}\n```\n\n## Examples\n\nExamples can be found within the\n[`examples`](https://github.com/gemrest/windmark-comments/tree/main/examples)\ndirectory.\n\n## License\n\nThis project is licensed with the\n[GNU General Public License v3.0](https://github.com/gemrest/windmark-comments/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemrest%2Fwindmark-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemrest%2Fwindmark-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemrest%2Fwindmark-comments/lists"}