{"id":20619895,"url":"https://github.com/zedseven/file-server","last_synced_at":"2026-04-21T01:05:03.499Z","repository":{"id":77012761,"uuid":"328778462","full_name":"zedseven/file-server","owner":"zedseven","description":"A basic static file server made with Rocket for serving up static files over HTTP.","archived":false,"fork":false,"pushed_at":"2021-10-11T21:10:26.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T05:09:20.140Z","etag":null,"topics":["file-server","rocket","rocket-rs","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zedseven.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":"2021-01-11T20:05:38.000Z","updated_at":"2021-10-13T12:26:24.000Z","dependencies_parsed_at":"2023-02-28T20:00:45.672Z","dependency_job_id":null,"html_url":"https://github.com/zedseven/file-server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Ffile-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Ffile-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Ffile-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedseven%2Ffile-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zedseven","download_url":"https://codeload.github.com/zedseven/file-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277683,"owners_count":20101542,"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":["file-server","rocket","rocket-rs","rust"],"created_at":"2024-11-16T12:12:46.584Z","updated_at":"2026-04-21T01:04:58.427Z","avatar_url":"https://github.com/zedseven.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Server\n[![License: WTFPL](https://img.shields.io/badge/license-WTFPL-blue.svg)](http://www.wtfpl.net/about/)\n\nA basic file server made with [Rocket](https://rocket.rs/) for serving up static files over HTTP.\n\n## Usage\nUsage is super simple:\n```\nfile_server \u003cpath\u003e\n```\n(a different `port` can also be optionally specified, and defaults to `8080`)\n\nThen just access the device running `file_server` at `\u003cip\u003e:8080/\u003cfile_path\u003e`.\n\n## Installation\nIf you have Rust installed on your machine, simply run:\n```\ncargo install --git https://github.com/zedseven/file-server\n```\n\nIf not, you should likely be able to get a working executable for your platform from the [Releases tab](https://github.com/zedseven/file-server/releases).\n\n## Building\nRun the following commands from the project directory.\n\nBecause the program uses Rocket, you must use the nightly build of Rust. To set Rust to use nightly for just this project,\nuse the following command:\n```\nrustup override set nightly\n```\nThen, just build the executable as normal:\n```\ncargo build --release\n```\nThe built executable will be in `target/release`.\n\n## Note\nThis isn't designed for production use, and moreso for quickly serving a directory of files for use on a local network.\nIn my case, I just wanted to be able to browse and watch local files on my PC, from my phone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedseven%2Ffile-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzedseven%2Ffile-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedseven%2Ffile-server/lists"}