{"id":20757025,"url":"https://github.com/emrecancorapci/krustie","last_synced_at":"2025-04-28T20:46:12.918Z","repository":{"id":243309575,"uuid":"812066168","full_name":"emrecancorapci/krustie","owner":"emrecancorapci","description":"A simple and easy-to-use backend framework for Rust.","archived":false,"fork":false,"pushed_at":"2025-03-10T20:31:20.000Z","size":287,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T12:05:24.881Z","etag":null,"topics":["backend","http","http-server","rust","server"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/krustie","language":"Rust","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/emrecancorapci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-06-07T22:08:38.000Z","updated_at":"2025-02-08T08:52:04.000Z","dependencies_parsed_at":"2024-06-14T22:50:41.012Z","dependency_job_id":"63c000b4-31f1-4986-93e7-19ee7c3efec5","html_url":"https://github.com/emrecancorapci/krustie","commit_stats":null,"previous_names":["emrecancorapci/krustie"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrecancorapci%2Fkrustie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrecancorapci%2Fkrustie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrecancorapci%2Fkrustie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrecancorapci%2Fkrustie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emrecancorapci","download_url":"https://codeload.github.com/emrecancorapci/krustie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251388307,"owners_count":21581768,"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":["backend","http","http-server","rust","server"],"created_at":"2024-11-17T09:39:16.826Z","updated_at":"2025-04-28T20:46:12.895Z","avatar_url":"https://github.com/emrecancorapci.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Krustie - A Basic Backend Framework\n\n[\u003cimg alt=\"github\" src=\"https://img.shields.io/badge/github-krustie-8da0cb?style=for-the-badge\u0026labelColor=555555\u0026logo=github\" height=\"20\"\u003e](https://github.com/emrecancorapci/krustie)\n[\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/krustie.svg?style=for-the-badge\u0026color=fc8d62\u0026logo=rust\" height=\"20\"\u003e](https://crates.io/crates/krustie)\n[\u003cimg alt=\"docs.rs\" src=\"https://img.shields.io/badge/docs.rs-krustie-66c2a5?style=for-the-badge\u0026labelColor=555555\u0026logo=docs.rs\" height=\"20\"\u003e](https://docs.rs/krustie)\n[\u003cimg alt=\"build status\" src=\"https://img.shields.io/github/actions/workflow/status/emrecancorapci/krustie/rust.yml?branch=main\u0026style=for-the-badge\" height=\"20\"\u003e](https://github.com/emrecancorapci/krustie/actions?query=branch%3main)\n\nKrustie is a simple backend framework. It is designed to be a easy-to-use HTTP web server that can be used for a variety of purposes. Krustie's error-proof design aims to make it harder to write bugs.\n\n\u003e Krustie is still in the early stages of development and ***is not yet ready for production use***. The API is subject to change and there may be bugs or missing features.\n\n## Features\n\n- Router with support for parameter and query string parsing\n- Middleware support for routers and endpoints\n- Minimal testing support\n- JSON data parsing and serialization (using the `serde` library)\n\n### Built-in Middlewares\n\n- Static file serving\n- Rate limiting\n- Gzip compression\n\n## Start your server\n\n```rust\nuse krustie::{ Router, Server, StatusCode };\n\nfn main() {\n    let mut server = Server::create();\n    let mut router = Router::new();\n\n    router.get(\"/\", |_, res| {\n        res.status(StatusCode::Ok).body_text(\"Hello World!\");\n    });\n\n    server.use_handler(router);\n\n    server.listen(8080);\n}\n```\n\n## Contributing\n\nAll contributions are welcomed. Please open an issue or a pull request to report a bug or request a feature.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrecancorapci%2Fkrustie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femrecancorapci%2Fkrustie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrecancorapci%2Fkrustie/lists"}