{"id":13760473,"url":"https://github.com/Gonzih/cljs-electron","last_synced_at":"2025-05-10T10:32:58.886Z","repository":{"id":25298302,"uuid":"28724624","full_name":"Gonzih/cljs-electron","owner":"Gonzih","description":"ClojureScript + Electron + Figwheel + Reagent  = ❤❤❤","archived":false,"fork":false,"pushed_at":"2020-04-07T16:20:37.000Z","size":113,"stargazers_count":598,"open_issues_count":0,"forks_count":52,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-08-03T13:04:58.607Z","etag":null,"topics":["clojure","clojurescript","electron","figwheel","reagent"],"latest_commit_sha":null,"homepage":"","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/Gonzih.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-02T20:03:37.000Z","updated_at":"2024-05-31T07:39:07.000Z","dependencies_parsed_at":"2022-09-15T04:10:51.082Z","dependency_job_id":null,"html_url":"https://github.com/Gonzih/cljs-electron","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/Gonzih%2Fcljs-electron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gonzih%2Fcljs-electron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gonzih%2Fcljs-electron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gonzih%2Fcljs-electron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gonzih","download_url":"https://codeload.github.com/Gonzih/cljs-electron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224949839,"owners_count":17397242,"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":["clojure","clojurescript","electron","figwheel","reagent"],"created_at":"2024-08-03T13:01:11.002Z","updated_at":"2024-11-16T17:31:12.518Z","avatar_url":"https://github.com/Gonzih.png","language":"Clojure","funding_links":[],"categories":["Clojure"],"sub_categories":[],"readme":"[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/Gonzih/cljs-electron/blob/master/LICENSE.md)\n![Build](https://github.com/Gonzih/cljs-electron/workflows/CI/badge.svg)\n\n# Clojurified Electron\n\n![](https://raw.githubusercontent.com/Gonzih/cljs-electron/master/demo.gif)\n\nMy attempt to recreate ClojureScript development workflow while developing desktop apps with [electron](http://electron.atom.io/).\n\n## What is currently included\n\n* ClojureScript (init script and ui code)\n* Figwheel for interactive development\n* Reagent for UI\n* Advanced compilation with externs inference in release compilation targets\n\n## Running it\n\n```shell\nnpm install electron -g # install electron binaries\n\n```\n\n### Terminal\n```shell\nlein cooper                      # compile cljs and start figwheel\nelectron .                       # start electron from another terminal\n```\n\n### Emacs REPL\n```shell\nlein cljsbuild once\n```\n\n\u003ckbd\u003eM-x cider-jack-in-cljs\u003c/kbd\u003e\n\u003ckbd\u003efigwheel\u003c/kbd\u003e\n\n```shell\nelectron .\n```\n\n## Releasing\n\n```shell\nlein do clean, cljsbuild once frontend-release, cljsbuild once electron-release\nelectron . # start electron to test that everything works\n```\n\nAfter that you can follow [distribution guide for the electron.](https://github.com/atom/electron/blob/master/docs/tutorial/application-distribution.md)\n\nThe easiest way to package an electron app is by using [electron-packager](https://github.com/maxogden/electron-packager):\n\n```shell\nnpm install electron-packager -g                                            # install electron packager\nelectron-packager . HelloWorld --platform=darwin --arch=x64 --electron-version=1.4.8 # package it!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGonzih%2Fcljs-electron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGonzih%2Fcljs-electron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGonzih%2Fcljs-electron/lists"}