{"id":30858622,"url":"https://github.com/kostya-zero/lime","last_synced_at":"2025-09-07T14:15:40.588Z","repository":{"id":311451916,"uuid":"1020628617","full_name":"kostya-zero/lime","owner":"kostya-zero","description":"A lightweight HTML server for a fast website's deployment.","archived":false,"fork":false,"pushed_at":"2025-08-24T14:39:51.000Z","size":19616,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T19:40:15.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/kostya-zero.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}},"created_at":"2025-07-16T06:51:14.000Z","updated_at":"2025-08-24T14:39:54.000Z","dependencies_parsed_at":"2025-08-24T19:50:22.286Z","dependency_job_id":null,"html_url":"https://github.com/kostya-zero/lime","commit_stats":null,"previous_names":["kostya-zero/lime"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kostya-zero/lime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostya-zero%2Flime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostya-zero%2Flime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostya-zero%2Flime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostya-zero%2Flime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kostya-zero","download_url":"https://codeload.github.com/kostya-zero/lime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostya-zero%2Flime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274046009,"owners_count":25212983,"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-09-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2025-09-07T14:15:39.513Z","updated_at":"2025-09-07T14:15:40.580Z","avatar_url":"https://github.com/kostya-zero.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍋‍🟩 Lime\n\nLime is a simple, lightweight, and fast HTTP server designed to host static websites and simple web applications. It's built for ease of use and quick deployment, making it an ideal choice for developers looking for a no-fuss solution for serving HTML and static assets.\n\n## Features\n\n- **Zero-Configuration by Default**: Runs out of the box without needing a configuration file.\n- **Simple \u0026 Fast**: Built with performance in mind to serve static content efficiently.\n- **Easy Deployment**: Single binary installation for Linux and Windows.\n- **Customizable**: Configure the host, port, and directory paths via a simple lime.toml file.\n\n## Getting started\n\nFollow these steps to get your Lime server up and running.\n\n### Installation\n\nThe recommended way to install Lime is to download a pre-built binary from the official [releases page](https://github.com/kostya-zero/lime/releases) and put it in the directory that exists in `PATH`. \nBinaries are available for Linux and Windows.\n\n### Project Structure\n\nBefore running the server, it's important to organize your website's files into two separate directories:\n\n 1. **Pages Directory**: Contains your HTML files (e.g., `index.html`, `about.html`).\n 2. **Static Assets Directory**: Contains your CSS, JavaScript, images, and other static files (e.g., `style.css`, `app.js`).\n\nBy default, Lime looks for a `pages` directory for HTML and a `static` directory for assets.\n\nThis separation is crucial because of Lime's routing logic.\nWhen a request comes in, Lime inspects the file extension.\nIf the request path has no extension or ends with `.html`, Lime searches for the corresponding file in the `pages` directory.\nFor all other file extensions (like `.css`, `.js`, `.png`, etc.), it searches in the `static` directory.\nThis allows you to use clean URLs in your HTML, like `/css/style.css`, and Lime will correctly resolve the path to `./static/css/style.css`.\n\n## Configuration\n\nWhile Lime works without any configuration, you can customize its behavior by creating a `lime.toml` file in the root of your project.\nHere is an example configuration:\n\n```toml\nhost= \"127.0.0.1\"\nport = 3000\npages_dir = \"./pages\"\nstatic_dir = \"./static\"\n```\n\n## Contributing\n\nMake a pull request...\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostya-zero%2Flime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkostya-zero%2Flime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostya-zero%2Flime/lists"}