Skip to content
/ ShortLib Public

ShortLib contains keyboard shortcuts for Windows, Mac and Linux.

License

Notifications You must be signed in to change notification settings

fr0tt/ShortLib

Repository files navigation

Shortlib Logo

ShortLib

ShortLib is an open source project sheltering keyboard shortcuts for Windows, Mac and Linux.

Website | Third Party Notices

Table of Contents

Contribute shortcuts for a new program

  • create a new folder in content (content/YOUR-FOLDER-NAME)
  • add an icon to your new folder (content/YOUR-FOLDER-NAME/icon.svg)
  • create an index.yaml file to your new folder (content/YOUR-FOLDER-NAME/index.yaml)
  • fill index.yaml accordingly with metadata (see below or have a look at existing programs)
Key Description (Example) value
name name of the application Super Cool Program
image_src relative path to the applications icon icon.svg
category type of application Developer
description a short summary about the application Once upon a time ...
developer name of the developer Super Cool Developer LLC
website (official) site of the application https://github.com
source links to used references https://github.com/fr0tt
OS operating systems of defined shortcuts (if generate_linux is set to true linux shortcuts can be served without beeing defined) windows and linux and mac
generate_linux show linux users windows shortcut if no linux shortcut was defined true or false
time creation time in ISO-8061 format (https://www.w3.org/QA/Tips/iso-date) 1970-12-25 or 1970-12-24T00:00:00.000Z
  • fill index.yaml accordingly with shortcuts (see below or have a look at existing programs)
name: Super Cool Program
image_src: icon.svg
category: Developer
description: Once upon a time ...
developer: Super Cool Developer LLC
website: 'https://github.com'
source: 'https://google.com/'
OS:
  - windows
  - mac
  - linux
generate_linux: true
time: 1970-12-25
collection: 
    A cool section name:
        - 
            description: There should be something happening.
            windows:
                - 
                    - 'Ctrl'
                    - 'F'
            mac:
                - 
                    - ''
                    - 'F'

To-Do

  • mobile "meant for"-design
  • Table of Content
  • anchor for sections
  • production and dev enviroment variable (e.g. for vue.min)
  • watch mode: show some sign of everything-is-ok after an error but only once
  • support json as content type
  • app.njk: only show host instead of full URL as a costum filter with https://nodejs.org/api/url.html#url_url_host