Skip to content

free Chrome/Opera extension; makes you productive in online text-related work

License

Notifications You must be signed in to change notification settings

lee-tts/ProKeys

 
 

Repository files navigation

prokeys logo

Developed by: Aquila Softworks (Gaurang Tandon and Varun Singh)
Latest version: 3.3.1 Status: active, stable build (last update 25/Jul/2018 IST)

ProKeys is a completely free, Google Chrome and Opera extension that lets you be productive in online text-related work with its number of features like:

[More info on all these in Help section inside the app]

  1. Snippets - define custom abbreviations, and retrieve the text associated with them simply by pressing the hotkey (default: Shift+Space). Example: "brb" can expand to "Be right back!"
  2. Placeholders - are fields in the snippet body that can be given dynamic values on using the snippet.
  3. Mathomania - do math without leaving your text editor, and without calculators. Example: "[[ 15% * 600 =]]" gives "90" and "[[ (5+6) * 15^2 =]]" gives "2475".
  4. Clipboard access - insert [[%p]] anywhere in your snippet body. It will automatically be substituted with the current clipboard data.
  5. Snippet embedding: you can embed one or more snippets inside another snippet, simply by doing [[%s(snip_name)]].
  6. Auto-Insert - Quotes ('"') and braces ('(', '[', '{') are auto-completed, and you can specify your custom insert-it-for-me also (like, inserting a '>' on typing of a '<') in the settings.
  7. Date/Time Macros - embed short symbols inside the parentheses of '[[%d()]]' inside a snippet body and it will auto replace the symbol with the current date and time related value. A sample snippet as well as a guide has been provided (in Help section inside the app). Date/Time Arithmetic - use the + or - sign to move forward or backward in time in date/time macros. Supports both relative as well as independent evaluation.
  8. Omnibox support - search through your snippets and use them right in the browser address bar!
  9. URL Macro - insert customizable parts of the current tab URL into the snippet.
  10. Variables - built-in variables holding dynamic values for "date", "time" and (browser) "version"
  11. Tab Key - The tab key can be made to insert 4 spaces, instead of it's default function, thus speeding up work.
  12. Context menu access - for blocking sites and inserting snippets.
  13. Sync/Local storage - Use whichever you prefer.

Libraries/Code sources

Except for the feather-weight open-source QuillJS rich text editor, I only utilized vanilla JS for super performance and less app size. Also Eric Meyer's CSS reset stylesheet - public domain - has been used with modifications.

Some icon images have been sourced from Font Awesome 5. The license is at this link. No changes (except scaling) were made to these images.

Technical details

Are shared on here in a long, three post series. In brief: this extension uses content scripts which are injected into every page and (what follows is for the snippet functionality only) every time the user presses the hotkey, a check is made for the preceding text, which if matches the name of any of the snippets, is substituted with the snippet body. A subsequent test for placeholders is made as well.

Contribute

First of all, thanks for your contribution! Every small bit of it counts! You can:

  1. Create a new issue for bugs, feature requests, and enhancements.
  2. Write a review (or anonymous feedback), or get support with some technical problems.
  3. Fork the repo, make changes, and submit a pull request, describing the changes made.
  4. Help me translate ProKeys to your native language.
  5. Share the word about ProKeys with people!
  6. Monetary donations are gratefully accepted at email [email protected] using PayPal

Contact us - [email protected] - to discuss anything related to the above if you want to.

About

free Chrome/Opera extension; makes you productive in online text-related work

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.4%
  • HTML 14.6%
  • CSS 10.0%