]> git.immae.eu Git - github/bastienwirtz/homer.git/blob - README.md
Merge pull request #94 from bastienwirtz/avoid-file-volume
[github/bastienwirtz/homer.git] / README.md
1 # Homer
2 [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
3 [![Contribution Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
4 [![Gitter](https://badges.gitter.im/homer-dashboard/community.svg)](https://gitter.im/homer-dashboard/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
5 [![Dowload](https://img.shields.io/badge/Dowload-homer.zip-orange)](https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip)
6 [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted)
7
8 A dead simple static **HOM**epage for your serv**ER** to keep your s
9 ervices on hand, from a simple `yaml` configuration file.
10
11 ## [Live demo](https://homer-demo.netlify.app) • [Chat](https://gitter.im/homer-dashboard/community)
12 ![screenshot](https://raw.github.com/bastienwirtz/homer/master/screenshot.png)
13
14 ## Table of Contents
15 - [Features](#features)
16 - [Getting started](#getting-started)
17 - [Configuration](docs/configuration.md)
18 - [Tips & tricks](docs/tips-and-tricks.md)
19 - [Roadmap](#roadmap)
20 - [Developement](docs/developement.md)
21
22
23 ## Features
24 - [yaml](http://yaml.org/) file configuration
25 - Installable (pwa)
26 - Search
27 - Grouping
28 - Theme customization
29 - Offline heathcheck
30 - keyboard shortcuts:
31 - `/` Start searching.
32 - `Escape` Stop searching.
33 - `Enter` Open the first matching result (respects the bookmark's `_target` property).
34 - `Alt`/`Option` + `Enter` Open the first matching result in a new tab.
35
36
37 ## Getting started
38
39 Homer is a full static html/js dashboard, generated from the source in `/src` using webpack. It's meant to be served by an HTTP server, **it will not work if you open dist/index.html directly over file:// protocol**.
40
41 See [documentation](docs/configuration.md) for information about the configuration (`assets/config.yml`) options.
42
43 ### Using docker
44
45 ```sh
46 docker run -p 8080:8080 -v /your/local/assets/:/www/assets b4bz/homer:latest
47 ```
48
49 Default assets will be automatically installed in the `/www/assets` directory. Use `UID` and/or `GID` env var to change the assets owner (`docker run -e "UID=1000" -e "GID=1000" [...]`).
50
51 ### Using the release tarball (prebuilt, ready to use)
52
53 Download and extract the latest the latest release (`homer.zip`) from the [release page](https://github.com/bastienwirtz/homer/releases), rename the `assets/config.yml.dist` file to `assets/config.yml`, and put it behind a webserver.
54
55 ```sh
56 wget https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip
57 unzip homer.zip
58 cd homer
59 cp assets/config.yml.dist assets/config.yml
60 npx serve # or python -m http.server 8010 or apache, nginx ...
61 ```
62
63 ### Build manually
64
65 ```sh
66 # Using yarn (recommended)
67 yarn install
68 yarn build
69
70 # **OR** Using npm
71 npm install
72 npm run build
73 ```
74
75 Then your dashboard is ready to use in the `/dist` directory.
76
77
78 ## Roadmap
79
80 - [ ] Add new themes.
81 - [ ] Add support for custom service card (add custom feature to some service / app link)