{"id":20540504,"url":"https://github.com/albinodrought/creamy-static","last_synced_at":"2025-07-31T00:42:17.894Z","repository":{"id":83184478,"uuid":"172835190","full_name":"AlbinoDrought/creamy-static","owner":"AlbinoDrought","description":"Barebones web-accessible file directory","archived":false,"fork":false,"pushed_at":"2020-08-11T05:52:01.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T04:17:49.808Z","etag":null,"topics":["creamy","golang","static-file-server"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlbinoDrought.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":"2019-02-27T03:21:48.000Z","updated_at":"2020-08-11T05:52:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"80d25546-43cf-4959-91c0-de6cc6a47ecb","html_url":"https://github.com/AlbinoDrought/creamy-static","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlbinoDrought/creamy-static","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fcreamy-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fcreamy-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fcreamy-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fcreamy-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbinoDrought","download_url":"https://codeload.github.com/AlbinoDrought/creamy-static/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbinoDrought%2Fcreamy-static/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267967756,"owners_count":24173567,"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-07-30T02:00:09.044Z","response_time":70,"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":["creamy","golang","static-file-server"],"created_at":"2024-11-16T01:15:43.230Z","updated_at":"2025-07-31T00:42:17.833Z","avatar_url":"https://github.com/AlbinoDrought.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Creamy Static\n\n\u003ca href=\"https://hub.docker.com/r/albinodrought/creamy-static\"\u003e\n\u003cimg alt=\"albinodrought/creamy-static Docker Pulls\" src=\"https://img.shields.io/docker/pulls/albinodrought/creamy-static\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/AlbinoDrought/creamy-static/blob/master/LICENSE\"\u003e\u003cimg alt=\"AGPL-3.0 License\" src=\"https://img.shields.io/github/license/AlbinoDrought/creamy-static\"\u003e\u003c/a\u003e\n\n\nNo-fluff [`pkg/net/http` FileServer](https://golang.org/pkg/net/http/#FileServer) wrapper\nfor serving a local directory on the web\n\n## Usage\n\n- `FILE_PATH`: location to load files from, defaults to `./static` (effectively `/static` in container)\n\n- `PORT`: port to listen on, defaults to `80`\n\n- `WATERMARK`: text to show on HTML pages as a watermark, disabled by default\n\n- `BASIC_AUTH_USERNAME`: enable basic auth with this username\n\n- `BASIC_AUTH_PASSWORD`: enable basic auth with this password\n\n### With Docker\n\n```sh\ndocker run --rm -it \\\n    -p 80:80 \\\n    -v $(pwd)/foo/bar:/static \\\n    -e WATERMARK=\"creamy-static was here\" \\\n    albinodrought/creamy-static\n```\n\n### Without Docker\n\n```sh\nFILE_PATH=./foo/bar \\\nPORT=80 \\\nWATERMARK=\"creamy-static was here\" \\\n./creamy-static\n```\n\n## Building\n\n### With Docker\n\n```sh\ndocker build -t albinodrought/creamy-static .\n```\n\n### Without Docker\n\n```sh\ngo get \u0026\u0026 go build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Fcreamy-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbinodrought%2Fcreamy-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinodrought%2Fcreamy-static/lists"}