https://github.com/tfc/electron-purescript-example
A minimal example Electron app that is written in Purescript
https://github.com/tfc/electron-purescript-example
electron esbuild flake nix purescript purs-nix react
Last synced: about 1 month ago
JSON representation
A minimal example Electron app that is written in Purescript
- Host: GitHub
- URL: https://github.com/tfc/electron-purescript-example
- Owner: tfc
- Created: 2022-10-27T20:00:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T10:09:12.000Z (over 3 years ago)
- Last Synced: 2025-08-24T15:02:10.007Z (10 months ago)
- Topics: electron, esbuild, flake, nix, purescript, purs-nix, react
- Language: PureScript
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Electron Purescript Example
This repository presents a skeleton of a minimal example [Electron](https://www.electronjs.org/) app that is implemented in [Purescript](https://www.purescript.org/) and [React](https://reactjs.org/).
Big thank you to [@i-am-the-slime](https://github.com/i-am-the-slime) for providing me access to one of his applications to learn how Electron works together with Purescript!
In order to run the examples, install [nix](https://nixos.org/download.html) first.

## Running the application
You can run the application without checking the repository out:
```sh
nix run github:tfc/electron-purescript-example
```
## Development workflow
Check out the application and then run:
```sh
nix develop
npm install
npm run build
```
The `nix develop` step can be skipped if you have [`direnv`](https://direnv.net/)