Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/salif/nemo_gleam

[Mirror] GUI extension for Gleam development
https://github.com/salif/nemo_gleam

cli gleam gleam-lang gleam-language gui-wrapper nemo nemo-contextmenu nemo-extension zenity

Last synced: 13 days ago
JSON representation

[Mirror] GUI extension for Gleam development

Awesome Lists containing this project

README

        

# Graphical user interface for Gleam development

[![Package Version](https://img.shields.io/hexpm/v/nemo_gleam)](https://hex.pm/packages/nemo_gleam)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/nemo_gleam/)

## Install

Requires [Gleam](https://gleam.run) and [just](https://just.systems/) for development and
[Zenity](https://gitlab.gnome.org/GNOME/zenity) and [Erlang](https://www.erlang.org/) for runtime.

### Build from source

```sh
# 1. Clone this git repository
git clone https://codeberg.org/salif/nemo_gleam.git
cd nemo_gleam

# 2. Build the project
just make

# (Optional) JavaScript target:
just make-js

# (Optional) A single executable file:
just make-escript

# 3. Install to ~/.local/
just install-local
# or
# Install to /usr/
just install
```

### Arch Linux

It's available through the Arch User Repository as package
[nemo_gleam](https://aur.archlinux.org/packages/nemo_gleam).
You can use your prefered helper to install it.

```sh
yay -S nemo_gleam
```

### File managers

The extension will be installed for Nemo and Dolphin.

#### Nautilus

If you use Nautilus file manager, additionally run this command:

```sh
just install-ext-nautilus
```

#### Caja

If you use Caja file manager, additionally run this command:

```sh
just install-ext-caja
```

#### PCManFM

If you use PCMan file manager, additionally run this command:

```sh
just install-ext-pcmanfm
```

## CLI

```sh
Usage: gleam-action

Commands:
actions Actions (buttons)
list Actions (list)
act Action
```

## Contribute

### Translate

Translations are located in the [locales](./locales/) folder.

## Development

```sh
gleam run # Run the project
gleam test # Run the tests
```