{"id":22472318,"url":"https://github.com/ckampfe/cljs-exe","last_synced_at":"2025-03-27T16:22:04.205Z","repository":{"id":72030335,"uuid":"79684421","full_name":"ckampfe/cljs-exe","owner":"ckampfe","description":"cljs -\u003e js -\u003e exe","archived":false,"fork":false,"pushed_at":"2017-12-08T16:58:08.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T20:11:21.447Z","etag":null,"topics":["boot","cljs","clojurescript","nexe"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ckampfe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-01-22T01:22:18.000Z","updated_at":"2020-01-03T03:16:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"f81776f6-31d5-45eb-b21c-a17599040414","html_url":"https://github.com/ckampfe/cljs-exe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckampfe%2Fcljs-exe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckampfe%2Fcljs-exe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckampfe%2Fcljs-exe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckampfe%2Fcljs-exe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckampfe","download_url":"https://codeload.github.com/ckampfe/cljs-exe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245879089,"owners_count":20687319,"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":["boot","cljs","clojurescript","nexe"],"created_at":"2024-12-06T12:14:20.734Z","updated_at":"2025-03-27T16:22:04.198Z","avatar_url":"https://github.com/ckampfe.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cljs-exe\n\ncljs-exe is a Boot template to create a Clojurescript\napplication that will compile to a native binary using\n[nexe](https://github.com/nexe/nexe).\n\n[![Clojars Project](https://img.shields.io/clojars/v/cljs-exe/lein-template.svg)](https://clojars.org/cljs-exe/lein-template)\n\n## Motivation\n\n[nexe](https://github.com/nexe/nexe), on which this project is based, lists these reasons:\n\n- Ability to run multiple applications with different node.js runtimes.\n- Distributable binaries without needing node / npm.\n- Starts faster.\n- Lockdown specific application versions, and easily rollback.\n- Faster deployments.\n\nI'll second those and add: \"In ClojureScript.\"\n\n## Quickstart\n\nYou will need\n- [Boot](https://github.com/boot-clj/boot)\n- [NodeJS](https://nodejs.org/)\n- [Python](https://www.python.org/) somewhere on your path (it is an nexe dependency)\n\n```\n$ brew install boot-clj\n$ boot -d boot/new new -S -t cljs-exe -n your_project_name\n$ cd your_project_name\n$ boot package\n```\n\nThis will compile some sample Clojurescript code to Javascript, then compiling the Javascript to a native binary.\n\n## Tasks\n\nThis project template gives you a few boot tasks:\n\n- `build`: runs the Clojurescript compiler with defaults that include: fetching npm dependencies that are listed in the `js-dependencies` var in `build.boot`, emitting source maps, and no compiler optimizations.\n- `dev`: runs `build` in a watch loop, rerunning `build` anytime you change a source file.\n- `binary`: compiles the current project Javascript into a native binary on your platform.\n- `package`: compiles Clojurescript to Javascript with `simple` compiler optimizations and no source maps, then compiles that Javascript to a native binary on your platform.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckampfe%2Fcljs-exe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckampfe%2Fcljs-exe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckampfe%2Fcljs-exe/lists"}