{"id":16800213,"url":"https://github.com/abiosoft/servefile","last_synced_at":"2025-03-17T05:21:03.288Z","repository":{"id":31033363,"uuid":"34591953","full_name":"abiosoft/servefile","owner":"abiosoft","description":"File Server for any directory or file","archived":false,"fork":false,"pushed_at":"2015-04-26T18:08:06.000Z","size":124,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-23T14:51:17.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/abiosoft.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":"2015-04-26T00:36:19.000Z","updated_at":"2023-06-14T02:35:16.000Z","dependencies_parsed_at":"2022-08-24T12:10:34.699Z","dependency_job_id":null,"html_url":"https://github.com/abiosoft/servefile","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fservefile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fservefile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fservefile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abiosoft%2Fservefile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abiosoft","download_url":"https://codeload.github.com/abiosoft/servefile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976361,"owners_count":20377691,"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":"2024-10-13T09:31:33.358Z","updated_at":"2025-03-17T05:21:03.263Z","avatar_url":"https://github.com/abiosoft.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://drone.io/github.com/abiosoft/servefile/status.png)](https://drone.io/github.com/abiosoft/servefile/latest)\n\n# servefile\nQuick way to serve any directory or file\n\n## Installation\n\n### Binary\nDownload binary for your platform on the [**Releases**](https://github.com/abiosoft/servefile/releases) page.\n\n**Optional (Linux/OSX)**  \nMove it to `bin` for easy access.\n```shell\n$ mv servefile /usr/local/bin\n```\n\n### From source\nGo is a prerequisite to installing servefile from source. Go installation instructions are available [**here**](http://golang.org/doc/install.html) if you do not have it installed.\n\n```shell\n$ go get github.com/abiosoft/servefile\n```\n\n## Usage\nIf a file is specified, the file will be served irrespective of the URL request path.\n\n```shell\n$ servefile -h\nUsage of servefile:\n  -f=\".\": path to file or directory to serve, defaults to current directory\n  -h=false: show this help\n  -p=8080: port to listen on\n\n$ servefile -f /var/www/html\n2015/04/26 01:43:33 servefile serving on port 8080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiosoft%2Fservefile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabiosoft%2Fservefile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiosoft%2Fservefile/lists"}