{"id":48250593,"url":"https://github.com/drkameleon/lanx","last_synced_at":"2026-04-04T20:52:05.155Z","repository":{"id":338277833,"uuid":"1157246704","full_name":"drkameleon/lanx","owner":"drkameleon","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-13T17:49:57.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-14T01:25:13.548Z","etag":null,"topics":["arturo","arturo-package","file-server","http","server","web-server"],"latest_commit_sha":null,"homepage":"","language":null,"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/drkameleon.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-02-13T15:49:49.000Z","updated_at":"2026-02-13T17:50:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/drkameleon/lanx","commit_stats":null,"previous_names":["drkameleon/lanx"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/drkameleon/lanx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drkameleon%2Flanx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drkameleon%2Flanx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drkameleon%2Flanx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drkameleon%2Flanx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drkameleon","download_url":"https://codeload.github.com/drkameleon/lanx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drkameleon%2Flanx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":["arturo","arturo-package","file-server","http","server","web-server"],"created_at":"2026-04-04T20:52:02.059Z","updated_at":"2026-04-04T20:52:05.139Z","avatar_url":"https://github.com/drkameleon.png","language":null,"readme":"\u003ch1 align=\"center\"\u003e\n    Lanx\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n     \u003ci\u003eA simple, zero-config static file server for Arturo\u003c/i\u003e\n     \u003cbr\u003e\u003cbr\u003e\n     \u003cimg src=\"https://img.shields.io/github/license/drkameleon/lanx?style=for-the-badge\"\u003e\n    \u003ca href=\"https://github.com/arturo-lang/arturo\" style=\"text-decoration: none; display: inline-block;\"\u003e\u003cimg src=\"https://img.shields.io/badge/language-Arturo-6A156B.svg?style=for-the-badge\" alt=\"Language\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n---\n\n\u003c!--ts--\u003e\n\n* [What does this package do?](#what-does-this-package-do)\n* [How do I use it?](#how-do-i-use-it)\n   * [As a CLI tool](#as-a-cli-tool)\n   * [As a library](#as-a-library)\n* [Function Reference](#function-reference)\n* [Contributing](#contributing)\n* [License](#license)\n\n\u003c!--te--\u003e\n\n---\n\n### What does this package do?\n\nLanx is a minimal static file server for Arturo. Point it at a folder and it will serve its contents over HTTP - with automatic MIME type detection, directory listings, and `index.html` support; no configuration needed! 😉\n\n### How do I use it?\n\n#### As a CLI tool\n\nJust run it from any directory:\n```red\nlanx              ; serves the current directory\nlanx ./public     ; serves a specific folder\n```\n\n#### As a library\n\nEmbed it in your own Arturo project:\n```red\nimport'lanx!\n\nserver: to :lanx []!\nserver\\root: \"./public\"\nserver\\port: 8080\nserver\\start\n```\n\n\u003e [!TIP]\n\u003e Drop an `index.html` in any folder to have it served automatically instead of the directory listing.\n\n### Function reference\n\n#### `:lanx` type\n\n| Field | Default | Description |\n|---|---|---|\n| `root` | current directory | path to serve |\n| `port` | `18966` | port to listen on |\n\n#### `start`\n\nStart the server using the configured `root` and `port`.\n```red\nserver: to :lanx []!\nserver\\start\n```\n\n### Contributing\n\nAll contributions/ideas/suggestions are 100% welcome! \n\nNoticed something? Open an issue.  \nWant to add/fix something? Just make a PR and I'll be more than glad to merge it! 🚀\n\n\u003chr/\u003e\n\n### License\n\nMIT License\n\nCopyright (c) 2026 Yanis Zafirópulos\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkameleon%2Flanx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrkameleon%2Flanx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrkameleon%2Flanx/lists"}