You are not logged in.

#1 2013-05-13 18:34:49

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

homepage.py - simple homepage generator

I've been asked several times about my start page, so here it is... wink

homepage.py is a simple homepage generator.

2013_05_13_202140_1024x600_scrot.jpg

Links:

Configuration:

  • Recent homepage.py version has support for configuration file (at ~/.config/homepage/homepage.conf).
    You can use this as a template:

    import os
    
    output_dir = os.environ['HOME']
    title = 'Speed Dial'
    font = ('Monospace', '12pt')
    separator = '>'
    colors = (
        '#020202',  # background
        '#999999',  # links
        '#B3B3B3',  # group title
        '#4C4C4C',  # separator
    )
    links = {
        'search': [
            ['google', 'https://www.google.com/'],
            ['duckduckgo', 'http://duckduckgo.com/'],
            ['startpage', 'https://startpage.com/'],
        ],
        'media': [
            ['youtube', 'http://www.youtube.com/'],
        ],
        'foo': [
            ['wikipedia', 'http://en.wikipedia.org/wiki/Main_Page'],
            ['wallbase', 'http://wallbase.cc/home'],
        ],
    }
  • Run

    $ homepage.py

    and then you can set the generated page as a home page in your browser.

For more details, see man homepage.py

If you have any feature requests do let me know smile

Last edited by OK100 (2013-05-14 10:13:18)

Offline

#2 2013-07-03 10:18:06

spupy
Member
Registered: 2009-08-12
Posts: 218

Re: homepage.py - simple homepage generator

Looks very nice, however, the entries on the page are not ordered the same way as in the config file.


There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.

Offline

#3 2013-07-04 16:40:49

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: homepage.py - simple homepage generator

spupy wrote:

Looks very nice, however, the entries on the page are not ordered the same way as in the config file.

Currently, the groups and entries are always sorted alphabetically. It would be easy to make it optional. I don't have time to do it right now, though.

Offline

#4 2013-07-05 09:51:33

spupy
Member
Registered: 2009-08-12
Posts: 218

Re: homepage.py - simple homepage generator

OK100 wrote:
spupy wrote:

Looks very nice, however, the entries on the page are not ordered the same way as in the config file.

Currently, the groups and entries are always sorted alphabetically. It would be easy to make it optional. I don't have time to do it right now, though.

Ah, I see. I will look at the code myself when I have time. I already started using it and really like it.


There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.

Offline

Board footer

Powered by FluxBB