starttree.sh/README.md

62 lines
1.6 KiB
Markdown
Raw Normal View History

2023-08-31 09:24:24 +02:00
# ./startpage.sh
A simple configurable tree style startpage in HTML and CSS with interchangeable and customisable themes.
2022-10-16 14:39:11 +00:00
![Preview](preview.png)
## Installation
### Chrome / Chromium
1. Clone git Repo
2. Go to Extensions
3. Toggle Developer mode on
4. Click on Load Unpacked
5. Select the directory you cloned the git repo
### Firefox
1. Clone git Repo
2. Find instructions on how to install further [here](https://stpg.tk/guides/firefox-startpage/#the-normal-way).
### Safari
1. Clone git Repo
2. Find instructions on how to install further [here](https://support.apple.com/de-de/guide/safari/ibrw1020/mac).
## Configuration
2023-08-31 09:24:24 +02:00
### General
Configure your starttree in the `config.yml` file like so:
```yaml
- theme: "black"
- clock: true
- username: "root"
- hostname: "startpage"
- num_trees: 3
- trees:
- title: "General"
- items:
- gmail: "https://mail.google.com"
- github: "https://github.com"
- title: "Entertainment"
- items:
- youtube: "https://www.youtube.com/"
- reddit: "https://reddit.com/"
- title: "Work"
- items:
- git: "https://git.work.org"
- homepage: "https://www.work.org"
- search: true
- search_name: "brave"
- search_url: "https://search.brave.com/search"
- search_query: "q"
2022-10-16 14:39:11 +00:00
```
2023-08-31 09:24:24 +02:00
You can find all themes in the `themes/` directory.
2022-10-16 14:39:11 +00:00
2023-08-31 09:24:24 +02:00
### Search
To configure your search, search for something in your favorite search engine. The URL will look something like this:
2022-10-16 14:39:11 +00:00
2023-08-31 09:24:24 +02:00
`https://www.startpage.com/sp/search?query=something`
2022-10-16 14:39:11 +00:00
2023-08-31 09:24:24 +02:00
In this case the `search_url` would be `https://www.startpage.com/sp/search` and the `search_query` would be `query`.
2022-10-16 14:39:11 +00:00