{"id":32192044,"url":"https://github.com/tailrecursion/lein-simpleton","last_synced_at":"2025-12-12T01:33:25.658Z","repository":{"id":62435335,"uuid":"9304533","full_name":"tailrecursion/lein-simpleton","owner":"tailrecursion","description":"A Leiningen plugin to serve files out of a local directory -- very similar to Python's SimpleHTTPServer","archived":false,"fork":false,"pushed_at":"2015-10-28T21:25:10.000Z","size":315,"stargazers_count":68,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-22T01:57:10.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/tailrecursion.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}},"created_at":"2013-04-08T19:10:00.000Z","updated_at":"2022-06-20T08:14:44.000Z","dependencies_parsed_at":"2022-11-01T21:02:30.463Z","dependency_job_id":null,"html_url":"https://github.com/tailrecursion/lein-simpleton","commit_stats":null,"previous_names":["fogus/lein-simpleton"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tailrecursion/lein-simpleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Flein-simpleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Flein-simpleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Flein-simpleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Flein-simpleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailrecursion","download_url":"https://codeload.github.com/tailrecursion/lein-simpleton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Flein-simpleton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280365591,"owners_count":26318385,"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-22T01:57:19.285Z","updated_at":"2025-10-22T01:57:23.891Z","avatar_url":"https://github.com/tailrecursion.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lein-simpleton\n\nA Leiningen plugin to serve files out of a local directory -- very similar to `python -m SimpleHTTPServer \u003cport\u003e`.\n\n## Usage\n\n### System-wide install\n\nPut `[lein-simpleton \"1.3.0\"]` into the `:plugins` vector of your\n`:user` profile, or if you are on Leiningen 1.x do `lein plugin install lein-simpleton 1.3.0`.\n\n### Per-project install\n\nPut `[lein-simpleton \"1.3.0\"]` into the `:plugins` vector of your project.clj.\n\n### Running\n\nBy default Simpleton provides a file-server in the directory where it's run.  To run:\n\n    $ lein simpleton 5000\n\nNavigate to \u003chttp://localhost:5000\u003e and see a directory listing.  Click around to navigate directories and download (some) files.  If a directory contains a file named either `index.html` or `index.htm` then Simpleton will attempt to serve that automatically.\n\n#### `:from`\n\nIf you need to run Simpleton to serve files from a specific directory, then you can run something like the following:\n\n    lein simpleton 5000 file :from c:\\Windows\n\nThis is especially useful if you would like to serve a specific sub-directory in a Leiningen-managed project:\n\n    lein simpleton 5000 file :from src\n\nBy default, the `lein simpleton 5000` will always serve a Leiningen project's root without using the `:from` declaration above.\n\n#### Running the echo server\n\nSimpleton can also run an echo server that reflects the incomming HTTP headers back as [EDN](https://github.com/edn-format/edn) data.\n\n    $ lein simpleton 5000 echo\n\nNavigate to \u003chttp://localhost:5000\u003e` to download an EDN file.\n\n### Running the hello server\n\nSimpleton can also run a \"Hello\" server that just returns a canned text string.\n\n    $ lein simpleton 5000 hello\n\nNavigating to \u003chttp://localhost:5000\u003e to see the message.\n\n## Contributing\n\nPatches and pushes welcomed.  Please see the [lein-simpleton tickets page](https://github.com/fogus/lein-simpleton/issues) to see if there's something that you like added, or add it, hack and push away.\n\nLicense\n-------\n\nCopyright (C) 2013 Fogus and contributors.\n\nDistributed under the Eclipse Public License, the same as Clojure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailrecursion%2Flein-simpleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailrecursion%2Flein-simpleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailrecursion%2Flein-simpleton/lists"}