Automic VaultAutomic Vault

brew

Install melody with Homebrew, Nix, zypper

Language that compiles to regular expressions. Version 0.20.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install melody

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#melody

nixpkgs package indexes · pkgs/by-name/me/melody/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install playmymusic

openSUSE Tumbleweed package metadata · playmymusic · source: download.opensuse.org

overview

Package summary

Language that compiles to regular expressions

Commands and aliases

  • melody

history

Project history and usage

Melody is a small language that compiles to ECMAScript regular expressions. Its README says the goal is to make regular expressions more readable and maintainable, with a CLI, compiler crate, WebAssembly bindings, playground, book, editor extensions, and package integrations.

Project history

The project is organized as a Rust workspace with crates for the compiler, CLI, and WASM bindings. The README shows Melody source examples compiling into ordinary regular expressions, along with syntax for quantifiers, symbols, literals, groups, assertions, variables, comments, and file extensions .mdy and .melody.

Melody evolved rapidly during 2022, as reflected in the changelog: early releases added the REPL, raw sequences, lookahead/lookbehind assertions, cleaner CLI output, a Pest grammar and AST, lazy quantifiers, negative symbols, variables, shell completions, Deno support, stdin support, CLI testing, file-based testing, and unicode-category support.

The project reached v0.20.0 in November 2024, when the changelog notes an MSRV bump to Rust 1.74.0 and removal of the unmaintained atty dependency.

Adoption history

Melody is a niche developer tool rather than a large infrastructure package, but it has visible interest for a DSL project: the GitHub repository shows thousands of stars, a crates.io-published CLI/compiler path, a browser playground, documentation book, Homebrew installation, Nix packaging, and community-maintained Arch packaging.

Its adoption is tied to developers who want regex readability without abandoning regular expressions as the runtime artifact. That gives package managers a compact CLI and compiler tool whose output remains portable JavaScript-compatible regex.

How it is used

Users can install melody_cli with cargo, install from source, download macOS binaries from GitHub releases, or use Homebrew. The CLI reads a file or stdin, writes compiled regex to stdout or an output file, can test against strings or files, generates shell completions, and offers a REPL.

The book and README document syntax that maps readable constructs such as some of <word>, <start>, capture blocks, and either blocks to regular-expression primitives.

Why package nerds care

Melody is significant as a packaged regex DSL: it is not a runtime service, but a compiler that turns readable source into a ubiquitous target. That makes it easy to package and easy to evaluate, while still touching language tooling, WASM, editor extensions, and JavaScript ecosystem integrations.

Timeline

  • 2022-02: Early releases added REPL, assertions, AST parsing, and CLI behavior changes.
  • 2022-04: v0.14.0 through v0.18.0 added stdin, shell completions, Deno support, CLI testing, file testing, and unicode categories.
  • 2023-07-16: v0.19.0 set the MSRV to Rust 1.65.0 and improved WASM/Deno behavior.
  • 2024-11-24: v0.20.0 set the MSRV to Rust 1.74.0 and removed atty.

Related projects

  • melody_compiler: the compiler crate.
  • melody_cli: the command-line wrapper around the compiler.
  • melody_wasm: the WebAssembly bindings.
  • ECMAScript regular expressions: the target regex dialect.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
melodycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.20.0
manager updated
local dataok
upstreamcurrent
latest detectedv0.20.0

https://github.com/yoav-lavi/melody

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:melody
Version0.20.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/melody
Homepagehttps://yoav-lavi.github.io/melody/book
Repositoryhttps://github.com/yoav-lavi/melody
Upstream docshttps://github.com/yoav-lavi/melody#readme
LicenseApache-2.0 OR MIT
Source archivehttps://github.com/yoav-lavi/melody/archive/refs/tags/v0.20.0.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemelody
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

melody

nix profile install nixpkgs#melody
  • normalized package name match
  • Matched by: Melody
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/melody/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

playmymusic 2.2.1-1.6

A music player for local files and remote streams

https://github.com/artemanufrij/playmymusic

sudo zypper install playmymusic
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: playmymusic
  • 17 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Melody
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: playmymusic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment