Files
Homarr/README.md

211 lines
7.3 KiB
Markdown
Raw Normal View History

2022-05-13 17:31:51 +02:00
<h3 align="center">Homarr</h3>
2022-05-16 01:30:35 +02:00
<br>
<p align="center">
2022-05-23 21:49:03 +02:00
<i>Don't forget to star the repo if you enjoy the Homarr project!</i>
<br>
<img src="https://img.shields.io/github/stars/ajnart/homarr?label=%E2%AD%90%20Stars&style=flat-square?branch=master&kill_cache=1%22">
<a href="https://github.com/ajnart/homarr/actions/workflows/docker.yml">
<img title="Docker CI Status" src="https://github.com/ajnart/homarr/actions/workflows/docker.yml/badge.svg" alt="CI Status"></a>
<a href="https://github.com/ajnart/homarr/releases/latest">
<img alt="GitHub release (latest SemVer)" src="https://img.shields.io/github/v/release/ajnart/homarr"></a>
<a href="https://github.com/ajnart/homarr/pkgs/container/homarr">
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/ajnart/homarr?label=Downloads%20"></a>
</p>
2022-05-13 17:29:03 +02:00
<p align="center">
2022-05-23 18:30:11 +02:00
<img align="end" width=600 src="https://user-images.githubusercontent.com/71191962/169860380-856634fb-4f41-47cb-ba54-6a9e7b3b9c81.gif" />
2022-05-13 17:29:03 +02:00
</p>
2022-05-11 15:10:05 +02:00
<p align = "center">
A homepage for <i>your</i> server.
<br/>
2022-05-15 22:45:55 +02:00
<a href = "https://homarr.netlify.app/" > <strong> Demo ↗️ </strong> </a> • <a href = "#-installation" > <strong> Install ➡️ </strong> </a>
2022-05-12 13:07:47 +02:00
<br />
<br />
<i>Join the discord!</i>
<br />
<a href = "https://discord.gg/aCsmEV5RgA" > <img title="Discord" src="https://discordapp.com/api/guilds/972958686051962910/widget.png?style=shield" > </a>
<br/>
2022-05-23 21:49:03 +02:00
<br/>
2022-05-11 15:10:05 +02:00
</p>
2022-05-13 17:29:03 +02:00
2022-05-11 15:10:05 +02:00
# 📃 Table of Contents
- [📃 Table of Contents](#-table-of-contents)
- [🚀 Getting Started](#-getting-started)
- [ About](#-about)
- [💥 Known Issues](#-known-issues)
2022-05-11 15:10:05 +02:00
- [⚡ Installation](#-installation)
2022-05-16 01:30:35 +02:00
- [🐳 Deploying from Docker Image](#-deploying-from-docker-image)
- [🛠️ Building from Source](#%EF%B8%8F-building-from-source)
2022-05-23 18:30:11 +02:00
- [📖 Guides](#-guides)
- [🔁 Drag and Drop (Rearrange)](#-drag-and-drop-rearrange)
2022-05-16 01:30:35 +02:00
- [🔧 Configuration](#-configuration)
- [🧩 Integrations](#--integrations)
- [🧑‍🤝‍🧑 Multiple Configs](#-multiple-configs)
- [🐻 Icons](#-icons)
- [📊 Modules](#-modules)
- [🔍 Search Bar](#-search-bar)
2022-05-12 13:07:47 +02:00
- [💖 Contributing](#-contributing)
2022-05-18 16:55:48 +02:00
- [🍏 Request Icons](#-request-icons)
2022-05-11 15:10:05 +02:00
2022-05-16 01:30:35 +02:00
2022-05-11 15:10:05 +02:00
<!-- Getting Started -->
# 🚀 Getting Started
## About
Homarr is a simple and lightweight homepage for your server, that helps you easily access all of your services in one place.
2022-05-12 14:10:40 +02:00
**[⤴️ Back to Top](#-table-of-contents)**
2022-05-11 15:10:05 +02:00
2022-05-16 16:58:20 +02:00
## 💥 Known Issues
- Posters on the Calendar get blocked by adblockers. (IMDb posters)
**[⤴️ Back to Top](#-table-of-contents)**
2022-05-11 15:10:05 +02:00
## ⚡ Installation
2022-05-16 01:30:35 +02:00
### 🐳 Deploying from Docker Image
2022-05-11 15:10:05 +02:00
> Supported architectures: x86-64, ARM, ARM64
_Requirements_:
- [Docker](https://docs.docker.com/get-docker/)
**Standard Docker Install**
```sh
docker run --name homarr -p 7575:7575 -v /data/docker/homarr:/app/data/configs -d ghcr.io/ajnart/homarr:latest
2022-05-11 15:10:05 +02:00
```
**Docker Compose**
```yml
---
version: '3'
#--------------------------------------------------------------------------------------------#
# Homarr - A homepage for your server. #
#--------------------------------------------------------------------------------------------#
2022-05-08 22:10:19 +02:00
services:
2022-05-12 14:24:15 +02:00
homarr:
2022-05-11 15:10:05 +02:00
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
2022-05-11 15:10:05 +02:00
restart: unless-stopped
volumes:
- /data/docker/homarr:/app/data/configs
2022-05-08 22:10:19 +02:00
ports:
2022-05-13 04:10:09 +02:00
- '7575:7575'
2022-05-08 22:10:19 +02:00
```
2022-05-11 15:10:05 +02:00
***Getting EACCESS errors in the logs? Try running `sudo chmod 775 /directory-you-mounted-to`!***
2022-05-16 01:30:35 +02:00
### 🛠️ Building from Source
2022-05-11 15:10:05 +02:00
_Requirements_:
- [Git](https://git-scm.com/downloads)
- [NodeJS](https://nodejs.org/en/) _(Latest or LTS)_
- [Yarn](https://yarnpkg.com/)
**Installing**
2022-05-12 13:07:47 +02:00
- Clone the GitHub repo: `git clone https://github.com/ajnart/homarr.git` & `cd homarr`
2022-05-11 15:10:05 +02:00
- Install all dependencies: `yarn install`
2022-05-13 10:37:36 +02:00
- Build the source: `yarn build`
- Start the NextJS web server: ``yarn start``
- *Note: If you want to update the code in real time, launch with ``yarn dev``*
2022-05-12 13:07:47 +02:00
2022-05-23 18:30:11 +02:00
## 📖 Guides
### 🔁 Drag and Drop (Rearrange)
You can rearrange items by Drag and Dropping them to any position. To Drag an Drop, click and hold an icon for 250ms and then drag it to the desired position.
2022-05-16 01:30:35 +02:00
## 🔧 Configuration
### 🧩 Integrations
Homarr natively integrates with your services. Here is a list of all supported services.
**Emby**
2022-05-16 15:43:58 +02:00
*The Emby integration is still in development.*
2022-05-16 01:30:35 +02:00
**Lidarr**
2022-05-16 15:43:58 +02:00
*The Lidarr integration is still in development.*
**Sonarr**
2022-05-16 16:17:41 +02:00
*Sonarr needs an API key.*<br>
Make a new API key in `Advanced > Security > Create new API key`<br>
**Current integration:** Upcoming media is displayed in the **Calendar** module.
2022-05-16 01:30:35 +02:00
**Plex**
2022-05-16 15:43:58 +02:00
*The Plex integration is still in development.*
2022-05-16 01:30:35 +02:00
**Radarr**
2022-05-16 16:17:41 +02:00
*Radarr needs an API key.*<br>
Make a new API key in `Advanced > Security > Create new API key`<br>
**Current integration:** Upcoming media is displayed in the **Calendar** module.
2022-05-16 01:30:35 +02:00
**qBittorent**
2022-05-16 15:43:58 +02:00
*The qBittorent integration is still in development.*
2022-05-16 01:30:35 +02:00
**[⤴️ Back to Top](#-table-of-contents)**
### 🧑‍🤝‍🧑 Multiple Configs
Homarr allows the usage of multiple configs. You can add a new config in two ways.
**Drag-and-Drop**
1. Download your config from the Homarr settings.
2. Change the name of the `.json` file and the name in the `.json` file to any name you want *(just make sure it's different)*.
3. Drag-and-Drop the file into the Homarr tab in your browser.
4. Change the config in settings.
**Using a filebrowser**
1. Locate your mounted `default.json` file.
2. Duplicate your `default.json` file.
3. Change the name of the `.json` file and the name in the `.json` file to any name you want *(just make sure it's different)*.
4. Refresh the Homarr tab in your browser.
5. Change the config in settings.
**[⤴️ Back to Top](#-table-of-contents)**
### 🐻 Icons
The icons used in Homarr are automatically requested from the [dashboard-icons](https://github.com/walkxhub/dashboard-icons) repo.
Icons are requested in the following way: <br>
`Grab name > Replace ' ' with '-' > .toLower() > https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/{name}.png`
**[⤴️ Back to Top](#-table-of-contents)**
### 📊 Modules
Modules are blocks shown on the sides of the Homarr dashboard that display information. They can be enabled in settings.
**Clock Module**
2022-05-18 16:58:06 +02:00
The Clock Module will display your current time and date.
2022-05-16 01:30:35 +02:00
**Calendar Module**
2022-05-18 16:58:06 +02:00
The Calendar Module uses [integrations](#--integrations-1) to display new content.
**Weather Module**
The Weather Module uses your devices location to display the current, highest, and lowest temperature.
2022-05-16 01:30:35 +02:00
**[⤴️ Back to Top](#-table-of-contents)**
### 🔍 Search Bar
The Search Bar will open any Search Query after the Query URL you've specified in settings.
*(Eg. `https://www.google.com/search?q=*Your Query will be inserted here*`)*
**[⤴️ Back to Top](#-table-of-contents)**
2022-05-12 13:07:47 +02:00
# 💖 Contributing
**Please read our [Contribution Guidelines](/CONTRIBUTING.md)**
2022-05-12 13:50:14 +02:00
All contributions are highly appreciated.
2022-05-18 16:55:48 +02:00
**[⤴️ Back to Top](#-table-of-contents)**
## 🍏 Request Icons
The icons used in Homarr are automatically requested from the [dashboard-icons](https://github.com/walkxhub/dashboard-icons) repo. You can make a icon request by creating an [issue](https://github.com/walkxhub/dashboard-icons/issues/new/choose).
2022-05-12 14:10:40 +02:00
**[⤴️ Back to Top](#-table-of-contents)**