๐Ÿ“ฆ navidrome / website

Navidrome's documentation website

โ˜… 32 stars โ‘‚ 139 forks ๐Ÿ‘ 32 watching โš–๏ธ Apache License 2.0
docsdocsyhugo
๐Ÿ“ฅ Clone https://github.com/navidrome/website.git
HTTPS git clone https://github.com/navidrome/website.git
SSH git clone git@github.com:navidrome/website.git
CLI gh repo clone navidrome/website
Sam Sam Update repo URL for Nautiline (#266) dc77aa5 7 days ago ๐Ÿ“ History
๐Ÿ“‚ dc77aa5fb0d290d9eef8e52dd28245bd833da6fa View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ assets
๐Ÿ“ content
๐Ÿ“ layouts
๐Ÿ“ openspec
๐Ÿ“ static
๐Ÿ“ themes
๐Ÿ“„ .gitignore
๐Ÿ“„ .gitmodules
๐Ÿ“„ .nvmrc
๐Ÿ“„ .prettierignore
๐Ÿ“„ AGENTS.md
๐Ÿ“„ fetch-charts.sh
๐Ÿ“„ go.mod
๐Ÿ“„ go.sum
๐Ÿ“„ hugo.yaml
๐Ÿ“„ LICENSE
๐Ÿ“„ netlify.toml
๐Ÿ“„ package-lock.json
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ sync-images.sh
๐Ÿ“„ README.md

Navidrome Website

Netlify Status

Running in a container locally

You can run this project inside a Docker container. The container runs with a volume bound to the project's source folder. This approach doesn't require you to install any dependencies other than Docker Desktop on Windows and Mac, and Docker Compose on Linux.

  • Build the docker image
docker compose build

  • Run the built image
docker compose up

> NOTE: You can run both commands at once with docker compose up --build.

  • Verify that the service is working.
Open your web browser and type http://localhost:1313 in your navigation bar. This opens a local instance of the project's homepage. You can now make changes to the source code, and those changes will immediately show up in your browser after you save.

Cleanup

To stop Docker Compose, on your terminal window, press Ctrl + C.

To remove the produced images, run:

docker compose rm
For more information, see the Docker Compose documentation.

Setting up local environment

  • Install dependencies:
  • Hugo (0.107.0 or newer)

Linux

Debian-based distributions (e.g., Ubuntu)

# Install Go
sudo apt update
sudo apt install golang-go

# Install Hugo
sudo apt install hugo

# Install Node.js
sudo apt install nodejs npm

Arch Linux

# Install Go
sudo pacman -S go

# Install Hugo
sudo pacman -S hugo

# Install Node.js
sudo pacman -S nodejs npm

macOS

# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install Go
brew install go

# Install Hugo (extended version)
brew install hugo

# Install Node.js
brew install node

Windows

# Install Chocolatey (if not already installed)
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

# Install Go
choco install golang

# Install Hugo (extended version)
choco install hugo-extended

# Install Node.js
choco install nodejs

  • Clone this repository:
git clone https://github.com/navidrome/website
cd website

  • If you want to do SCSS edits and want to publish these, you need to install PostCSS:
npm install

NOTE: For Windows users, be sure to install the extended edition of Hugo via choco install hugo-extended.

Running the website locally

Building and running the site locally requires a recent extended version of Hugo. You can find out more about how to install Hugo for your environment in our Getting started guide.

Once you've made your working copy of the site repo, from the repo root folder, run:

hugo server

This will start Hugo and serve the site at http://localhost:1313.

Credits

Photos from Unsplash by: