Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vincent-the-gamer/nemassler

Transform .ncm audio into .mp3 audio, and support .mp3 BPM calculation, built in Rust.
https://github.com/vincent-the-gamer/nemassler

audio-converter netease-cloud-music

Last synced: 5 days ago
JSON representation

Transform .ncm audio into .mp3 audio, and support .mp3 BPM calculation, built in Rust.

Awesome Lists containing this project

README

        



Nemassler


Transform netease .ncm audios into mp3 and calculate audio BPM, built in Rust.

> [!NOTE]
> This is v2.x version of nemassler, find v1 [here](https://github.com/Vincent-the-gamer/nemassler/tree/v1).

# Dev

## Run dev app

```shell
pnpm run tauri dev
```

## Bump versions of `Cargo.toml`

1. Install `cargo-edit` globally

```shell
cargo install cargo-edit --features vendored-openssl
```

2. Run `cargo upgrade`.

```shell
cargo upgrade
```

P.S. Check your global cargo packs with `cargo install --list`

## Update tauri toolchain

```shell
pnpm run tauri migrate
```

# Build

## Build via GitHub Actions
Edit `.github/workflows/release.yml`,

```yaml
steps:
- uses: actions/checkout@v2

# 创建 release
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: 'v2.0.0' # Change here to your release version.
release_name: 'Nemassler v2.0.0' # Release title.
body: 'Released by GitHub Actions.' # Release content.
```

CI will trigger on `release` branch push.

## Manually build
```shell
pnpm run tauri build
```

# Preview

![preview1](.github/img/preview1.png)
![preview2](.github/img/preview2.png)
![preview3](.github/img/preview3.png)