• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    Clojure
  • License
    MIT License
  • Created about 9 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

💡 Make an electron app with nothing but ClojureScript!

Electron & ClojureScript

This repository contains an Electron app written in ClojureScript. In contrast to other examples out there this one uses ClojureScript for both parts of the Electron app: the main process and the renderer.

Development

For development you can start the compiler with boot watch dev-build. This will incrementally compile ClojureScript sources, push changes to your running Electron app and provide a REPL connection (docs)into the app.

You can start the electron process using electron-prebuilt or using a downloaded Electron.app package:

electron target/                          # Do not omit the trailing '/'

The build.boot file is annotated so you can exactly understand what's happening. When you make changes to the main process (the app.main namespace) you will need to restart the application. Probably automatic reloading could be added here too but changes are the main process are not as frequent so I didn't bother too much.

Packaging the app

The easiest way to package an electron app is by using electron-packager:

electron-packager target/ MyApp --platform=darwin --arch=x64 --version=0.31.2

License

This project is licensed under the MIT license.

More Repositories

1

tenzing

⚡️ Clojurescript application template using Boot
Clojure
403
star
2

derivatives

🌱 Your companion to create derived values from a single source (atom)
Clojure
112
star
3

s3-beam

🚀 direct-to-S3 uploading using ClojureScript
Clojure
92
star
4

dotfiles

Configuration for Emacs, Fish, Tmux, Git etc.
Lua
50
star
5

boot-garden

Boot task to compile Garden stylesheets.
Clojure
37
star
6

boot-deps

lein-ancient like task for boot
Clojure
27
star
7

custom-comparator-set

🔬 A Clojure/Script library for custom comparator sets
Clojure
11
star
8

boot-gzip

Boot task to gzip files and nothing else.
CSS
9
star
9

prune-feature-flags.clj

A small utility script to remove no longer needed conditionals in Clojure code
Clojure
8
star
10

martinklepsch.org

personal pages
HTML
7
star
11

learnclojure

An attempt at easing the pain for Clojure newcomers
6
star
12

soundrain

download soundcloud songs with ease
Clojure
6
star
13

autochrome-action

HTML
6
star
14

tlog

toy cli time tracker written in fennel-lang
Makefile
5
star
15

perun-guide

4
star
16

vscode-joker-clojure-linter

Clojure Linter for VS Code
TypeScript
4
star
17

boot-checkouts-demo

A small tutorial on using boot's checkouts option
Clojure
3
star
18

goldman.clj

a small toolchain to fetch stock data & analyze it (future)
Clojure
2
star
19

acme-clj

Clojure
2
star
20

om-docset

A Dash Docset for Om
CSS
2
star
21

one-of-each

🎹 my little personal music blog
Clojure
2
star
22

.vim

my vim config
Vim Script
1
star
23

configure

Install your dotfiles on any unix system with ease
Ruby
1
star
24

rethink

Clojure
1
star
25

boot-as-library

Shell
1
star
26

mobiledoc-test

Clojure
1
star
27

glitter

Racket program to automate bucket creation as well as some other AWS things.
Racket
1
star
28

boot-cljs-multiple-builds

Clojure
1
star
29

suggest

Clojure
1
star