From 5e6fe6a11c2f0c79a93ea3a4ed23fdc6ab304e65 Mon Sep 17 00:00:00 2001 From: edideaur Date: Wed, 4 Mar 2026 17:59:22 +0000 Subject: [PATCH] undo taglib bullshit and update devcontainer --- .devcontainer/Dockerfile | 66 +++++++++++++++++++++++++++++++++ .devcontainer/devcontainer.json | 25 +++++++++++++ todo.md | 8 ---- 3 files changed, 91 insertions(+), 8 deletions(-) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json delete mode 100644 todo.md diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..7750aa2 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,66 @@ +# ------------------------------------------------------------ +# Base Image +# ------------------------------------------------------------ +FROM debian:unstable-slim + +ENV DEBIAN_FRONTEND=noninteractive +ENV LANG=C.UTF-8 +ENV LC_ALL=C.UTF-8 + +# ------------------------------------------------------------ +# System Dependencies +# ------------------------------------------------------------ +RUN apt-get update && apt-get upgrade -y && \ + apt-get install -y --no-install-recommends \ + curl \ + ca-certificates \ + git \ + build-essential \ + sudo \ + fish \ + unzip \ + xz-utils \ + libatomic1 \ + libc6 \ + wget && \ + rm -rf /var/lib/apt/lists/* + +# ------------------------------------------------------------ +# Create Non-Root User +# ------------------------------------------------------------ +ARG USERNAME=devuser +ARG UID=1000 +ARG GID=1000 + +RUN groupadd --gid ${GID} ${USERNAME} && \ + useradd --uid ${UID} --gid ${GID} -m -s /usr/bin/fish ${USERNAME} && \ + echo "${USERNAME} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers + +USER ${USERNAME} +WORKDIR /home/${USERNAME} + +# ------------------------------------------------------------ +# Install Bun (Non-Root) +# ------------------------------------------------------------ +ENV BUN_INSTALL=/home/${USERNAME}/.bun +ENV PATH="${BUN_INSTALL}/bin:${PATH}" + +RUN curl -fsSL https://bun.sh/install | bash + +# ------------------------------------------------------------ +# Install OpenCode (Proper PATH Handling) +# ------------------------------------------------------------ +RUN curl -fsSL https://opencode.ai/install -o opencode-install && \ + chmod +x opencode-install && \ + ./opencode-install --yes && \ + rm opencode-install + +# Add OpenCode to PATH permanently +ENV PATH="/home/${USERNAME}/.opencode/bin:${PATH}" + +# ------------------------------------------------------------ +# Ensure fish is Default Shell +# ------------------------------------------------------------ +ENV SHELL=/usr/bin/fish + +CMD ["fish"] \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..4f46093 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,25 @@ +{ + "name": "debian-bun-fish-devcontainer", + "build": { + "dockerfile": "Dockerfile" + }, + + "remoteUser": "devuser", + + "features": {}, + + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ] + } + }, + + "postCreateCommand": "bun --version && code --version", + + "remoteEnv": { + "SHELL": "/usr/bin/fish" + } +} \ No newline at end of file diff --git a/todo.md b/todo.md deleted file mode 100644 index b982ace..0000000 --- a/todo.md +++ /dev/null @@ -1,8 +0,0 @@ -# Feature Requests - -Sorted by ease of implementation (easiest to hardest): - -- [ ] effects like reverb, delay, and bitcrushing -- [ ] Customizable EQ: Allow users to change the number of EQ bands and their range (-30 to 30), with a drag-to-adjust interface similar to FL Studio's velocity editor - -[ ] SoundCloud support: Integrate SoundCloud through SoundCloak