项目作者: fr0tt

项目描述 :
ShortLib contains keyboard shortcuts for Windows, Mac and Linux.
高级语言: JavaScript
项目地址: git://github.com/fr0tt/ShortLib.git
创建时间: 2018-07-22T17:57:19Z
项目社区:https://github.com/fr0tt/ShortLib

开源协议:MIT License

下载




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)
  1. name: Super Cool Program
  2. image_src: icon.svg
  3. category: Developer
  4. description: Once upon a time ...
  5. developer: Super Cool Developer LLC
  6. website: 'https://github.com'
  7. source: 'https://google.com/'
  8. OS:
  9. - windows
  10. - mac
  11. - linux
  12. generate_linux: true
  13. time: 1970-12-25
  14. collection:
  15. A cool section name:
  16. -
  17. description: There should be something happening.
  18. windows:
  19. -
  20. - 'Ctrl'
  21. - 'F'
  22. mac:
  23. -
  24. - '⌘'
  25. - '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