{"id":32180994,"url":"https://github.com/tailrecursion/boot.ring","last_synced_at":"2026-02-21T03:31:51.218Z","repository":{"id":14164211,"uuid":"16870181","full_name":"tailrecursion/boot.ring","owner":"tailrecursion","description":"Tasks to start ring servers in the Boot build tool","archived":false,"fork":false,"pushed_at":"2014-06-05T19:06:59.000Z","size":262,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-12-29T20:36:12.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-15T19:41:51.000Z","updated_at":"2020-09-18T23:23:26.000Z","dependencies_parsed_at":"2022-09-23T20:00:56.904Z","dependency_job_id":null,"html_url":"https://github.com/tailrecursion/boot.ring","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tailrecursion/boot.ring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Fboot.ring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Fboot.ring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Fboot.ring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Fboot.ring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailrecursion","download_url":"https://codeload.github.com/tailrecursion/boot.ring/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailrecursion%2Fboot.ring/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29672704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T03:11:15.450Z","status":"ssl_error","status_checked_at":"2026-02-21T03:10:34.920Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-10-21T22:02:17.813Z","updated_at":"2026-02-21T03:31:51.209Z","avatar_url":"https://github.com/tailrecursion.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# boot.ring\n\nThis project contains a number of tasks for the [boot][2] Clojure build tool\nthat can be used to construct [Ring][4] servers for development.\n\n### Dependency\n\nArtifacts are published on Clojars.\n\n[![latest version][3]][1]\n\n### Tasks\n\n| Task           | Description                                                 |\n|----------------|-------------------------------------------------------------|\n| cors           | Middleware to handle cross-origin requests.                 |\n| files          | Middleware to serve static files.                           |\n| head           | Middleware to handle HEAD requests.                         |\n| session-cookie | Middleware to manage client sessions via cookies.           |\n| dev-mode       | Middleware to add the \"X-Dev-Mode\" header to responses.     |\n| jetty          | Start a Jetty server with composition of middleware.        |\n| reload         | Automatically reload namespaces during development.         |\n| dev-server     | The \"kitchen sink\" task to start a dev server.              |\n\nFor more info about a task do `boot [help \u003ctask\u003e]`.\n\n### Usage\n\n```clojure\n#!/usr/bin/env boot\n\n;; build.boot file\n\n#tailrecursion.boot.core/version \"...\"\n\n(set-env!\n  :project ...\n  :version ...\n  :dependencies [[tailrecursion/boot.ring \"...\"] ...]\n  ...)\n\n(require '[tailrecursion.boot.task.ring :as r] ...)\n\n;; Ring tasks can be composed to create the server you desire:\n(deftask my-server\n  []\n  (comp (r/head) (r/dev-mode) (r/files) (r/jetty)))\n\n(defn wrap-foo [handler]\n  (fn [req]\n    ;; ...\n    (handle req)))\n\n;; You can create your own middleware task to insert your middleware:\n(deftask my-middleware\n  []\n  (r/ring-task wrap-foo))\n  \n;; And use your task, composing it with other ring tasks:\n(deftask my-other-server\n  []\n  (comp (head) (dev-mode) (my-middleware) (files) (jetty)))\n```\n\n## License\n\nCopyright © 2013 Alan Dipert and Micha Niskin\n\nDistributed under the Eclipse Public License, the same as Clojure.\n\n[1]: https://clojars.org/tailrecursion/boot.ring\n[2]: https://github.com/tailrecursion/boot\n[3]: https://clojars.org/tailrecursion/boot.ring/latest-version.svg?cachebust=2\n[4]: https://github.com/ring-clojure/ring\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailrecursion%2Fboot.ring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailrecursion%2Fboot.ring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailrecursion%2Fboot.ring/lists"}