{"id":50784240,"url":"https://github.com/samicpp/muon","last_synced_at":"2026-06-12T06:06:43.812Z","repository":{"id":345309816,"uuid":"1182380884","full_name":"samicpp/muon","owner":"samicpp","description":"A rust webserver built for ease of use, configurability, and speed","archived":false,"fork":false,"pushed_at":"2026-06-10T11:58:10.000Z","size":338,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T13:22:33.140Z","etag":null,"topics":["http","http-server","http1","http2","http2-server","rust","tls","tls-support","webserver"],"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/samicpp.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-15T12:52:09.000Z","updated_at":"2026-06-10T11:58:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/samicpp/muon","commit_stats":null,"previous_names":["samicpp/muon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samicpp/muon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samicpp%2Fmuon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samicpp%2Fmuon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samicpp%2Fmuon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samicpp%2Fmuon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samicpp","download_url":"https://codeload.github.com/samicpp/muon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samicpp%2Fmuon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34231255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["http","http-server","http1","http2","http2-server","rust","tls","tls-support","webserver"],"created_at":"2026-06-12T06:06:43.056Z","updated_at":"2026-06-12T06:06:43.804Z","avatar_url":"https://github.com/samicpp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# muon\nA rust webserver built for ease of use, and speed\n\n## Crate features\n| feature      | requires | desciption                       |\n|--------------|----------|----------------------------------|\n| unix-sockets | -        | enables unix sockets             |\n| ring         | -        | uses ring provider               |\n| aws-lc-rs    | -        | uses aws provider                |\n| simple       | -        | enables the simple handler       |\n| samicpp      | -        | enables the samicpp handler      |\n\n\n## Usage\nmuon tries to read a file named `settings.toml` from the directory its executable lies. \u003cbr/\u003e\nAlternatively a different file can be specified with cli argument `--settings ./path/to/file.toml` \u003cbr/\u003e\n\n\n## Handlers\n| handler | description                     |\n|---------|---------------------------------|\n| simple  | a simple static content handler |\n| samicpp | a handler with all of my needs  |\n\n\nIf you need a specific handler open an issue and i can make one named after you, \u003cbr/\u003e\nor fork the repo and open a pull request. \u003cbr/\u003e\n\n\n## TODO::Features\n- [x] support TLS\n- [x] TLS certificate selection\n- [x] add loglevels based on individual logs\n- [x] add simple handler\n- [x] support multiple different addresses in same field\n- [x] allow customizing tokio runtime\n- [x] support cli arguments\n- [x] support HTTP/2 and h2c\n- [x] rework logging\n- [ ] support HTTP/1.1 pipelining\n- [ ] advanced socket options with socket2\n- [ ] colorize log output\n- [ ] allow exporting/sending server connection data\n- [ ] create runtime stdin console\n- [ ] allow reloading settings file\n- [ ] enable loading FFI modules\n- [ ] support forwarding the request by proxying\n\n## TODO::Features::SamicppHandler\n- [x] support serving files\n- [x] support partial content\n- [x] support redirect, var, and link files\n- [x] support download files\n- [x] support route level auth\n- [x] support FFI handler endpoints\n- [ ] embed Deno engine to execute javascript\n- [ ] allow stopping the servers / listeners\n- [ ] embed rhai\n- [ ] make some built in method of making services through data driven behaviour\n\n## Examples\nsettings.toml\n```toml\n[network]\naddress = [\n    \"http://0.0.0.0:8001\",\n    \"https://0.0.0.0:8002\",\n]\ndefault_key = \"./tls/localhost-key.pem\"\ndefault_cert = \"./tls/localhost.pem\"\nalpn = [ \"h2\", \"http/1.1\" ]\n\n[[network.sni]]\ndomain = \"one.localhost\"\nkey = \"./tls/one.localhost-key.pem\"\ncert = \"./tls/one.localhost.pem\"\n\n[[network.sni]]\ndomain = \"two.localhost\"\nkey = \"./tls/two.localhost-key.pem\"\ncert = \"./tls/two.localhost.pem\"\n\n[[network.binding]]\naddress = \"httpx://0.0.0.0:2233\"\nbacklog = 1\n\n\n[environment]\ncwd = \"/var/www\"\n\n\n[content]\nhandler = \"simple\"\nmax_file_size = 16777216 # 16mb\nserve_dir = \"public\"\n\n\n[logging]\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamicpp%2Fmuon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamicpp%2Fmuon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamicpp%2Fmuon/lists"}