{"id":19381393,"url":"https://github.com/lukaskalbertodt/reinda","last_synced_at":"2025-10-29T16:31:56.756Z","repository":{"id":54828675,"uuid":"331441603","full_name":"LukasKalbertodt/reinda","owner":"LukasKalbertodt","description":"Easily embed and manage assets for your web application to build standalone-executables. Offers filename hashing, templating and more.","archived":false,"fork":false,"pushed_at":"2024-08-14T20:18:42.000Z","size":212,"stargazers_count":33,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T09:15:25.812Z","etag":null,"topics":["assets","backend","caching","embed","hash","rust","standalone-executables","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukasKalbertodt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2021-01-20T21:49:55.000Z","updated_at":"2024-11-06T18:26:43.000Z","dependencies_parsed_at":"2024-11-17T10:02:44.074Z","dependency_job_id":"5d2f2dd7-baf4-407e-af3a-93adfa80981c","html_url":"https://github.com/LukasKalbertodt/reinda","commit_stats":{"total_commits":94,"total_committers":1,"mean_commits":94.0,"dds":0.0,"last_synced_commit":"6b068178dc6acc7215dbabcebc078503d6437304"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/LukasKalbertodt/reinda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasKalbertodt%2Freinda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasKalbertodt%2Freinda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasKalbertodt%2Freinda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasKalbertodt%2Freinda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukasKalbertodt","download_url":"https://codeload.github.com/LukasKalbertodt/reinda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasKalbertodt%2Freinda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281654456,"owners_count":26538680,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["assets","backend","caching","embed","hash","rust","standalone-executables","webdevelopment"],"created_at":"2024-11-10T09:16:55.510Z","updated_at":"2025-10-29T16:31:56.446Z","avatar_url":"https://github.com/LukasKalbertodt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `reinda`: easily embed and manage assets\n\n[\u003cimg alt=\"CI status of main\" src=\"https://img.shields.io/github/actions/workflow/status/LukasKalbertodt/reinda/ci.yml?branch=main\u0026label=CI\u0026logo=github\u0026logoColor=white\u0026style=for-the-badge\" height=\"23\"\u003e](https://github.com/LukasKalbertodt/reinda/actions/workflows/ci.yml)\n[\u003cimg alt=\"Crates.io Version\" src=\"https://img.shields.io/crates/v/reinda?logo=rust\u0026style=for-the-badge\" height=\"23\"\u003e](https://crates.io/crates/reinda)\n[\u003cimg alt=\"docs.rs\" src=\"https://img.shields.io/crates/v/reinda?color=blue\u0026label=docs\u0026style=for-the-badge\" height=\"23\"\u003e](https://docs.rs/reinda)\n\nThis library helps your web applications manage your assets (external files).\nAssets can be compressed and embedded into the binary file to obtain an easy to\ndeploy standalone executable. In debug mode, assets are loaded dynamically to\navoid having to recompile the backend. A hash can be automatically included in\nan asset's filename to enable good caching on the web. In release mode, this\ncrate prepares everything up-front such that the actually serving the file via\nHTTP can be as fast as possible.\n\nYou might know the crate `rust-embed`: `reinda` does basically the same, but for\nthe most part has more features and is more flexible (in my opinion).\n\n**Tiny example**:\n\n```rust\nuse reinda::{Assets, Embeds, embed};\n\n// Embed some assets\nconst EMBEDS: Embeds = embed! {\n    base_path: \"../assets\",\n    files: [\"index.html\", \"bundle.*.js\"],\n};\n\n// Configure assets\nlet mut builder = Assets::build();\nbuilder.add_embedded(\"index.html\", \u0026EMBEDS[\"index.html\"]);\nbuilder.add_embedded(\"static/\", \u0026EMBEDS[\"bundle.*.js\"]);\nlet assets = builder.build().await?;\n\n// Retrieve asset for serving. The `.await?` is only there for the \"dev\" mode\n// when the file is dynamically loaded. In release mode, the final `Bytes`\n// are already stored inside `assets`.\nlet bytes = assets.get(\"index.html\").unwrap().content().await?;\n```\n\nSee [**the documentation**](https://docs.rs/reinda) for more information.\n\n\n## Status of this project\n\nWhile this crate is not used by many projects yet, we use it in production for a\ncouple of years already. If you have any thoughts about this project, please\nlet me know in [this community feedback issue](https://github.com/LukasKalbertodt/reinda/issues/10)!\n\n\n\u003cbr /\u003e\n\n---\n\n## License\n\nLicensed under either of \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version\n2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e at your option.\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this project by you, as defined in the Apache-2.0 license,\nshall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukaskalbertodt%2Freinda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukaskalbertodt%2Freinda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukaskalbertodt%2Freinda/lists"}