{"id":21980452,"url":"https://github.com/profburke/webserving-made-easy","last_synced_at":"2026-04-13T20:01:50.337Z","repository":{"id":151147289,"uuid":"273767225","full_name":"profburke/webserving-made-easy","owner":"profburke","description":"A list of various ways to easily serve files via HTTP.","archived":false,"fork":false,"pushed_at":"2020-06-20T19:57:14.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:14:48.413Z","etag":null,"topics":["development-tool","development-tools","fileserver","http"],"latest_commit_sha":null,"homepage":"","language":null,"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/profburke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-06-20T18:57:13.000Z","updated_at":"2020-06-20T19:58:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8403525-1e7f-47b3-9b8d-4cfe143a2675","html_url":"https://github.com/profburke/webserving-made-easy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/profburke/webserving-made-easy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profburke%2Fwebserving-made-easy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profburke%2Fwebserving-made-easy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profburke%2Fwebserving-made-easy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profburke%2Fwebserving-made-easy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profburke","download_url":"https://codeload.github.com/profburke/webserving-made-easy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profburke%2Fwebserving-made-easy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["development-tool","development-tools","fileserver","http"],"created_at":"2024-11-29T17:11:26.057Z","updated_at":"2026-04-13T20:01:50.311Z","avatar_url":"https://github.com/profburke.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Easy Webserving\n\nSometimes you want a dirt-simple way of serving one or more files via HTTP. You may be in the middle of developing some software and just want to easily test downloading a file, or often it's the easiest way to copy a file from your local machine, etc.\n\nBelow are multiple ways of doing so, separated by language.\n\nI encourage you to open a [pull request](https://github.com/profburke/webserving-made-easy/pulls) or [issue](https://github.com/profburke/webserving-made-easy/issues) to add to this list!\n\n- [Go](#go)\n- [Python 2](#python2)\n- [Python 3](#python3)\n- [Ruby](#ruby)\n- [Rust](#rust)\n\n\n\n### \u003ca name=\"go\"\u003e\u003c/a\u003eGo\n\n- go exec 'http.ListenAndServe(`:8080`, http.FileServer(http.Dir(`.`)))'\n\n1. ### \u003ca name=\"python2\"\u003e\u003c/a\u003ePython 2\n\n- python -m SimpleHTTPServer \u003c*port#*\u003e\n\n\t\u003e supports GET, HEAD\n\n\t\u003e default port 8000\n\n- [woof.py](https://gist.github.com/robcowie/372849)\n\n\t\u003e easy, one-time file servring (i.e. quits after file is downloaded)\n\t\n\t\u003e when run will display URL where file is served\n\t\n### \u003ca name=\"python3\"\u003e\u003c/a\u003ePython 3\n\n- python3 -m http.server \u003c*port#*\u003e\n\n\t\u003e default port 8000\n\n### \u003ca name=\"ruby\"\u003e\u003c/a\u003eRuby\n\n- ruby -run -e httpd .  \u003c-p *port#*\u003e\n\n\t\u003e default port 880\n\n### \u003ca name=\"rust\"\u003e\u003c/a\u003eRust\n\n- [microserver](https://github.com/robertohuertasm/microserver)\n\n\t\u003e cargo install microserver\n\t\n\t\u003e From the command line: microserver \u003c*path/to/folder*\u003e\n\t\n\t\u003e Will serve single single page applications\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofburke%2Fwebserving-made-easy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofburke%2Fwebserving-made-easy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofburke%2Fwebserving-made-easy/lists"}