]> git.immae.eu Git - github/bastienwirtz/homer.git/blob - README.md
Fix Github action trigger syntax
[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 For more information about the `config.yml` file see [configuration](docs/configuration.md) the section.
42
43 ### Using docker
44
45 ```sh
46 docker run -p 8080:8080 -v /your/local/config.yml:/www/config.yml -v /your/local/assets/:/www/assets b4bz/homer:latest
47 ```
48
49 As a bind mount is used here, docker will not copy the initial content of the `assets` directory to the mounted directory.
50 You can initialise your assets directory with the content provided in this repository
51 ```sh
52 cp -r /public/assets/* /your/local/assets/
53 ```
54
55 **Alternatively** if you just want to provide images/icons without customizing the other files (app manifest & pwa icons), you can mount a custom directory in the `www` directory and use it in your `config.yml` for icons path.
56
57 ### Using the release tarball (prebuilt, ready to use)
58
59 Download and extract the latest the latest release (`homer.zip`) from the [release page](https://github.com/bastienwirtz/homer/releases), rename the `config.yml.dist` file to `config.yml`, and put it behind a webserver.
60
61 ```sh
62 wget https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip
63 unzip homer.zip
64 cd homer
65 cp config.yml.dist config.yml
66 npx serve # or python -m http.server 8010 or apache, nginx ...
67 ```
68
69 ### Build manually
70
71 ```sh
72 # Using yarn (recommended)
73 yarn install
74 yarn build
75
76 # **OR** Using npm
77 npm install
78 npm run build
79 ```
80
81 Then your dashboard is ready to use in the `/dist` directory.
82
83
84 ## Roadmap
85
86 - [ ] Add new themes.
87 - [ ] Add support for custom service card (add custom feature to some service / app link)