{"id":20461101,"url":"https://github.com/punit-naik/file-server","last_synced_at":"2026-06-06T19:32:01.726Z","repository":{"id":62432660,"uuid":"246819894","full_name":"punit-naik/file-server","owner":"punit-naik","description":"Serves a file or directory as static assets on the web server","archived":false,"fork":false,"pushed_at":"2020-03-12T15:19:10.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-04T07:34:27.403Z","etag":null,"topics":["clojure","fileserver"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punit-naik.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}},"created_at":"2020-03-12T11:43:37.000Z","updated_at":"2020-03-12T15:19:13.000Z","dependencies_parsed_at":"2022-11-01T21:16:17.665Z","dependency_job_id":null,"html_url":"https://github.com/punit-naik/file-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/punit-naik/file-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Ffile-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Ffile-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Ffile-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Ffile-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punit-naik","download_url":"https://codeload.github.com/punit-naik/file-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punit-naik%2Ffile-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33997732,"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-06T02:00:07.033Z","response_time":107,"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":["clojure","fileserver"],"created_at":"2024-11-15T12:23:30.966Z","updated_at":"2026-06-06T19:32:01.648Z","avatar_url":"https://github.com/punit-naik.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file-server\n\n[![Clojars Project](https://img.shields.io/clojars/v/file-server.svg)](https://clojars.org/file-server)\n\nServes a file or directory as static assets on the web server\n\n## Usage\n\n**NOTE**: [Java](https://openjdk.java.net/) and [Leiningen](https://github.com/technomancy/leiningen) must be pre-installed!\n\n### Run\n\nYou can run this project in multiple ways, see below:\n\n1. `lein run`\n\n    This will run the server on a random free port and will serve files and folders from the directory this command is being run in.\n2. `lein run 3000`\n\n    Same as above, but will run the server on port `3000`\n3. `lein run 3000 doc`\n\n    Same as above, but the server will serve files inside the `doc` directory which should be present in the directory you are running this command from.\n\n**NOTE**: After the server has started, it will print out a statement saying on which port the server is running and which directory it is serving.\n\n### Test\n\n```\nlein test\n```\n\n### Build\n\n```\nlein with-profiles +uberjar uberjar\n```\n\n## Docs\n\n[`file-server` API Docs](https://punit-naik.github.io/file-server)\n\n### Code Coverage\n\n[`file-server` Code Coverage](https://punit-naik.github.io/file-server/coverage/)\n\n## License\n\nCopyright © 2020 [Punit Naik](https://github.com/punit-naik)\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunit-naik%2Ffile-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunit-naik%2Ffile-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunit-naik%2Ffile-server/lists"}