{"id":28022919,"url":"https://github.com/ferronweb/ferron","last_synced_at":"2026-02-10T17:07:21.845Z","repository":{"id":276628246,"uuid":"929813366","full_name":"ferronweb/ferron","owner":"ferronweb","description":"A fast, memory-safe web server written in Rust.","archived":false,"fork":false,"pushed_at":"2026-02-10T05:33:08.000Z","size":24716,"stargazers_count":1852,"open_issues_count":86,"forks_count":83,"subscribers_count":4,"default_branch":"develop-2.x","last_synced_at":"2026-02-10T10:47:13.429Z","etag":null,"topics":["http","http-server","rust","server","web","web-server","webserver"],"latest_commit_sha":null,"homepage":"https://ferron.sh","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/ferronweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-09T13:20:22.000Z","updated_at":"2026-02-10T09:14:53.000Z","dependencies_parsed_at":"2025-02-09T14:32:17.152Z","dependency_job_id":"36034ea6-f261-4b2c-8121-8af40099d5c1","html_url":"https://github.com/ferronweb/ferron","commit_stats":null,"previous_names":["dorianniemiecsvrjs/project-karpacz","ferronweb/ferron"],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/ferronweb/ferron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferronweb%2Fferron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferronweb%2Fferron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferronweb%2Fferron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferronweb%2Fferron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferronweb","download_url":"https://codeload.github.com/ferronweb/ferron/tar.gz/refs/heads/develop-2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferronweb%2Fferron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29309024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T16:09:25.305Z","status":"ssl_error","status_checked_at":"2026-02-10T16:08:52.170Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["http","http-server","rust","server","web","web-server","webserver"],"created_at":"2025-05-10T23:02:14.756Z","updated_at":"2026-02-10T17:07:21.828Z","avatar_url":"https://github.com/ferronweb.png","language":"Rust","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ferron.sh\" target=\"_blank\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"wwwroot/assets/logo-dark.png\"\u003e\n      \u003cimg alt=\"Ferron logo\" src=\"wwwroot/assets/logo.png\" width=\"256\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eFerron\u003c/b\u003e - a fast, modern, and easily configurable web server with automatic TLS\n\u003c/p\u003e\n\n* * *\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ferron.sh/docs\" target=\"_blank\"\u003e\u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Documentation-orange?style=for-the-badge\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://ferron.sh\" target=\"_blank\"\u003e\u003cimg alt=\"Website\" src=\"https://img.shields.io/website?url=https%3A%2F%2Fferron.sh\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://matrix.to/#/#ferronweb:matrix.org\" target=\"_blank\"\u003e\u003cimg alt=\"Chat\" src=\"https://img.shields.io/matrix/ferronweb%3Amatrix.org?style=for-the-badge\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://x.com/ferron_web\" target=\"_blank\"\u003e\u003cimg alt=\"X (formerly Twitter) Follow\" src=\"https://img.shields.io/twitter/follow/ferron_web?style=for-the-badge\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/ferronserver/ferron\" target=\"_blank\"\u003e\u003cimg alt=\"Docker Pulls\" src=\"https://img.shields.io/docker/pulls/ferronserver/ferron?style=for-the-badge\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/ferronweb/ferron\" target=\"_blank\"\u003e\u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/ferronweb/ferron?style=for-the-badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Why Ferron?\n\n- **High performance** - thoroughly optimized for speed with support for high concurrency.\n- **Memory-safe** - built with [Rust](https://rust-lang.org/), which is a programming language that can offer strong memory safety guarantees.\n- **Automatic TLS** - automatic SSL/TLS certificate acquisition and renewal with [Let's Encrypt](https://letsencrypt.org/) integration.\n- **Easy configuration** - simple, intuitive configuration with sensible, secure defaults and [comprehensive documentation](https://ferron.sh/docs).\n- **Extensibility** - modular architecture for easy customization.\n- **Powerful reverse proxy** - advanced reverse proxy capabilities with support for load balancing and health checks.\n\n## Components\n\nFerron consists of multiple components:\n\n- **`ferron`** - the main web server.\n- **`ferron-passwd`** - a tool for generating hashed passwords, which can be copied into the web server's configuration file.\n- **`ferron-precompress`** - a tool for precompressing static files for Ferron.\n- **`ferron-yaml2kdl`** - a tool for attempting to convert the Ferron 1.x YAML configuration to Ferron 2.x KDL configuration.\n\nFerron also consists of:\n\n- **`build-prepare`** - internal tool for preparation when building Ferron with modules.\n- **`ferron-common`** - code common for Ferron and its modules.\n- **`ferron-dns-builtin`** - built-in Ferron DNS providers.\n- **`ferron-load-modules`** - functions for loading Ferron modules.\n- **`ferron-modules-builtin`** - built-in Ferron modules.\n- **`ferron-observability-builtin`** - built-in Ferron observability backend support.\n- **`ferron-yaml2kdl-core`** - the core library behind the `ferron-yaml2kdl` tool.\n\n## Installing Ferron from pre-built binaries\n\nThe easiest way to install Ferron is installing it from pre-built binaries.\n\nBelow are the different ways to install Ferron:\n\n- [Installer (GNU/Linux)\n](https://ferron.sh/docs/installation/installer-linux)\n- [Installer (Windows Server)\n](https://ferron.sh/docs/installation/installer-windows)\n- [Package managers (Debian/Ubuntu)](https://ferron.sh/docs/installation/debian)\n- [Package managers (RHEL/Fedora)](https://ferron.sh/docs/installation/rpm)\n- [Docker](https://ferron.sh/docs/installation/docker)\n- [Package managers (community)](https://ferron.sh/docs/installation/package-managers)\n- [Manual installation](https://ferron.sh/docs/installation/manual)\n\n## Configuration examples\n\n### Basic static file serving\n\n```kdl\n// Example configuration with static file serving. Replace \"example.com\" with your domain name.\nexample.com {\n    root \"/var/www/html\" // Replace \"/var/www/html\" with the directory containing your static files\n}\n```\n\n### Basic reverse proxying\n\n```kdl\n// Example configuration with reverse proxy. Replace \"example.com\" with your domain name.\nexample.com {\n    proxy \"http://localhost:3000/\" // Replace \"http://localhost:3000\" with the backend server URL\n}\n```\n\n### More examples\n\nYou can find more configuration examples for common use cases in the [Ferron documentation](https://ferron.sh/docs).\n\n## Building Ferron from source\n\nYou can clone the repository and explore the existing code:\n\n```sh\ngit clone https://github.com/ferronweb/ferron.git\ncd ferron\n```\n\nYou can then build and run the web server using Cargo:\n\n```sh\ncargo run --manifest-path build-prepare/Cargo.toml\ncd build-workspace\ncargo update # If you experience crate conflicts\ncargo build -r --target-dir ../target\ncd ..\ncp ferron-test.kdl ferron.kdl\ntarget/release/ferron\n```\n\nYou can also, for convenience, use `make`:\n\n```sh\nmake build # Build the web server\nmake build-dev # Build the web server, for development and debugging\nmake run # Run the web server\nmake run-dev # Run the web server, for development and debugging\nmake smoketest # Perform a smoke test\nmake smoketest-dev # Perform a smoke test, for development and debugging\nmake package # Package the web server to a ZIP archive (run it after building it)\nmake package-deb # Package the web server to a Debian package (run it after building it)\nmake package-rpm # Package the web server to an RPM package (run it after building it)\nmake installer # Build installers for Ferron 2\n```\n\nOr a `build.ps1` build script, if you're on Windows:\n```batch\nREM Build the web server\npowershell -ExecutionPolicy Bypass .\\build.ps1 Build\n\nREM Build the web server, for development and debugging\npowershell -ExecutionPolicy Bypass .\\build.ps1 BuildDev\n\nREM Run the web server\npowershell -ExecutionPolicy Bypass .\\build.ps1 Run\n\nREM Run the web server, for development and debugging\npowershell -ExecutionPolicy Bypass .\\build.ps1 RunDev\n\nREM Perform a smoke test\npowershell -ExecutionPolicy Bypass .\\build.ps1 Smoketest\n\nREM Perform a smoke test, for development and debugging\npowershell -ExecutionPolicy Bypass .\\build.ps1 SmoketestDev\n\nREM Package the web server to a ZIP archive (run it after building it)\npowershell -ExecutionPolicy Bypass .\\build.ps1 Package\n\nREM Build installers for Ferron 2\npowershell -ExecutionPolicy Bypass .\\build.ps1 Installer\n```\n\nYou can also create a ZIP archive that can be used by the Ferron installer:\n\n```sh\nmake build-with-package\n```\n\nOr if you're on Windows:\n\n```batch\npowershell -ExecutionPolicy Bypass .\\build.ps1 BuildWithPackage\n```\n\nThe ZIP archive will be located in the `dist` directory.\n\nYou can also cross-compile the web server for a different target:\n\n```sh\n# Replace \"i686-unknown-linux-gnu\" with the target (as defined by the Rust target triple) you want to build for\nmake build TARGET=\"i686-unknown-linux-gnu\" CARGO_FINAL=\"cross\"\n```\n\nIt's also possible to use only Cargo to build the web server, although you wouldn't be able to use external modules:\n```sh\ncargo build -r\n./target/release/ferron\n```\n\nFor compilation notes, see the [compilation notes page](./COMPILATION.md).\n\n## Modules\n\nIf you would like to develop Ferron modules, you can find the [Ferron module development notes](./MODULES.md).\n\n## Server configuration\n\nYou can check the [Ferron documentation](https://ferron.sh/docs/configuration-kdl) to see configuration properties used by Ferron.\n\n## Contributing\n\nSee [Ferron contribution page](https://ferron.sh/contribute) for details.\n\nBelow is a list of contributors to Ferron. **Thank you to all of them!**\n\n[![Contributor list](./CONTRIBUTORS.svg)](https://github.com/ferronweb/ferron/graphs/contributors)\n\n## License\n\nFerron is licensed under the MIT License. See `LICENSE` for details.\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferronweb%2Fferron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferronweb%2Fferron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferronweb%2Fferron/lists"}