summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-04-18 17:48:09 +0900
committerAdam Malczewski <[email protected]>2026-04-18 17:48:09 +0900
commit48e26ce606644de7b529f819d6aeffcdceef2ffc (patch)
tree8f53acbb51dac6289e6c528ce25ed2c73435cc8d /README.md
downloadstudy-player-48e26ce606644de7b529f819d6aeffcdceef2ffc.tar.gz
study-player-48e26ce606644de7b529f819d6aeffcdceef2ffc.zip
initial
Diffstat (limited to 'README.md')
-rw-r--r--README.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c8335c1
--- /dev/null
+++ b/README.md
@@ -0,0 +1,49 @@
+# Study Player
+
+A keyboard-driven MP3 player built with [raylib](https://github.com/raysan5/raylib), cross-compiled for Windows from Linux using MinGW.
+
+### Dependencies
+
+Clone the following repositories into the `deps/` directory:
+
+```bash
+mkdir -p deps
+git clone https://github.com/raysan5/raylib.git deps/raylib
+git clone https://github.com/raysan5/raygui.git deps/raygui
+```
+
+You also need the MinGW cross-compiler installed:
+
+```bash
+# Debian/Ubuntu
+sudo apt install mingw-w64
+```
+
+### Building
+
+```bash
+make
+```
+
+The output binary is `build/study-player.exe`.
+
+### Usage
+
+Run the `.exe` on Windows (or under Wine). The controls are:
+
+| Key | Action |
+|---|---|
+| **Drag & drop** | Drop an `.mp3` file onto the window to load and play it |
+| **Space** | Pause (rewinds 1 second) / Resume |
+| **Left Arrow** | Seek backward 5 seconds |
+| **Right Arrow** | Seek forward 5 seconds |
+
+### Project Structure
+
+```
+src/main.c Application source
+deps/raylib/ raylib (cloned separately)
+deps/raygui/ raygui (cloned separately)
+build/ Build output (gitignored)
+resources/ Runtime resources (gitignored)
+```