{"id":19062406,"url":"https://github.com/jkulton/platter","last_synced_at":"2025-04-25T08:58:47.071Z","repository":{"id":52474443,"uuid":"334043452","full_name":"jkulton/platter","owner":"jkulton","description":"Create a file server with a single command","archived":false,"fork":false,"pushed_at":"2021-04-27T23:11:58.000Z","size":51,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T08:11:27.379Z","etag":null,"topics":["cli","command-line","file-server","golang","http"],"latest_commit_sha":null,"homepage":"","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/jkulton.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":"2021-01-29T05:05:48.000Z","updated_at":"2022-05-30T18:42:19.000Z","dependencies_parsed_at":"2022-09-18T04:11:46.896Z","dependency_job_id":null,"html_url":"https://github.com/jkulton/platter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkulton%2Fplatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkulton%2Fplatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkulton%2Fplatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkulton%2Fplatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkulton","download_url":"https://codeload.github.com/jkulton/platter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250591326,"owners_count":21455346,"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":["cli","command-line","file-server","golang","http"],"created_at":"2024-11-09T00:25:50.041Z","updated_at":"2025-04-24T08:28:16.205Z","avatar_url":"https://github.com/jkulton.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Platter](./platter.png)\n\n# Platter\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/jkulton/platter)](https://goreportcard.com/report/github.com/jkulton/platter)\n\nCreate a file server from a directory, fast.\n\nPlatter is a simple wrapper around the Go standard library [`net/http` `FileServer`](https://golang.org/pkg/net/http/#FileServer).\n\n## Install\n\nBefore installing please have Go installed and `$GOPATH/bin` in your `$PATH`. ([More info here](https://golang.org/doc/install#install))\n\n```sh\ngo get github.com/jkulton/platter/cmd/platter\n```\n\n## Usage\n\n```sh\nplatter\n```\n\nOnce you've installed, just run `platter` to serve the files in your current directory over HTTP.\n\n## Options/Flags\n\n(all options are as their name implies optional)\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `-p 8080` | `8000`  | Port to bind to |\n| `-d ./files` | `.` | Local directory of files to serve |\n| `-a 192.168.1.2` | `0.0.0.0` | Address to serve on |\n| `-auth username:password` | No default | `user:pass` formatted authorization (for HTTP basic auth) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkulton%2Fplatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkulton%2Fplatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkulton%2Fplatter/lists"}