Skip to content
/ Tiles Public
forked from Boettner-eric/Tiles

A responsive design homepage with live search (replaces Homepage)

License

Notifications You must be signed in to change notification settings

kishlaya/Tiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiles

A keyboard centric, feature rich, responsive design homepage!

GitHub Issues Contributions welcome Github last commit Website

Switch theme

Benefits over Homepage

  • Entire js rewrite
  • Clearer data structure with one static index.html file
  • Support for preloading icons
  • Major bug fixes and stability improvements
  • Clearer code and documentation -> much easier customization
  • Lib.js allows for easy addition and deletion of tiles and themes
  • Live search and external searches
  • Cool new themes
  • Better mobile support
  • Live search and definitions

Dictionary Tile

Setup

  • Add any custom tiles to lib.js
  • Add your api key to the var "api" for open weather and news updates

Api news

Features

  • Keyboard navigation and shortcuts
  • Full mobile support
  • Simple and clear data structure for customization
  • Dynamic approach towards page generation
  • Multiple themes and easy support for adding new ones
  • Live "tile" search as well as external api search
  • External api support for tiles (in progress)

Keyboard Shortcuts

Function Key Description
up k / up up one tile
down j / down down one tile
left h / left left one tile
right l / right right one tile
hop 1...0, -, + hop to any tile #
search [space] starts live search
api search / searches external sources
themes \ opens theme menu
enter [enter] go to tile / exit search
esc [esc] close search, return to homepage

Mobile Support

  • Fixed css breakpoints and general layout improvements
  • Full featured w/o different file base

Iphone screenshot

Data structure

Tile syntax

There are 3 types of tile that all use similar syntax:

  1. Tiles represent static webpages. ["url","icn","title","subtitle"]
  2. Folders represent a key for a array of tiles. ["#key-name","icn","title","subtitle"]
  3. Themes repersent tiles for a given theme name ["$theme-name","icn","title",["background","main color","alt color","main text","subtext"]]
  4. Themes can also have background images ["$theme-name","icn","title",["image_url","main color","alt color","main text","subtext"]]
  5. References represent simple tiles for duplicate entries ["~Title"] for a given tile in pages["~"]
Example
  tile = ["https://github.com","gh","Github","Code"]
  folder = ["#","mt","Code","~/hack.sh"]
  theme = ["$","ds","Discord","Purple, Black, Grey",['#23272A','#2C2F33','#7289DA','#7289DA','#99AAB5']]
  wallpaper = ["$","pnr","Starry Night","Blue Green Yellow",["src/wall/starry.jpg","#007849","#FECE00","#FFFFFF","#FFFFFF"]]
  reference = ["~Github"]

Both themes and tiles are stored in lib.js -> look there for more info and examples

Icons8

Icons taken from Icons 8 Todoist theme

Themes

Gogh theme

Theme Bg Main Comp Sub Txt Credit
Skeletor S1 S2 S3 S4 S5 Syntax
Switch W1 W2 W3 W4 W5 Switch
Gogh G1 G2 G3 G4 G5 Gogh
Todoist T1 T2 T3 T4 T5 Todoist Dark
Discord D1 D2 D3 D4 D5 Discord
Terminal E1 E2 E3 E4 E5 None
Lava L1 L2 L3 L4 L5 None
Purple P1 P2 P3 P4 P5 None
(table generated with help from placehold.it)
See code for detailed documentation for each function

Credits

  1. Icons from icons8
  2. Theme colors from sources listed in table
  3. Original code from my other repo which started as Decaux which has been abandoned and deleted
  4. Snippets referenced from exterior sources

About

A responsive design homepage with live search (replaces Homepage)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.6%
  • CSS 9.5%
  • HTML 2.9%