Skip to content

Commit dde210f

Browse files
committed
2 parents 8d2a675 + 8423670 commit dde210f

3 files changed

Lines changed: 78 additions & 1 deletion

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
paths-ignore:
7+
- 'README.md'
8+
- 'README/*.md'
9+
pull_request:
10+
branches: [ "main" ]
11+
paths-ignore:
12+
- 'README.md'
13+
- 'README/*.md'
14+
15+
env:
16+
BUILD_TYPE: Release
17+
BUILD_DIR: ${{ github.workspace }}/build
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Install dependencies
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get install -y cmake g++ pkg-config libopenmpt-dev portaudio19-dev libncursesw5-dev
30+
31+
- name: Configure CMake
32+
run: cmake -S ${{ github.workspace }} -B ${{ env.BUILD_DIR }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
33+
34+
- name: Build
35+
run: cmake --build ${{ env.BUILD_DIR }} --config ${{ env.BUILD_TYPE }}
36+
37+
- name: Test
38+
working-directory: ${{ env.BUILD_DIR }}
39+
run: ctest -C ${{ env.BUILD_TYPE }} --output-on-failure
40+
41+
- name: Upload build artifact
42+
if: always()
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: modtracker-${{ env.BUILD_TYPE }}
46+
path: |
47+
${{ env.BUILD_DIR }}/modtracker
48+
${{ env.BUILD_DIR }}/note_formatter_tests

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Daniar Mannanov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cli-tracker
1+
# cli-modplayer
22

33
A console MOD tracker player for Linux inspired by tools like ProTracker. The app streams audio through PortAudio, loads songs with libopenmpt, and shows a live channel grid in the terminal using ncurses.
44
[Watch the showcase video](https://www.youtube.com/watch?v=CXP1AppBVT4)
@@ -33,6 +33,9 @@ cmake --build build
3333
./build/modtracker /path/to/song.mod
3434
```
3535

36+
Or you can download one of the prebuilt binaries in the "Releases"
37+
Or download one from GitHub workflow artifacts.
38+
3639
Key bindings inside the UI:
3740

3841
- `Space` — pause or resume playback
@@ -41,3 +44,8 @@ Key bindings inside the UI:
4144
- `PgUp` / `PgDn` (or `u` / `d`) — page through channel columns when the module has more than four channels
4245
- `N` — show or hide the info overlay
4346
- `Q` — quit the program
47+
48+
49+
### TODO
50+
add crossplatform support (windows and mac)
51+
uhhh idk

0 commit comments

Comments
 (0)