Code Monkey home page Code Monkey logo

startpage's Introduction

startpage

A customizable start page for your browser.

Built using Eleventy.

Usage Instructions

  1. Clone this repository to your local machine
  2. cd into the cloned folder
  3. Run npm install
  4. npm run serve to get a local development server @ localhost:8080

When you're satisfied, use npm run build to build your start page into ./public/index.html. This file can then be set as start page and/or custom "New Tab" page in your browser (see: New Tab Changer (Chromium) or New Tab Override (Firefox) for example).

Customize Categories

Categories (cards; grid items) are defined in ./src/_data/categories.json; their name property is used to categorize your links = display them in the corresponding section.

Note: The order your categories are defined in also sets the order in which they are displayed.

Add Your Links

Links can be edited in ./src/_data/links.json. They are defined as follows:

{
  "category": "CategoryName",
  "name": "LinkName",
  "url": "LinkURL"
}

The category key should correspond to one of the categories defined in your categories.json - links with wrong or missing category values will be ignored.

The order you define links in does not matter; links will also be sorted alphabetically by default.

If this A-Z sorting is not desired, simply change your ./src/index.njk file from this:

{% for item in links | sort(attribute = 'name') %}

To this:

{% for item in links %}

Links will then follow the order they've been added in, based on your links.json file.

Customize Styling

All CSS can be found in ./src/_includes/css.njk and will be inlined into the generated index.html.

Feedback

Please use GitHub discussions for that, thanks!

startpage's People

Contributors

ttntm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

daf1k

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.