theodcr / startpage

🏁 Simple startpage in pure HTML/CSS, generated with Python and YAML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Startpage in pure HTML/CSS

A simple startpage with custom links arranged in categories. Supports tabs thanks to CSS3.

Background fades in on page load.

No Javascript, page is manually generated with the Python script.

Default background photo from Unsplash.

Dependencies

pyyaml

How to use

Create a folder for your new startpage with cp -r example/ mystartpage/.

Fill the file links.yaml with your links like this:

Category:
  - Name of website: https://website.url

Detail the layout you want in the file layout.yaml like this:

-  # first horizontal div
  -  # first vertical div
    - Category  # one category means no tabs
  -  # second vertical div
    - Tab Category 1: checked  # checked tab on page load
    - Tab Category 2
-  # second horizontal div

Name the background image background.jpg.

Execute the python script with python3 script.py mystartpage/. Startpage is generated in mystartpage/startpage.html.

About

🏁 Simple startpage in pure HTML/CSS, generated with Python and YAML

License:MIT License


Languages

Language:CSS 48.6%Language:Python 47.9%Language:HTML 3.5%