{"id":32165009,"url":"https://github.com/ericentin/serve_this","last_synced_at":"2025-12-12T00:15:16.585Z","repository":{"id":57547068,"uuid":"60120981","full_name":"ericentin/serve_this","owner":"ericentin","description":"An Elixir escript that serves the current directory, with directory listings and indexes.","archived":false,"fork":false,"pushed_at":"2018-10-30T16:36:07.000Z","size":4920,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T14:57:24.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericentin.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":"2016-05-31T20:26:12.000Z","updated_at":"2023-09-01T10:55:30.000Z","dependencies_parsed_at":"2022-09-05T12:31:01.250Z","dependency_job_id":null,"html_url":"https://github.com/ericentin/serve_this","commit_stats":null,"previous_names":["antipax/serve_this"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ericentin/serve_this","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericentin%2Fserve_this","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericentin%2Fserve_this/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericentin%2Fserve_this/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericentin%2Fserve_this/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericentin","download_url":"https://codeload.github.com/ericentin/serve_this/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericentin%2Fserve_this/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280281400,"owners_count":26303709,"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-10-21T02:00:06.614Z","response_time":58,"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":[],"created_at":"2025-10-21T14:57:27.452Z","updated_at":"2025-10-21T14:57:28.511Z","avatar_url":"https://github.com/ericentin.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ServeThis\n\nAn escript that serves the current directory over HTTP.\n\nI didn't want to have to use `python -m SimpleHTTPServer` anymore so I made\nthis. It's basically exactly the same thing, except ~10 times faster, and it\nsupports etag caching. Great for previewing what your generated ExDoc looks like\nfor your project by running it in `/doc`.\n\nShould definitely work on Linux and Mac OS X, but untested on Windows. Let me\nknow if it works for you!\n\n## Installation\n\nIf you have Elixir 1.4 or above,\n\n`mix escript.install hex serve_this`\n\nIf you have Elixir 1.3 or above,\n\n`mix escript.install https://raw.githubusercontent.com/antipax/serve_this/master/serve_this`\n\nIf you don't trust me, you can also clone this repository, read the code, and\nthen run this yourself:\n\n`MIX_ENV=prod mix escript.build, escript.install`\n\nOtherwise, download or build the `serve_this` escript and place it\nsomewhere in your path.\n\n## Usage\n\nAfter installation, simply run `serve_this` to serve the current directory on\nport 8000.\n\nYou can use the `PORT` environment variable to alter the server port\nfrom the default, which is 8000.\n\nIf you access a directory, you will receive a listing, unless a file named\n`index.html` is present, in which case it will be served instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericentin%2Fserve_this","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericentin%2Fserve_this","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericentin%2Fserve_this/lists"}