homepage/README.md

112 lines
4.3 KiB
Markdown
Raw Normal View History

2022-08-25 03:36:08 +03:00
![Homepage Preview](/images/preview.png)
2022-08-27 02:36:47 +03:00
[![Docker](https://github.com/benphelps/homepage/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/benphelps/homepage/actions/workflows/docker-publish.yml)
2022-09-08 12:52:28 +03:00
[![Weblate](https://hosted.weblate.org/widgets/homepage/-/homepage/svg-badge.svg)](https://hosted.weblate.org/engage/homepage/)
2022-08-25 11:17:41 +03:00
## Features
2022-09-09 07:10:39 +03:00
* Fast! The entire site is statically generated at build time, so you can expect instant load times.
2022-09-11 11:33:36 +03:00
* Images built for AMD64 (x86_64), ARM64, ARMv7 and ARMv6 ([schklom](https://github.com/benphelps/homepage/pull/3) and [modem7](https://github.com/benphelps/homepage/pull/62))
2022-09-11 11:35:00 +03:00
- Supports all Raspberry Pi's, most SBCs & Apple Silicon
2022-09-08 12:52:28 +03:00
* Full i18n support with automatic language detection.
2022-09-11 17:24:12 +03:00
- Human translations for English, Norwegian Bokmål ([comradekingu](https://github.com/benphelps/homepage/commits?author=comradekingu)), Spanish ([AmadeusGraves](https://github.com/benphelps/homepage/commits?author=AmadeusGraves)), French (J. Lavoie), Dutch ([deffcolony](https://github.com/benphelps/homepage/commits?author=deffcolony)), Chinese ([nicedc](https://github.com/nicedc)) and Russian ([desolaris](https://github.com/benphelps/homepage/commits?author=desolaris)).
- Machine translations for Portuguese and German.
2022-09-09 07:10:39 +03:00
- Want to help translate? [Join the Weblate project](https://hosted.weblate.org/engage/homepage/).
* Service & Web Bookmarks
* Docker Integration
2022-09-11 11:33:36 +03:00
- Container status (Running / Stopped) & statistics (CPU, Memory, Network)
- Automatic service discovery (via labels)
2022-09-09 07:10:39 +03:00
* Service Integration
2022-09-11 17:24:33 +03:00
- Currently supports Sonarr, Radarr, Ombi, Emby, Jellyfin, Tautulli (Plex), Overseerr, Jellyseerr ([ilusi0n](https://github.com/benphelps/homepage/pull/34)), NZBGet, ruTorrent
2022-09-09 07:10:39 +03:00
- Portainer, Traefik, Speedtest Tracker, PiHole, Nginx Proxy Manager ([aidenpwnz](https://github.com/benphelps/homepage/pull/45))
2022-09-11 19:49:18 -07:00
- Readarr, SABnzbd ([JazzFisch]())
2022-09-09 07:10:39 +03:00
* Information & Utility Widgets
2022-08-25 11:17:41 +03:00
- System Stats (Disk, CPU, Memory)
- Weather via WeatherAPI.com or OpenWeatherMap ([AlexFullmoon](https://github.com/benphelps/homepage/pull/25))
2022-09-09 13:07:20 +03:00
- Automatic location detection (with HTTPS), or manual location selection
- Search Bar ([aidenpwnz](https://github.com/benphelps/homepage/pull/45))
2022-08-25 11:17:41 +03:00
* Customizable
- 21 theme colors with light and dark mode support
2022-09-09 07:10:39 +03:00
- Background image support
2022-08-25 11:17:41 +03:00
2022-08-27 02:36:47 +03:00
## Support & Suggestions
If you have any questions, suggestions, or general issues, please start a discussion on the [Discussions](https://github.com/benphelps/homepage/discussions) page.
If you have a more specific issue, please open an issue on the [Issues](https://github.com/benphelps/homepage/issues) page.
2022-08-14 12:02:58 +03:00
## Getting Started
2022-08-27 20:18:19 +03:00
For configuration options, examples and more, [please check out the Wiki](https://github.com/benphelps/homepage/wiki).
2022-08-25 14:19:21 +03:00
### With Docker
2022-08-24 11:02:51 +03:00
Using docker compose:
```yaml
version: '3.3'
services:
homepage:
2022-08-28 00:53:23 +03:00
image: ghcr.io/benphelps/homepage:latest
2022-08-24 11:02:51 +03:00
container_name: homepage
ports:
- 3000:3000
volumes:
- /path/to/config:/app/config
2022-08-27 02:38:02 +03:00
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
2022-08-24 11:02:51 +03:00
```
or docker run:
```bash
2022-08-28 00:53:23 +03:00
docker run -p 3000:3000 -v /path/to/config:/app/config -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/benphelps/homepage:latest
2022-08-24 11:02:51 +03:00
```
2022-08-25 14:19:21 +03:00
### With Node
First, clone the repository:
```bash
git clone https://github.com/benphelps/homepage.git
```
Then install dependencies and build the production bundle (I'm using pnpm here, you can use npm or yarn if you like):
```bash
pnpm install
pnpm build
```
Finally, run the server:
```bash
pnpm start
```
2022-08-24 11:02:51 +03:00
## Configuration
Configuration files will be genereted and placed on the first request.
Configuration is done in the /config directory using .yaml files. Refer to each config for
the specific configuration options.
You may also check [the wiki](https://github.com/benphelps/homepage/wiki) for detailed configuration instructions, examples and more.
2022-08-24 11:02:51 +03:00
## Development
2022-08-24 10:44:35 +03:00
Install NPM packages, this project uses [pnpm](https://pnpm.io/) (and so should you!):
2022-08-14 12:02:58 +03:00
```bash
2022-08-24 10:44:35 +03:00
pnpm install
2022-08-14 12:02:58 +03:00
```
2022-08-24 10:44:35 +03:00
Start the development server:
2022-08-14 12:02:58 +03:00
2022-08-24 10:44:35 +03:00
```bash
pnpm dev
```
2022-08-14 12:02:58 +03:00
2022-08-24 10:44:35 +03:00
Open [http://localhost:3000](http://localhost:3000) to start.
2022-08-25 14:19:21 +03:00
This is a [Next.js](https://nextjs.org/) application, see their doucmentation for more information: