dotwee/startpage

By dotwee

Updated about 2 years ago

a very ugly, distrating and irritating startpage for your local web surfer

Image

686

startpage

GitHub LicenseBuild Status

a very ugly, distracting* and irritating startpage for your web surfer**

* bad enough to procrastinate as soon as possible
** your web surfer on all platforms, it's responsive!

deadly_screenshot.png

anecdote: made within a few hour to annoy some people. i'll probably never touch this code again.

recruters: please don't look

setup

  1. install a full ruby development environment

  2. install jekyll and bundlergems:

    $ gem install jekyll bundler
    
  3. clone git repository and change into repo directory:

    $ git clone https://github.com/dotWee/startpage.git startpage && cd startpage
    

usage

run site locally using jekyll
  1. install required dependencies:

    $ bundle install
    
  2. build the site and make it available on a local server:

    $ bundle exec jekyll serve
    
  3. now browse to localhost:4000

run site using docker

either by pulling a prebuilt docker image:

$ docker run --rm \
    -p 80:80 \
    -it dotwee/startpage

or using the locally cloned source code:

$ docker run --rm \
    -p 4000:4000 \
    --volume="$PWD:/srv/jekyll" \
    -it jekyll/jekyll:latest \
    jekyll serve --force_polling --livereload

alternatively using docker-compose:

note: see ./docker-compose.yml for reference

version: '3.7'
services:
  startpage:
    image: jekyll/jekyll:latest
    command: jekyll serve --watch --force_polling
    volumes:
      - $PWD:/srv/jekyll
    ports:
      - 4000:4000
$ docker-compose up -d
update ruby gems dependencies
$ bundle update
cleanup binaries
$ bundle exec jekyll clean

customize

set your own categories with links by changing the categories.json inside the _data-folder.

just make sure it follows this scheme:

[
    {
        "name": "social",
        "links": [
            ["twitter", "https://www.twitter"],
            ["xing", "https://www.xing.com"],
            ["linkedin", "https://www.linkedin.com"]
        ]
    },
    {
        "name": "docs",
        "links": [
            ["swift", "http://swift.org"],
            ["stackoverflow", "https://stackoverflow.com"],
            ["devdocs", "https://devdocs.io"],
            ["stackexchange", "https://stackexchange.com"]
        ]
    }
]

license

copyright (c) 2019 lukas 'dotwee' wolfsteiner lukas@wolfsteiner.media

licensed under the do what the fuck you want to public license

Docker Pull Command

docker pull dotwee/startpage