{"id":24769207,"url":"https://github.com/markcda/cc-static-server","last_synced_at":"2025-03-23T19:17:40.286Z","repository":{"id":273763381,"uuid":"919899625","full_name":"markcda/cc-static-server","owner":"markcda","description":"Simple static server for any `dist` folder you provide.","archived":false,"fork":false,"pushed_at":"2025-03-02T22:41:23.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T23:26:10.181Z","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/markcda.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}},"created_at":"2025-01-21T08:06:34.000Z","updated_at":"2025-03-02T22:41:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"0acfeca7-86eb-4988-9525-6661effb65da","html_url":"https://github.com/markcda/cc-static-server","commit_stats":null,"previous_names":["markcda/cc-static-server"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcda%2Fcc-static-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcda%2Fcc-static-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcda%2Fcc-static-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markcda%2Fcc-static-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markcda","download_url":"https://codeload.github.com/markcda/cc-static-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245153892,"owners_count":20569408,"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","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-01-29T02:47:46.387Z","updated_at":"2025-03-23T19:17:40.267Z","avatar_url":"https://github.com/markcda.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cc-static-server\n\nSimple static server. Features:\n\n- running on top of `cc-server-kit` (see [configuration example](https://github.com/markcda/cc-server-kit?tab=readme-ov-file#4-quick-start-steps))\n- serves all your files from `dist` or `/usr/local/frontend-dist/` folder\n- when receives any request other than `/`, it returns `index.html`, excluding files\n\n## Build\n\nThis project is supporting [Deployer](https://github.com/impulse-sw/deployer). You can build server with:\n\n```bash\ndeployer build\n```\n\nOr, alternatively, just build with `cargo`:\n\n```bash\ncargo build --release\n```\n\n## Usage\n\n1. Place your files inside `dist` folder.\n2. Place `cc-static-server` executable near `dist` folder.\n3. Start `./cc-static-server`.\n\n\u003e [!NOTE]\n\u003e There is no need to specify working dir, static server must work with distribution files placed nearly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkcda%2Fcc-static-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkcda%2Fcc-static-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkcda%2Fcc-static-server/lists"}