{"id":16476627,"url":"https://github.com/siadat/gofile","last_synced_at":"2025-09-12T03:19:00.491Z","repository":{"id":41247860,"uuid":"52865571","full_name":"siadat/gofile","owner":"siadat","description":"HTTP/1.1 directory listing and file server using TCP sockets for fun","archived":false,"fork":false,"pushed_at":"2018-12-14T06:23:25.000Z","size":117,"stargazers_count":61,"open_issues_count":2,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-28T15:59:24.224Z","etag":null,"topics":["cli","file-server","go","http-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siadat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-01T09:43:30.000Z","updated_at":"2025-07-02T18:44:17.000Z","dependencies_parsed_at":"2022-09-16T01:52:06.652Z","dependency_job_id":null,"html_url":"https://github.com/siadat/gofile","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/siadat/gofile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Fgofile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Fgofile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Fgofile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Fgofile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siadat","download_url":"https://codeload.github.com/siadat/gofile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siadat%2Fgofile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274747689,"owners_count":25341936,"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-12T02:00:09.324Z","response_time":60,"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":["cli","file-server","go","http-server"],"created_at":"2024-10-11T12:43:07.283Z","updated_at":"2025-09-12T03:19:00.440Z","avatar_url":"https://github.com/siadat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gofile\n\n[![GoDoc](https://godoc.org/github.com/siadat/gofile/http?status.svg)](https://godoc.org/github.com/siadat/gofile/http)\n[![Build Status](https://travis-ci.org/siadat/gofile.svg?branch=master)](https://travis-ci.org/siadat/gofile)\n\nA non-blocking directory listing and file server.\nIt implementats HTTP/1.1 keepalive, chunked transfer, and byte range.\n\nThe HTTP server implementation provides a channel for writing chunked response. It could be used as a library. [Read the API](https://godoc.org/github.com/siadat/gofile/http).\n\n![gofile](/../screenshots/screenshot-0.1.0.png?raw=true \"gofile\")\n\n### Usage\n\n    Usage: gofile port [dir]\n\nExamples:\n\n    gofile 8080\n    gofile 8080 ~/public\n\n### Install\n\n    go get -u github.com/siadat/gofile\n\n### HTTP/1.1 implementation checklist\n\n- [x] GET and HEAD methods\n- [x] Support keep-alive connections\n- [x] Support chunked transfer encoding\n- [x] Requests must include a `Host` header\n- [x] Requests with `Connection: close` should be closed\n- [x] Support for requests with absolute URLs\n- [x] If-Modified-Since support\n- [x] Byte range support\n- [ ] Transparent response compression\n\n### Hacking\n\nSubmit an issue or send a pull request.\nMake sure you `./run-tests.bash` to test your patch.\n\n### Thanks\n\nThanks @valyala for his feature suggestions. Thanks @maruel for reviewing the http package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiadat%2Fgofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiadat%2Fgofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiadat%2Fgofile/lists"}